HomeSort by relevance Sort by last modified time
    Searched refs:AT_MOST (Results 26 - 50 of 167) sorted by null

12 3 4 5 6 7

  /development/samples/ApiDemos/src/com/example/android/apis/view/
LabelView.java 149 if (specMode == MeasureSpec.AT_MOST) {
150 // Respect AT_MOST value if that was what is called for by measureSpec
176 if (specMode == MeasureSpec.AT_MOST) {
177 // Respect AT_MOST value if that was what is called for by measureSpec
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 71 MeasureSpec.AT_MOST);
73 MeasureSpec.AT_MOST);
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
PercentFrameLayout.java 62 MeasureSpec.makeMeasureSpec(width * widthPercent / 100, MeasureSpec.AT_MOST);
64 MeasureSpec.makeMeasureSpec(height * heightPercent / 100, MeasureSpec.AT_MOST);
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
ScrollToPositionWithAutoMeasure.java 19 import static android.view.View.MeasureSpec.AT_MOST;
80 makeMeasureSpec(recyclerView.getHeight(), AT_MOST));
LinearLayoutManagerWrapContentWithAspectRatioTest.java 177 MeasureSpecMatcher.is(parentDim, View.MeasureSpec.AT_MOST));
186 MeasureSpecMatcher.is(parentDim, View.MeasureSpec.AT_MOST));
196 MeasureSpecMatcher.is(parentDim, View.MeasureSpec.AT_MOST));
  /sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
LabelView.java 148 if (specMode == MeasureSpec.AT_MOST) {
149 // Respect AT_MOST value if that was what is called for by measureSpec
175 if (specMode == MeasureSpec.AT_MOST) {
176 // Respect AT_MOST value if that was what is called for by measureSpec
  /frameworks/base/core/java/android/widget/
Space.java 72 * If mode is AT_MOST, return the child size instead of the parent size
84 case MeasureSpec.AT_MOST:
  /frameworks/base/core/java/com/android/internal/widget/
DrawingSpace.java 26 * class is too greedy when measured with AT_MOST.
48 * If mode is AT_MOST, return the child size instead of the parent size
60 case MeasureSpec.AT_MOST:
WeightedLinearLayout.java 29 * A special layout when measured in AT_MOST will take up a given percentage of
73 if (widthMode == AT_MOST) {
MessagingLinearLayout.java 91 case MeasureSpec.AT_MOST:
94 MeasureSpec.AT_MOST);
99 MeasureSpec.AT_MOST);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcutKeysLayout.java 54 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) {
55 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
64 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST),
81 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) {
  /frameworks/support/core-ui/java/android/support/v4/widget/
Space.java 56 * If mode is AT_MOST, return the child size instead of the parent size
68 case MeasureSpec.AT_MOST:
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ContentFrameLayout.java 27 import static android.view.View.MeasureSpec.AT_MOST;
98 if (widthMode == AT_MOST) {
117 if (heightMode == AT_MOST) {
142 if (!fixedWidth && widthMode == AT_MOST) {
ActionBarContainer.java 253 MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST && mHeight >= 0) {
255 Math.min(mHeight, MeasureSpec.getSize(heightMeasureSpec)), MeasureSpec.AT_MOST);
272 final int maxHeight = mode == MeasureSpec.AT_MOST ?
ButtonBarLayout.java 76 // If we're not stacked, make sure the measure spec is AT_MOST rather
81 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
MeasureHelper.java 56 case MeasureSpec.AT_MOST: return Math.min(prefered, specLength);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
ManualLayoutFrame.java 42 case MeasureSpec.AT_MOST: {
ButtonBarLayout.java 66 // If we're not stacked, make sure the measure spec is AT_MOST rather
71 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
SignalTileView.java 74 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST);
88 return MeasureSpec.AT_MOST;
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlWheelContainer.java 133 } else if (widthMode == MeasureSpec.AT_MOST) {
140 } else if (heightMode == MeasureSpec.AT_MOST) {
  /cts/hostsidetests/theme/app/src/android/theme/app/
ReferenceViewGroup.java 67 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ResizingSpace.java 75 * If mode is AT_MOST, return the child size instead of the parent size
87 case MeasureSpec.AT_MOST:
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
IntrinsicSizeFrameLayout.java 83 } else if (mode == MeasureSpec.AT_MOST) {
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardSecurityViewFlipper.java 194 if (DEBUG && widthMode != MeasureSpec.AT_MOST) {
196 " should be AT_MOST");
198 if (DEBUG && heightMode != MeasureSpec.AT_MOST) {
200 " should be AT_MOST");
247 mode = MeasureSpec.AT_MOST;
  /frameworks/base/core/java/android/view/
NotificationHeaderView.java 135 MeasureSpec.AT_MOST);
137 MeasureSpec.AT_MOST);
159 int childWidthSpec = MeasureSpec.makeMeasureSpec(newSize, MeasureSpec.AT_MOST);
168 int childWidthSpec = MeasureSpec.makeMeasureSpec(newSize, MeasureSpec.AT_MOST);

Completed in 2360 milliseconds

12 3 4 5 6 7