Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/view/
DActionBarPolicy.java55 final int widthDp = ConfigurationHelper.getScreenWidthDp(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()
67 } else if (widthDp >= 360) { in getMaxActionButtons()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItemView.java110 final int widthDp = ConfigurationHelper.getScreenWidthDp(getResources()); in shouldAllowTextWithIcon() local
113 return widthDp >= 480 || (widthDp >= 640 && heightDp >= 480) in shouldAllowTextWithIcon()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1998 final int widthDp = ConfigurationHelper.getScreenWidthDp(getResources()); in getSearchViewTextMinWidthDp() local
2001 if (widthDp >= 960 && heightDp >= 720 in getSearchViewTextMinWidthDp()
2004 } else if (widthDp >= 600 || (widthDp >= 640 && heightDp >= 480)) { in getSearchViewTextMinWidthDp()