Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DWallpaperManager.java1544 public void suggestDesiredDimensions(int minimumWidth, int minimumHeight) { in suggestDesiredDimensions() argument
1562 if ((minimumWidth > maximumTextureSize) || in suggestDesiredDimensions()
1564 float aspect = (float)minimumHeight / (float)minimumWidth; in suggestDesiredDimensions()
1565 if (minimumWidth > minimumHeight) { in suggestDesiredDimensions()
1566 minimumWidth = maximumTextureSize; in suggestDesiredDimensions()
1567 minimumHeight = (int)((minimumWidth * aspect) + 0.5); in suggestDesiredDimensions()
1570 minimumWidth = (int)((minimumHeight / aspect) + 0.5); in suggestDesiredDimensions()
1579 sGlobals.mService.setDimensionHints(minimumWidth, minimumHeight, in suggestDesiredDimensions()
DDisabledWallpaperManager.java272 public void suggestDesiredDimensions(int minimumWidth, int minimumHeight) { in suggestDesiredDimensions() argument
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java181 int minimumWidth) { in shrinkViewForOverflow() argument
183 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow()
185 int newSize = Math.max(minimumWidth, oldWidth - overFlow); in shrinkViewForOverflow()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java702 final int minimumWidth = getSuggestedMinimumWidth(); in onMeasure() local
704 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure()
DFloatingToolbar.java1626 public View getView(MenuItem menuItem, int minimumWidth, View convertView) { in getView() argument
1634 convertView.setMinimumWidth(minimumWidth); in getView()