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/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/Support4Demos/src/com/example/android/supportv4/media/utils/
DBitmapHelper.java35 public static Bitmap scaleBitmap(Bitmap src, int maxWidth, int maxHeight) { in scaleBitmap() argument
37 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight()); in scaleBitmap()
/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 &&
/development/ndk/platforms/android-14/include/OMXAL/
DOpenMAXAL.h1596 XAuint32 maxWidth; member
2817 XAuint32 maxWidth; member
2991 XAuint32 maxWidth; member
/development/tools/checkstyle/
Dcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml sun_checks.xml com/ ...