Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/view/
DActionBarPolicy.java56 final int heightDp = ConfigurationHelper.getScreenHeightDp(res); in getMaxActionButtons() local
59 if (smallest > 600 || widthDp > 600 || (widthDp > 960 && heightDp > 720) in getMaxActionButtons()
60 || (widthDp > 720 && heightDp > 960)) { in getMaxActionButtons()
63 } else if (widthDp >= 500 || (widthDp > 640 && heightDp > 480) in getMaxActionButtons()
64 || (widthDp > 480 && heightDp > 640)) { in getMaxActionButtons()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItemView.java111 final int heightDp = ConfigurationHelper.getScreenHeightDp(getResources()); in shouldAllowTextWithIcon() local
113 return widthDp >= 480 || (widthDp >= 640 && heightDp >= 480) in shouldAllowTextWithIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java394 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity); in endMotionEvent() local
398 heightDp, velocityDp); in endMotionEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1999 final int heightDp = ConfigurationHelper.getScreenHeightDp(getResources()); in getSearchViewTextMinWidthDp() local
2001 if (widthDp >= 960 && heightDp >= 720 in getSearchViewTextMinWidthDp()
2004 } else if (widthDp >= 600 || (widthDp >= 640 && heightDp >= 480)) { in getSearchViewTextMinWidthDp()