/cts/tests/tests/widget/src/android/widget/cts/ |
VideoViewTest.java | 283 final int specSize = MeasureSpec.getSize(MeasureSpec.AT_MOST); 284 resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.AT_MOST);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 112 } else if (specMode == MeasureSpec.AT_MOST) { 129 } else if (specMode == MeasureSpec.AT_MOST) {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
InternalSelectionView.java | 119 } else if (specMode == MeasureSpec.AT_MOST) { 136 } else if (specMode == MeasureSpec.AT_MOST) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
WrapContentBasicTest.java | 51 private static int WRAP = View.MeasureSpec.makeMeasureSpec(10, View.MeasureSpec.AT_MOST); 144 int atMost = View.MeasureSpec.makeMeasureSpec(95, View.MeasureSpec.AT_MOST);
|
RecyclerViewBasicTest.java | 66 mRecyclerView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 287 MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST && mHeight >= 0) { 289 Math.min(mHeight, MeasureSpec.getSize(heightMeasureSpec)), MeasureSpec.AT_MOST); 307 final int maxHeight = mode == MeasureSpec.AT_MOST ?
|
ActionBarContextView.java | 322 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 354 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; 358 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST;
|
ButtonBarLayout.java | 83 // If we're not stacked, make sure the measure spec is AT_MOST rather 88 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST);
|
ActionBarView.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionBarContextView.java | 257 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 288 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; 292 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTest.java | 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/core/java/android/widget/ |
VideoView.java | 170 if (heightSpecMode == MeasureSpec.AT_MOST && height > heightSpecSize) { 178 if (widthSpecMode == MeasureSpec.AT_MOST && width > widthSpecSize) { 186 if (heightSpecMode == MeasureSpec.AT_MOST && height > heightSpecSize) { 191 if (widthSpecMode == MeasureSpec.AT_MOST && width > widthSpecSize) { [all...] |
DayPickerView.java | 199 final int buttonWidthSpec = MeasureSpec.makeMeasureSpec(pagerWidth, MeasureSpec.AT_MOST); 200 final int buttonHeightSpec = MeasureSpec.makeMeasureSpec(pagerHeight, MeasureSpec.AT_MOST);
|
/frameworks/support/design/src/android/support/design/widget/ |
HeaderScrollingViewBehavior.java | 87 : View.MeasureSpec.AT_MOST);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsHelper.java | 61 MeasureSpec.makeMeasureSpec(bottom - top, MeasureSpec.AT_MOST));
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
ColorsActivity.java | 184 if (specMode == MeasureSpec.AT_MOST) { 185 // Respect AT_MOST value if that was what is called for by 206 if (specMode == MeasureSpec.AT_MOST) { 207 // Respect AT_MOST value if that was what is called for by
|
/frameworks/base/core/java/android/app/ |
MediaRouteButton.java | 344 case MeasureSpec.AT_MOST: 358 case MeasureSpec.AT_MOST:
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 463 if (widthMode == MeasureSpec.AT_MOST) { 478 heightMode = MeasureSpec.AT_MOST; 492 case MeasureSpec.AT_MOST: 533 MeasureSpec.AT_MOST); 543 childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.AT_MOST); 554 if (heightMode == MeasureSpec.AT_MOST && childHeight > layoutHeight) { 594 MeasureSpec.AT_MOST); 616 MeasureSpec.AT_MOST); [all...] |
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
CardView.java | 193 case MeasureSpec.AT_MOST: 203 case MeasureSpec.AT_MOST:
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationContentView.java | 145 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; 161 : MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); 171 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); 199 MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST)); 208 MeasureSpec.AT_MOST); 211 MeasureSpec.makeMeasureSpec(maxSize, MeasureSpec.AT_MOST)); [all...] |
ExpandableView.java | 60 int newHeightSpec = MeasureSpec.makeMeasureSpec(ownMaxHeight, MeasureSpec.AT_MOST);
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
PagerTitleStrip.java | 297 final int childWidthSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); 300 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteButton.java | 441 case MeasureSpec.AT_MOST: 455 case MeasureSpec.AT_MOST:
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
CircledImageView.java | 322 } else if (widthMode == MeasureSpec.AT_MOST) { 330 } else if (heightMode == MeasureSpec.AT_MOST) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
RecentsView.java | 337 measureChild(mEmptyView, MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), 338 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); 345 MeasureSpec.makeMeasureSpec(buttonBounds.width(), MeasureSpec.AT_MOST), 346 MeasureSpec.makeMeasureSpec(buttonBounds.height(), MeasureSpec.AT_MOST)); [all...] |