/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextPathActivity.java | 53 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), 3000);
|
/frameworks/support/percent/tests/java/android/support/percent/ |
PercentRelativeRtlTest.java | 124 View.MeasureSpec.makeMeasureSpec(mContainerWidth, View.MeasureSpec.EXACTLY), 125 View.MeasureSpec.makeMeasureSpec(mContainerHeight, View.MeasureSpec.EXACTLY));
|
/packages/apps/Calendar/src/com/android/calendar/ |
StickyHeaderListView.java | 285 v.measure(MeasureSpec.makeMeasureSpec(mListView.getWidth(), 286 MeasureSpec.EXACTLY), MeasureSpec.makeMeasureSpec(mListView.getHeight(), 287 MeasureSpec.AT_MOST));
|
/packages/apps/TV/src/com/android/tv/menu/ |
ChannelCardView.java | 129 MeasureSpec.makeMeasureSpec(mCardImageWidth, MeasureSpec.EXACTLY), 130 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MiniDrawerView.java | 251 mSpacer.measure(MeasureSpec.makeMeasureSpec(spacerWidth, MeasureSpec.AT_MOST), 252 MeasureSpec.makeMeasureSpec(spacerHeight, MeasureSpec.EXACTLY));
|
ActionableToastBar.java | 177 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMinWidth, MeasureSpec.EXACTLY); 180 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 126 int widthMode = MeasureSpec.getMode(widthMeasureSpec); 127 int heightMode = MeasureSpec.getMode(heightMeasureSpec); 128 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 129 int heightSize = MeasureSpec.getSize(heightMeasureSpec); 131 if (widthMode != MeasureSpec.EXACTLY) { 135 if (heightMode != MeasureSpec.EXACTLY) { 200 // final int widthSpec = MeasureSpec.makeMeasureSpec(child.getMeasuredWidth(), MeasureSpec.EXACTLY); 201 // final int heightSpec = MeasureSpec.makeMeasureSpec(child.getMeasuredHeight(), MeasureSpec.EXACTLY) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
SnackBarManager.java | 27 import android.view.View.MeasureSpec; 270 MeasureSpec.makeMeasureSpec(displaySize.x, MeasureSpec.EXACTLY), 273 MeasureSpec.makeMeasureSpec(displaySize.y, MeasureSpec.EXACTLY),
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTest.java | 9 import android.view.View.MeasureSpec; 354 view1.measure( MeasureSpec.makeMeasureSpec(150, MeasureSpec.AT_MOST), 355 MeasureSpec.makeMeasureSpec(300, MeasureSpec.AT_MOST) ); 373 view2.measure( MeasureSpec.makeMeasureSpec(1000, MeasureSpec.AT_MOST), 374 MeasureSpec.makeMeasureSpec(600, MeasureSpec.AT_MOST) );
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
NotificationChildrenContainer.java | 138 int heightMode = MeasureSpec.getMode(heightMeasureSpec); 139 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; 140 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; 141 int size = MeasureSpec.getSize(heightMeasureSpec); 145 int newHeightSpec = MeasureSpec.makeMeasureSpec(ownMaxHeight, MeasureSpec.AT_MOST); 146 int width = MeasureSpec.getSize(widthMeasureSpec); 148 mOverflowNumber.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), 151 int dividerHeightSpec = MeasureSpec.makeMeasureSpec(mDividerHeight, MeasureSpec.EXACTLY) [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
BottomBar.java | 345 final int measureWidth = MeasureSpec.getSize(widthMeasureSpec); 346 final int measureHeight = MeasureSpec.getSize(heightMeasureSpec); 356 super.onMeasure(MeasureSpec.makeMeasureSpec( 357 (int) bottomBarRect.width(), MeasureSpec.EXACTLY), 358 MeasureSpec.makeMeasureSpec((int) bottomBarRect.height(), MeasureSpec.EXACTLY)
|
MainActivityLayout.java | 152 MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.getSize(heightMeasureSpec),
|
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/ |
ControllerView.java | 308 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); 309 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); 310 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); 311 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); 314 if (widthSpecMode == MeasureSpec.EXACTLY) { 316 } else if (widthSpecMode == MeasureSpec.AT_MOST) { 322 if (heightSpecMode == MeasureSpec.EXACTLY) { 324 } else if (heightSpecMode == MeasureSpec.AT_MOST) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
NumericTextView.java | 220 measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);
|
MediaNotificationView.java | 60 int mode = MeasureSpec.getMode(widthMeasureSpec); 62 if (hasIcon && mode != MeasureSpec.UNSPECIFIED) { 64 int size = MeasureSpec.getSize(widthMeasureSpec);
|
NotificationActionListLayout.java | 97 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.UNSPECIFIED; 99 final int innerWidth = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/ |
ViewFocusAnimator.java | 140 mTargetView.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 363 widthSpec = View.MeasureSpec 364 .makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY); 366 widthSpec = View.MeasureSpec 367 .makeMeasureSpec(mHeaderWidth, View.MeasureSpec.EXACTLY); 371 heightSpec = View.MeasureSpec 372 .makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY); 374 heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSpinnerTest.java | 188 absSpinner.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); 251 absSpinner.measure(View.MeasureSpec.EXACTLY, View.MeasureSpec.EXACTLY);
|
TableRowTest.java | 28 import android.view.View.MeasureSpec; 189 mockTableRow.onMeasure(MeasureSpec.EXACTLY, MeasureSpec.EXACTLY);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListViewCompat.java | 315 heightMeasureSpec = MeasureSpec.makeMeasureSpec(childLp.height, 316 MeasureSpec.EXACTLY); 318 heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ScaleFrameLayout.java | 176 private static int getScaledMeasureSpec(int measureSpec, float scale) { 177 return scale == 1f ? measureSpec : MeasureSpec.makeMeasureSpec( 178 (int) (MeasureSpec.getSize(measureSpec) / scale + 0.5f), 179 MeasureSpec.getMode(measureSpec));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterView.java | [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintCustomContent.java | 39 import android.view.View.MeasureSpec; 442 MeasureSpec.makeMeasureSpec(mRenderPageWidth, 443 MeasureSpec.EXACTLY), 0, view.getLayoutParams().width); 445 MeasureSpec.makeMeasureSpec(mRenderPageHeight, 446 MeasureSpec.EXACTLY), 0, view.getLayoutParams().height);
|
/frameworks/support/design/src/android/support/design/widget/ |
TabLayout.java | [all...] |