Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DWallpaperManager.java1277 public void suggestDesiredDimensions(int minimumWidth, int minimumHeight) { in suggestDesiredDimensions() argument
1295 if ((minimumWidth > maximumTextureSize) || in suggestDesiredDimensions()
1297 float aspect = (float)minimumHeight / (float)minimumWidth; in suggestDesiredDimensions()
1298 if (minimumWidth > minimumHeight) { in suggestDesiredDimensions()
1299 minimumWidth = maximumTextureSize; in suggestDesiredDimensions()
1300 minimumHeight = (int)((minimumWidth * aspect) + 0.5); in suggestDesiredDimensions()
1303 minimumWidth = (int)((minimumHeight / aspect) + 0.5); in suggestDesiredDimensions()
1312 sGlobals.mService.setDimensionHints(minimumWidth, minimumHeight, in suggestDesiredDimensions()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1542 public View getView(MenuItem menuItem, int minimumWidth, View convertView) { in getView() argument
1545 return getIconOnlyView(menuItem, minimumWidth, convertView); in getView()
1547 return getStringTitleView(menuItem, minimumWidth, convertView); in getView()
1574 MenuItem menuItem, int minimumWidth, View convertView) { in getStringTitleView() argument
1588 menuButton.setMinimumWidth(minimumWidth); in getStringTitleView()
1594 MenuItem menuItem, int minimumWidth, View convertView) { in getIconOnlyView() argument
1609 menuButton.setMinimumWidth(minimumWidth); in getIconOnlyView()
DLockPatternView.java646 final int minimumWidth = getSuggestedMinimumWidth(); in onMeasure() local
648 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure()