HomeSort by relevance Sort by last modified time
    Searched refs:MeasureSpec (Results 226 - 250 of 462) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusIconContainer.java 142 int mode = MeasureSpec.getMode(widthMeasureSpec);
143 final int width = MeasureSpec.getSize(widthMeasureSpec);
159 int childWidthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.UNSPECIFIED);
178 if (mode == MeasureSpec.EXACTLY) {
182 setMeasuredDimension(width, MeasureSpec.getSize(heightMeasureSpec));
184 if (mode == MeasureSpec.AT_MOST && totalWidth > width) {
188 setMeasuredDimension(totalWidth, MeasureSpec.getSize(heightMeasureSpec));
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
ScrimViewTest.java 57 mView.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DisplayListLayersActivity.java 121 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec) / 3,
122 MeasureSpec.getSize(heightMeasureSpec) / 3);
TextPathActivity.java 53 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), 3000);
  /frameworks/support/car/src/main/java/androidx/car/widget/
PagedScrollBarView.java 302 int requestedWidth = MeasureSpec.getSize(widthMeasureSpec);
303 int requestedHeight = MeasureSpec.getSize(heightMeasureSpec);
305 int wrapMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
370 int scrollWidth = MeasureSpec.makeMeasureSpec(mScrollBarThumbWidth, MeasureSpec.EXACTLY);
371 int scrollHeight = MeasureSpec.makeMeasureSpec(
373 MeasureSpec.EXACTLY);
  /packages/apps/Dialer/java/com/android/contacts/common/list/
PinnedHeaderListView.java 312 widthSpec = View.MeasureSpec.makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY);
314 widthSpec = View.MeasureSpec.makeMeasureSpec(mHeaderWidth, View.MeasureSpec.EXACTLY);
319 View.MeasureSpec.makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY);
321 heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
  /packages/apps/Messaging/src/com/android/messaging/ui/
AsyncImageView.java 322 final int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec);
323 final int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec);
324 if (widthSpecMode == MeasureSpec.EXACTLY && heightSpecMode == MeasureSpec.EXACTLY) {
357 private static int resolveSize(int desiredSize, int maxSize, int measureSpec) {
358 final int specMode = MeasureSpec.getMode(measureSpec);
359 final int specSize = MeasureSpec.getSize(measureSpec);
361 case MeasureSpec.UNSPECIFIED
    [all...]
SnackBarManager.java 27 import android.view.View.MeasureSpec;
270 MeasureSpec.makeMeasureSpec(displaySize.x, MeasureSpec.EXACTLY),
273 MeasureSpec.makeMeasureSpec(displaySize.y, MeasureSpec.EXACTLY),
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SmartReplyView.java 49 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
259 final int targetWidth = MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED
260 ? Integer.MAX_VALUE : MeasureSpec.getSize(widthMeasureSpec);
456 final int widthMeasureSpec = MeasureSpec.makeMeasureSpec(
457 2 * mDoubleLineButtonPaddingHorizontal + textWidth, MeasureSpec.AT_MOST);
475 MeasureSpec.makeMeasureSpec(maxChildHeight, MeasureSpec.EXACTLY);
519 child.measure(MeasureSpec.makeMeasureSpec(newWidth, MeasureSpec.AT_MOST)
    [all...]
  /frameworks/base/core/java/android/widget/
RelativeLayout.java 59 * {@link android.view.View.MeasureSpec MeasureSpec} values. (See
60 * {@link android.view.View.MeasureSpec#makeMeasureSpec(int, int) MeasureSpec.makeMeasureSpec}
63 * not equipped to properly measure with the MeasureSpec mode
64 * {@link android.view.View.MeasureSpec#UNSPECIFIED UNSPECIFIED} was placed in a RelativeLayout,
66 * {@link android.view.View.MeasureSpec#AT_MOST AT_MOST} MeasureSpec instead.</p>
219 // with MeasureSpec value overflow and RelativeLayout was one source of them.
398 final int widthMode = MeasureSpec.getMode(widthMeasureSpec)
    [all...]
  /frameworks/base/core/java/android/transition/
TransitionUtils.java 107 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY);
108 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY);
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 404 int width = MeasureSpec.getSize(widthMeasureSpec);
405 int height = MeasureSpec.getSize(heightMeasureSpec);
406 tab.measure(View.MeasureSpec.makeSafeMeasureSpec(width, View.MeasureSpec.UNSPECIFIED),
407 View.MeasureSpec.makeSafeMeasureSpec(height, View.MeasureSpec.UNSPECIFIED));
408 text.measure(View.MeasureSpec.makeSafeMeasureSpec(width, View.MeasureSpec.UNSPECIFIED),
409 View.MeasureSpec.makeSafeMeasureSpec(height, View.MeasureSpec.UNSPECIFIED))
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PageIndicator.java 200 final int widthChildSpec = MeasureSpec.makeMeasureSpec(mPageIndicatorWidth,
201 MeasureSpec.EXACTLY);
202 final int heightChildSpec = MeasureSpec.makeMeasureSpec(mPageIndicatorHeight,
203 MeasureSpec.EXACTLY);
  /frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
PercentRelativeRtlTest.java 122 View.MeasureSpec.makeMeasureSpec(mContainerWidth, View.MeasureSpec.EXACTLY),
123 View.MeasureSpec.makeMeasureSpec(mContainerHeight, View.MeasureSpec.EXACTLY));
  /frameworks/support/transition/src/main/java/androidx/transition/
TransitionUtils.java 68 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY);
69 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, 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/
BaseCardView.java 173 MeasureSpec.makeMeasureSpec(mCardImageWidth, MeasureSpec.EXACTLY),
174 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));
  /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...]
  /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 188 int heightMode = MeasureSpec.getMode(heightMeasureSpec);
