Home
last modified time | relevance | path

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

/aosp12/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
H A DWearableListView.java118 private final float[] mTapRegions = new float[2]; field in WearableListView
476 computeTapRegions(mTapRegions); in checkForTap()
477 if (rawY > mTapRegions[0] && rawY < mTapRegions[1]) { in checkForTap()
483 if (index > 0 && rawY <= mTapRegions[0]) { in checkForTap()
487 if (index < getChildCount() - 1 && rawY >= mTapRegions[1]) { in checkForTap()
491 if (index == 0 && rawY <= mTapRegions[0] && mClickListener != null) { in checkForTap()
743 computeTapRegions(mTapRegions); in handleTouchDown()
744 if (rawY > mTapRegions[0] && rawY < mTapRegions[1]) { in handleTouchDown()