Searched refs:maxHeight (Results 1 – 6 of 6) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PictureLayout.java | 85 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/ |
D | CustomLayout.java | 85 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/ |
D | BitmapHelper.java | 33 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/ |
D | WeatherWidgetProvider.java | 223 int maxHeight = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT); in onAppWidgetOptionsChanged() local
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | Camera2BasicFragment.java | 385 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/ |
D | Camera2RawFragment.java | 1633 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) { 1641 if (option.getWidth() <= maxWidth && option.getHeight() <= maxHeight &&
|