Searched refs:hitSize (Results 1 – 2 of 2) sorted by relevance
589 float hitSize = squareHeight * mHitFactor; in getRowHit() local591 float offset = mPaddingTop + (squareHeight - hitSize) / 2f; in getRowHit()595 if (y >= hitTop && y <= hitTop + hitSize) { in getRowHit()609 float hitSize = squareWidth * mHitFactor; in getColumnHit() local611 float offset = mPaddingLeft + (squareWidth - hitSize) / 2f; in getColumnHit()615 if (x >= hitLeft && x <= hitLeft + hitSize) { in getColumnHit()
1439 final int hitSize = statusBarSize*2; in interceptTouchEvent() local1448 if ((!mExpanded && y < hitSize) || in interceptTouchEvent()1449 (mExpanded && y > (mDisplayMetrics.heightPixels-hitSize))) { in interceptTouchEvent()