OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSwipeStartThreshold
(Results
1 - 9
of
9
) sorted by null
/packages/experimental/KBars/app/src/main/java/js/kbars/
SystemGestureDebugger.java
29
private final int
mSwipeStartThreshold
;
61
this.
mSwipeStartThreshold
= ((Context) checkNull("context", context)).getResources().getDimensionPixelSize(((Integer) Util.getField("com.android.internal.R$dimen", "status_bar_height")).intValue());
62
this.mSwipeDistanceThreshold = this.
mSwipeStartThreshold
;
63
Log.d(TAG, String.format("startThreshold=%s endThreshold=%s", new Object[]{Integer.valueOf(this.
mSwipeStartThreshold
), Integer.valueOf(this.mSwipeDistanceThreshold)}));
181
boolean reachedThreshold = ((fromY > ((float) this.
mSwipeStartThreshold
) || y <= ((float) this.mSwipeDistanceThreshold) + fromY) && ((fromY < ((float) (this.screenHeight - this.
mSwipeStartThreshold
)) || y >= fromY - ((float) this.mSwipeDistanceThreshold)) && (fromX < ((float) (this.screenWidth - this.
mSwipeStartThreshold
)) || x >= fromX - ((float) this.mSwipeDistanceThreshold)))) ? DEBUG : true;
185
if (fromY <= ((float) this.
mSwipeStartThreshold
) && y > ((float) this.mSwipeDistanceThreshold) + fromY && elapsed < SWIPE_TIMEOUT_MS) {
188
if (fromY >= ((float) (this.screenHeight - this.
mSwipeStartThreshold
)) && y < fromY - ((float) this.mSwipeDistanceThreshold) && elapsed < SWIPE_TIMEOUT_MS) {
191
if (fromX < ((float) (this.screenWidth - this.
mSwipeStartThreshold
)) || x >= fromX - ((float) this.mSwipeDistanceThreshold) || elapsed >= SWIPE_TIMEOUT_MS)
[
all
...]
/frameworks/base/services/core/java/com/android/server/policy/
SystemGesturesPointerEventListener.java
49
private final int
mSwipeStartThreshold
;
71
mSwipeStartThreshold
= checkNull("context", context).getResources()
73
mSwipeDistanceThreshold =
mSwipeStartThreshold
;
74
if (DEBUG) Slog.d(TAG, "
mSwipeStartThreshold
=" +
mSwipeStartThreshold
221
if (fromY <=
mSwipeStartThreshold
226
if (fromY >= screenHeight -
mSwipeStartThreshold
231
if (fromX >= screenWidth -
mSwipeStartThreshold
236
if (fromX <=
mSwipeStartThreshold
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
Completed in 1575 milliseconds