Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java60 private final int mTouchTargetWidth; field in AppWidgetResizeFrame
111 mTouchTargetWidth = 2 * mBackgroundPadding; in AppWidgetResizeFrame()
192 mLeftBorderActive = (x < mTouchTargetWidth) && horizontalActive; in beginResizeIfPointInRegion()
193 mRightBorderActive = (x > getWidth() - mTouchTargetWidth) && horizontalActive; in beginResizeIfPointInRegion()
194 mTopBorderActive = (y < mTouchTargetWidth + mTopTouchRegionAdjustment) && verticalActive; in beginResizeIfPointInRegion()
195 mBottomBorderActive = (y > getHeight() - mTouchTargetWidth + mBottomTouchRegionAdjustment) in beginResizeIfPointInRegion()
209 mDeltaXRange.set(-getLeft(), getWidth() - 2 * mTouchTargetWidth); in beginResizeIfPointInRegion()
211 … mDeltaXRange.set(2 * mTouchTargetWidth - getWidth(), mDragLayer.getWidth() - getRight()); in beginResizeIfPointInRegion()
218 mDeltaYRange.set(-getTop(), getHeight() - 2 * mTouchTargetWidth); in beginResizeIfPointInRegion()
220 … mDeltaYRange.set(2 * mTouchTargetWidth - getHeight(), mDragLayer.getHeight() - getBottom()); in beginResizeIfPointInRegion()