189 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY;
190 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST;
191 int size = MeasureSpec.getSize(heightMeasureSpec);
194 newHeightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST);
196 int width = MeasureSpec.getSize(widthMeasureSpec);
198 mOverflowNumber.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST),
201 int dividerHeightSpec = MeasureSpec.makeMeasureSpec(mDividerHeight, MeasureSpec.EXACTLY)
    [all...]
  /frameworks/support/media/src/main/java/androidx/media/subtitle/
ClosedCaptionRenderer.java 199 float fontSize = MeasureSpec.getSize(heightMeasureSpec) * FONT_PADDING_RATIO;
210 float requiredTextWidth = MeasureSpec.getSize(widthMeasureSpec);
363 int lineHeightMeasureSpec = MeasureSpec.makeMeasureSpec(
364 lineHeight, MeasureSpec.EXACTLY);
365 int lineWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
366 safeWidth, MeasureSpec.EXACTLY);
  /frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
PageIndicatorView.java 574 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) {
575 totalWidth = MeasureSpec.getSize(widthMeasureSpec);
581 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY) {
582 totalHeight = MeasureSpec.getSize(heightMeasureSpec);
  /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)
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderSessionImpl.java 66 import android.view.View.MeasureSpec;
206 MeasureSpec.UNSPECIFIED // this lets us know the actual needed size
207 : MeasureSpec.EXACTLY;
209 MeasureSpec.UNSPECIFIED // this lets us know the actual needed size
210 : MeasureSpec.EXACTLY;
232 mMeasuredScreenWidth, MeasureSpec.EXACTLY,
233 mMeasuredScreenHeight, MeasureSpec.EXACTLY);
344 mMeasuredScreenWidth, MeasureSpec.EXACTLY,
345 mMeasuredScreenHeight, MeasureSpec.EXACTLY);
383 width, MeasureSpec.EXACTLY
    [all...]

Completed in 903 milliseconds

1 2 3 4 5 6 7 8 91011>>