Home
last modified time | relevance | path

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

/appcompat/appcompat/src/main/java/androidx/appcompat/view/
DActionBarPolicy.java55 final int widthDp = configuration.screenWidthDp; 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()
/appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/
DActionMenuItemView.java108 final int widthDp = config.screenWidthDp; in shouldAllowTextWithIcon() local
111 return widthDp >= 480 || (widthDp >= 640 && heightDp >= 480) in shouldAllowTextWithIcon()
/appcompat/appcompat/src/main/java/androidx/appcompat/widget/
DSearchView.java1979 final int widthDp = config.screenWidthDp; in getSearchViewTextMinWidthDp() local
1982 if (widthDp >= 960 && heightDp >= 720 in getSearchViewTextMinWidthDp()
1985 } else if (widthDp >= 600 || (widthDp >= 640 && heightDp >= 480)) { in getSearchViewTextMinWidthDp()