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.java86 private final int mTouchTargetWidth; field in AppWidgetResizeFrame
171 mTouchTargetWidth = 2 * mBackgroundPadding; in AppWidgetResizeFrame()
333 mLeftBorderActive = (x < mTouchTargetWidth) && mHorizontalResizeActive;
334 mRightBorderActive = (x > getWidth() - mTouchTargetWidth) && mHorizontalResizeActive;
335 mTopBorderActive = (y < mTouchTargetWidth + mTopTouchRegionAdjustment)
337 mBottomBorderActive = (y > getHeight() - mTouchTargetWidth + mBottomTouchRegionAdjustment)
351 mDeltaXRange.set(-getLeft(), getWidth() - 2 * mTouchTargetWidth);
353 … mDeltaXRange.set(2 * mTouchTargetWidth - getWidth(), mDragLayer.getWidth() - getRight());
360 mDeltaYRange.set(-getTop(), getHeight() - 2 * mTouchTargetWidth);
362 … mDeltaYRange.set(2 * mTouchTargetWidth - getHeight(), mDragLayer.getHeight() - getBottom());