Home
last modified time | relevance | path

Searched refs:mLeftBorderActive (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java28 private boolean mLeftBorderActive; field in AppWidgetResizeFrame
149 mLeftBorderActive = (x < mTouchTargetWidth) && horizontalActive; in beginResizeIfPointInRegion()
155 boolean anyBordersActive = mLeftBorderActive || mRightBorderActive in beginResizeIfPointInRegion()
164 mLeftHandle.setAlpha(mLeftBorderActive ? 1.0f : DIMMED_HANDLE_ALPHA); in beginResizeIfPointInRegion()
177 if (mLeftBorderActive) { in updateDeltas()
205 if (mLeftBorderActive) { in visualizeResizeForDelta()
266 if (mLeftBorderActive) { in resizeWidgetIfNeeded()
296 if (mLeftBorderActive || mRightBorderActive) { in resizeWidgetIfNeeded()
300 mDirectionVector[0] = mLeftBorderActive ? -1 : 1; in resizeWidgetIfNeeded()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java69 private boolean mLeftBorderActive; field in AppWidgetResizeFrame
159 mLeftBorderActive = (x < mTouchTargetWidth) && horizontalActive; in beginResizeIfPointInRegion()
165 boolean anyBordersActive = mLeftBorderActive || mRightBorderActive in beginResizeIfPointInRegion()
169 mDragHandles[INDEX_LEFT].setAlpha(mLeftBorderActive ? 1.0f : DIMMED_HANDLE_ALPHA); in beginResizeIfPointInRegion()
175 if (mLeftBorderActive) { in beginResizeIfPointInRegion()
205 mBaselineX.applyDelta(mLeftBorderActive, mRightBorderActive, mDeltaX, mTempRange1); in visualizeResizeForDelta()
219 if (mLeftBorderActive) { in visualizeResizeForDelta()
264 int hSpanDelta = mTempRange1.applyDeltaAndBound(mLeftBorderActive, mRightBorderActive, in resizeWidgetIfNeeded()
269 mDirectionVector[0] = mLeftBorderActive ? -1 : 1; in resizeWidgetIfNeeded()