Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java31 private boolean mBottomBorderActive; field in AppWidgetResizeFrame
152 mBottomBorderActive = (y > getHeight() - mTouchTargetWidth + mBottomTouchRegionAdjustment) in beginResizeIfPointInRegion()
156 || mTopBorderActive || mBottomBorderActive; in beginResizeIfPointInRegion()
167 mBottomHandle.setAlpha(mBottomBorderActive ? 1.0f : DIMMED_HANDLE_ALPHA); in beginResizeIfPointInRegion()
188 } else if (mBottomBorderActive) { in updateDeltas()
215 } else if (mBottomBorderActive) { in visualizeResizeForDelta()
287 } else if (mBottomBorderActive) { in resizeWidgetIfNeeded()
304 if (mTopBorderActive || mBottomBorderActive) { in resizeWidgetIfNeeded()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java72 private boolean mBottomBorderActive; field in AppWidgetResizeFrame
162 mBottomBorderActive = (y > getHeight() - mTouchTargetWidth + mBottomTouchRegionAdjustment) in beginResizeIfPointInRegion()
166 || mTopBorderActive || mBottomBorderActive; in beginResizeIfPointInRegion()
172 mDragHandles[INDEX_BOTTOM].setAlpha(mBottomBorderActive ? 1.0f : DIMMED_HANDLE_ALPHA); in beginResizeIfPointInRegion()
186 } else if (mBottomBorderActive) { in beginResizeIfPointInRegion()
210 mBaselineY.applyDelta(mTopBorderActive, mBottomBorderActive, mDeltaY, mTempRange1); in visualizeResizeForDelta()
228 if (mBottomBorderActive) { in visualizeResizeForDelta()
273 int vSpanDelta = mTempRange1.applyDeltaAndBound(mTopBorderActive, mBottomBorderActive, in resizeWidgetIfNeeded()