Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java589 float hitSize = squareHeight * mHitFactor; in getRowHit() local
591 float offset = mPaddingTop + (squareHeight - hitSize) / 2f; in getRowHit()
595 if (y >= hitTop && y <= hitTop + hitSize) { in getRowHit()
609 float hitSize = squareWidth * mHitFactor; in getColumnHit() local
611 float offset = mPaddingLeft + (squareWidth - hitSize) / 2f; in getColumnHit()
615 if (x >= hitLeft && x <= hitLeft + hitSize) { in getColumnHit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1439 final int hitSize = statusBarSize*2; in interceptTouchEvent() local
1448 if ((!mExpanded && y < hitSize) || in interceptTouchEvent()
1449 (mExpanded && y > (mDisplayMetrics.heightPixels-hitSize))) { in interceptTouchEvent()