OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTouchTargetWidth
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java
54
private int
mTouchTargetWidth
;
137
mTouchTargetWidth
= 2 * mBackgroundPadding;
149
mLeftBorderActive = (x <
mTouchTargetWidth
) && horizontalActive;
150
mRightBorderActive = (x > getWidth() -
mTouchTargetWidth
) && horizontalActive;
151
mTopBorderActive = (y <
mTouchTargetWidth
+ mTopTouchRegionAdjustment) && verticalActive;
152
mBottomBorderActive = (y > getHeight() -
mTouchTargetWidth
+ mBottomTouchRegionAdjustment)
179
mDeltaX = Math.min(mBaselineWidth - 2 *
mTouchTargetWidth
, mDeltaX);
182
mDeltaX = Math.max(-mBaselineWidth + 2 *
mTouchTargetWidth
, mDeltaX);
187
mDeltaY = Math.min(mBaselineHeight - 2 *
mTouchTargetWidth
, mDeltaY);
190
mDeltaY = Math.max(-mBaselineHeight + 2 *
mTouchTargetWidth
, mDeltaY)
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
AppWidgetResizeFrame.java
51
private int
mTouchTargetWidth
;
134
mTouchTargetWidth
= 2 * mBackgroundPadding;
146
mLeftBorderActive = (x <
mTouchTargetWidth
) && horizontalActive;
147
mRightBorderActive = (x > getWidth() -
mTouchTargetWidth
) && horizontalActive;
148
mTopBorderActive = (y <
mTouchTargetWidth
+ mTopTouchRegionAdjustment) && verticalActive;
149
mBottomBorderActive = (y > getHeight() -
mTouchTargetWidth
+ mBottomTouchRegionAdjustment)
176
mDeltaX = Math.min(mBaselineWidth - 2 *
mTouchTargetWidth
, mDeltaX);
179
mDeltaX = Math.max(-mBaselineWidth + 2 *
mTouchTargetWidth
, mDeltaX);
184
mDeltaY = Math.min(mBaselineHeight - 2 *
mTouchTargetWidth
, mDeltaY);
187
mDeltaY = Math.max(-mBaselineHeight + 2 *
mTouchTargetWidth
, mDeltaY)
[
all
...]
Completed in 1316 milliseconds