HomeSort by relevance Sort by last modified time
    Searched refs:MeasureSpec (Results 176 - 200 of 353) sorted by null

1 2 3 4 5 6 78 91011>>

  /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),
MultiAttachmentLayout.java 95 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2,
96 MeasureSpec.EXACTLY);
100 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2,
101 MeasureSpec.EXACTLY);
300 final int width = Math.min(MeasureSpec.getSize(widthMeasureSpec), maxWidth);
  /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 88 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.UNSPECIFIED;
90 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);
ContactTileAdapter.java 589 final int width = MeasureSpec.getSize(widthMeasureSpec);
623 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
624 MeasureSpec.makeMeasureSpec(0, 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);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ActionableToastBar.java 177 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMinWidth, MeasureSpec.EXACTLY);
180 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY);
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java 497 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
498 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
499 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
500 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
501 if (widthMode != MeasureSpec.EXACTLY) {
533 childWidthMode = MeasureSpec.AT_MOST;
535 childWidthMode = MeasureSpec.EXACTLY;
540 childHeightMode = MeasureSpec.AT_MOST;
542 childHeightMode = MeasureSpec.EXACTLY;
546 MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
MediaPickerPanel.java 127 int requestedHeight = MeasureSpec.getSize(heightMeasureSpec);
161 int viewPagerHeightMeasureSpec = MeasureSpec.makeMeasureSpec(
162 viewPagerHeight, MeasureSpec.EXACTLY);
312 final int measureSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE, MeasureSpec.AT_MOST);
313 measureChild(mTabStrip, measureSpec, measureSpec);
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewCoordinates.java 29 import android.view.View.MeasureSpec;
288 final int widthSpec = MeasureSpec.makeMeasureSpec(config.getWidth(), MeasureSpec.EXACTLY);
289 final int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);

Completed in 778 milliseconds

1 2 3 4 5 6 78 91011>>