Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
DActionBarPolicy.java57 final int widthDp = configuration.screenWidthDp; in getMaxActionButtons() local
61 if (smallest > 600 || widthDp > 600 || (widthDp > 960 && heightDp > 720) in getMaxActionButtons()
62 || (widthDp > 720 && heightDp > 960)) { in getMaxActionButtons()
65 } else if (widthDp >= 500 || (widthDp > 640 && heightDp > 480) in getMaxActionButtons()
66 || (widthDp > 480 && heightDp > 640)) { in getMaxActionButtons()
69 } else if (widthDp >= 360) { in getMaxActionButtons()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DActionMenuItemView.java104 final int widthDp = config.screenWidthDp; in shouldAllowTextWithIcon() local
107 return widthDp >= 480 || (widthDp >= 640 && heightDp >= 480) in shouldAllowTextWithIcon()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java205 int widthDp = activity.getIntent().getIntExtra(EXTRA_CARD_WIDTH_DP, in initRowsAdapterBuilder() local
221 .configWidthDP(widthDp) in initRowsAdapterBuilder()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DSearchView.java1960 final int widthDp = config.screenWidthDp; in getSearchViewTextMinWidthDp() local
1963 if (widthDp >= 960 && heightDp >= 720 in getSearchViewTextMinWidthDp()
1966 } else if (widthDp >= 600 || (widthDp >= 640 && heightDp >= 480)) { in getSearchViewTextMinWidthDp()