Home
last modified time | relevance | path

Searched refs:maxWidth (Results 1 – 9 of 9) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java86 int maxWidth = 0; in onMeasure() local
101 mLeftWidth += Math.max(maxWidth, in onMeasure()
104 mRightWidth += Math.max(maxWidth, in onMeasure()
107 maxWidth = Math.max(maxWidth, in onMeasure()
117 maxWidth += mLeftWidth + mRightWidth; in onMeasure()
121 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure()
124 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java86 int maxWidth = 0; in onMeasure() local
95 maxWidth += getPaddingLeft() + getPaddingRight(); in onMeasure()
101 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure()
104 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec), in onMeasure()
/development/tools/winscope/src/viewers/viewer_screen_recording/
Dviewer_screen_recording_component.ts223 const maxWidth = constant
225 container.style.maxWidth = `${maxWidth}px`;
/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/tools/winscope/src/viewers/components/rects/
Dmapper3d.ts282 let maxWidth = 0;
285 maxWidth = Math.max(
294 width: maxWidth,
/development/tools/winscope/src/app/components/
Dapp_component.ts596 maxWidth: '860px',
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java221 int maxWidth = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH); 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 &&