/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/ |
VideoTextureViewWithMp1.java | 146 Log.d(TAG, "onMeasure(" + MeasureSpec.toString(widthMeasureSpec) + ", " 147 + MeasureSpec.toString(heightMeasureSpec) + ")"); 157 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); 158 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
ActionMenuView.java | 148 mFormatItems = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY; 156 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 178 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 179 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 180 int heightSize = MeasureSpec.getSize(heightMeasureSpec); 377 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), 382 if (heightMode != MeasureSpec.EXACTLY) { 398 * @param parentHeightMeasureSpec MeasureSpec used by the parent vie [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
BaseWrapContentTest.java | 87 lp.wSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED); 88 lp.hSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST); 90 lp.hSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED); 91 lp.wSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.AT_MOST); 125 wrapContent.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED) [all...] |
StaggeredGridLayoutManagerWrapContentTest.java | 109 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); 130 lp.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
ModeOptionsOverlay.java | 172 super.onMeasure(MeasureSpec.makeMeasureSpec( 173 (int) uncoveredPreviewRect.width(), MeasureSpec.EXACTLY), 174 MeasureSpec.makeMeasureSpec((int) uncoveredPreviewRect.height(), 175 MeasureSpec.EXACTLY)
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
DragShadowBuilder.java | 70 View.MeasureSpec.makeMeasureSpec(r.right- r.left, View.MeasureSpec.EXACTLY), 71 View.MeasureSpec.makeMeasureSpec(r.bottom - r.top , View.MeasureSpec.EXACTLY));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsHelper.java | 21 import android.view.View.MeasureSpec; 60 view.measure(MeasureSpec.UNSPECIFIED, 61 MeasureSpec.makeMeasureSpec(bottom - top, MeasureSpec.AT_MOST));
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SlidingTabLayout.java | 75 final int width = MeasureSpec.makeMeasureSpec( 76 mTitleView.getMeasuredWidth() / titleCount, MeasureSpec.EXACTLY); 77 final int height = MeasureSpec.makeMeasureSpec( 78 mIndicatorView.getMeasuredHeight(), MeasureSpec.EXACTLY);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayout.java | 171 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); 172 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); 174 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); 175 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); 177 if (widthSpecMode == MeasureSpec.UNSPECIFIED || heightSpecMode == MeasureSpec.UNSPECIFIED) { 198 // Initial values correspond to widthSpecMode == MeasureSpec.EXACTLY 201 if (widthSpecMode == MeasureSpec.AT_MOST) { 213 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() - 214 getPaddingRight(), MeasureSpec.EXACTLY) [all...] |
ShortcutAndWidgetContainer.java | 99 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); 100 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); 120 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY); 121 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height, 122 MeasureSpec.EXACTLY);
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
ColorsActivity.java | 172 private int measureWidth(int measureSpec) { 174 int specMode = MeasureSpec.getMode(measureSpec); 175 int specSize = MeasureSpec.getSize(measureSpec); 177 if (specMode == MeasureSpec.EXACTLY) { 183 if (specMode == MeasureSpec.AT_MOST) { 185 // measureSpec 193 private int measureHeight(int measureSpec) { 195 int specMode = MeasureSpec.getMode(measureSpec) [all...] |
/frameworks/base/core/java/android/widget/ |
TableRow.java | 196 int measureMode = MeasureSpec.EXACTLY; 209 measureMode = MeasureSpec.AT_MOST; 215 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec( 306 spec = MeasureSpec.makeSafeMeasureSpec( 307 MeasureSpec.getSize(heightMeasureSpec), 308 MeasureSpec.UNSPECIFIED); 311 spec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY);
|
AnalogClock.java | 147 int widthMode = MeasureSpec.getMode(widthMeasureSpec); 148 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 149 int heightMode = MeasureSpec.getMode(heightMeasureSpec); 150 int heightSize = MeasureSpec.getSize(heightMeasureSpec); 155 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { 159 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) {
|
AdapterViewAnimator.java | 584 int measureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 585 child.measure(measureSpec, measureSpec); 687 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), 688 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); 694 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
WatchListDecorLayout.java | 120 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec( 121 width, MeasureSpec.EXACTLY); 134 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec( 135 height, MeasureSpec.EXACTLY); 163 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || 164 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY;
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
ColumnCardView.java | 89 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
RecentsRootView.java | 56 int width = MeasureSpec.getSize(widthMeasureSpec); 57 int height = MeasureSpec.getSize(heightMeasureSpec);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/ |
ScaledLayout.java | 134 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); 135 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); 191 MeasureSpec.makeMeasureSpec( 192 scaleWidth > mMaxWidth ? mMaxWidth : scaleWidth, MeasureSpec.EXACTLY); 193 int childHeightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); 215 MeasureSpec.makeMeasureSpec( 217 MeasureSpec.EXACTLY);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItemView.java | 284 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 285 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 287 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) 290 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { 292 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
ActionMenuItemView.java | 277 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 278 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 280 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) 283 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { 285 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 80 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); 81 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); 131 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY); 132 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
LineWrapLayout.java | 48 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec) - startPadding - endPadding; 50 final boolean isFixedSize = (widthMode == MeasureSpec.EXACTLY); 55 int childWidthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); 70 currChild.measure(childWidthSpec, MeasureSpec.UNSPECIFIED);
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
MediaRouteButton.java | 440 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 441 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); 442 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 443 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 452 case MeasureSpec.EXACTLY: 455 case MeasureSpec.AT_MOST: 459 case MeasureSpec.UNSPECIFIED: 466 case MeasureSpec.EXACTLY: 469 case MeasureSpec.AT_MOST: 473 case MeasureSpec.UNSPECIFIED [all...] |
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
MediaRouteButton.java | 425 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 426 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); 427 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 428 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 437 case MeasureSpec.EXACTLY: 440 case MeasureSpec.AT_MOST: 444 case MeasureSpec.UNSPECIFIED: 451 case MeasureSpec.EXACTLY: 454 case MeasureSpec.AT_MOST: 458 case MeasureSpec.UNSPECIFIED [all...] |
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
PagerTitleStrip.java | 289 final int childWidthSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); 292 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); 420 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); 421 if (widthMode != MeasureSpec.EXACTLY) { 429 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 439 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); 440 if (heightMode == MeasureSpec.EXACTLY) { 441 height = MeasureSpec.getSize(heightMeasureSpec) [all...] |