Home
last modified time | relevance | path

Searched refs:maxHeight (Results 1 – 6 of 6) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java85 int maxHeight = 0; in onMeasure() local
96 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
105 resolveSize(maxHeight, heightMeasureSpec)); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java85 int maxHeight = 0; in onMeasure() local
110 maxHeight = Math.max(maxHeight, in onMeasure()
120 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
125 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DBitmapHelper.java33 public static Bitmap scaleBitmap(Bitmap src, int maxWidth, int maxHeight) { in scaleBitmap() argument
35 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight()); in scaleBitmap()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java223 int maxHeight = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT); in onAppWidgetOptionsChanged() local
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java385 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) { in chooseOptimalSize() argument
394 if (option.getWidth() <= maxWidth && option.getHeight() <= maxHeight && in chooseOptimalSize()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1633 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) {
1641 if (option.getWidth() <= maxWidth && option.getHeight() <= maxHeight &&