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

1 23 4 5 6 7 8 91011>>

  /developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
SquareFrameLayout.java 47 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
48 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
71 final int newMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
  /developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
SquareFrameLayout.java 47 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
48 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
71 final int newMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
  /development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
SquareFrameLayout.java 47 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
48 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
71 final int newMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowFrameLayoutTest.java 34 frameLayout.measure(View.MeasureSpec.makeMeasureSpec(150, View.MeasureSpec.AT_MOST),
35 View.MeasureSpec.makeMeasureSpec(300, View.MeasureSpec.AT_MOST));
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
IllustrationTest.java 59 illustration.measure(View.MeasureSpec.makeMeasureSpec(300, View.MeasureSpec.EXACTLY),
60 View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED));
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
CenteredLinearLayout.java 39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec);
45 int measureMode = MeasureSpec.getMode(widthMeasureSpec);
46 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, measureMode);
  /packages/apps/Settings/src/com/android/settings/widget/
AspectRatioFrameLayout.java 77 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
78 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
CameraPreview.java 23 import android.view.View.MeasureSpec;
94 final int width = View.MeasureSpec.getSize(widthMeasureSpec);
95 return MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY);
104 final int width = View.MeasureSpec.getSize(widthMeasureSpec);
112 return View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY);
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
CameraPreview.java 23 import android.view.View.MeasureSpec;
71 final int width = View.MeasureSpec.getSize(widthMeasureSpec);
72 return MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY);
81 final int width = View.MeasureSpec.getSize(widthMeasureSpec);
89 return View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY);
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayoutChildren.java 79 int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec);
80 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec);
82 int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec);
83 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec);
85 if (widthSpecMode == MeasureSpec.UNSPECIFIED || heightSpecMode == MeasureSpec.UNSPECIFIED) {
98 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width,
99 MeasureSpec.EXACTLY);
100 int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
101 MeasureSpec.EXACTLY)
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/widget/
ImageFloatingTextViewTest.java 25 import android.view.View.MeasureSpec;
118 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(500, MeasureSpec.AT_MOST);
119 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ResizingSpace.java 78 private static int getDefaultSize2(int size, int measureSpec) {
80 int specMode = MeasureSpec.getMode(measureSpec);
81 int specSize = MeasureSpec.getSize(measureSpec);
84 case MeasureSpec.UNSPECIFIED:
87 case MeasureSpec.AT_MOST:
90 case MeasureSpec.EXACTLY:
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
ButtonBarLayout.java 48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
55 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) {
58 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
FillContentLayout.java 114 return MeasureSpec.makeMeasureSpec(childDimension, MeasureSpec.EXACTLY);
117 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
121 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST);
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DrawingTestHelper.java 30 import android.view.View.MeasureSpec;
76 MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY),
77 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY));
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
ButtonBarLayout.java 53 final int widthSize = MeasureSpec.getSize(widthMeasureSpec);
70 if (!isStacked() && MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) {
71 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST);
  /frameworks/base/apct-tests/perftests/core/src/android/widget/
TextViewPrecomputedTextPerfTest.java 19 import static android.view.View.MeasureSpec.AT_MOST;
20 import static android.view.View.MeasureSpec.EXACTLY;
21 import static android.view.View.MeasureSpec.UNSPECIFIED;
41 import android.view.View.MeasureSpec;
263 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST);
264 int height = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
283 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST)
    [all...]
  /frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
ThemePreviewLayout.java 100 int wSize = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight;
105 int childWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
106 int childHeightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
140 childWidthSpec = MeasureSpec.makeMeasureSpec(itemWidth, MeasureSpec.EXACTLY);
141 childHeightSpec = MeasureSpec.makeMeasureSpec(itemHeight, MeasureSpec.EXACTLY);
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
StopwatchLandscapeLayout.java 26 import static android.view.View.MeasureSpec.AT_MOST;
27 import static android.view.View.MeasureSpec.EXACTLY;
28 import static android.view.View.MeasureSpec.UNSPECIFIED;
86 final int height = MeasureSpec.getSize(heightMeasureSpec);
87 final int width = MeasureSpec.getSize(widthMeasureSpec);
90 final int minWidthSpec = MeasureSpec.makeMeasureSpec(width, UNSPECIFIED);
91 final int maxHeightSpec = MeasureSpec.makeMeasureSpec(height, AT_MOST);
101 final int lapsListWidthSpec = MeasureSpec.makeMeasureSpec(lapsListWidth, EXACTLY);
109 final int stopwatchWidthSpec = MeasureSpec.makeMeasureSpec(stopwatchWidth, EXACTLY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcutKeysLayout.java 46 int width = MeasureSpec.getSize(widthMeasureSpec) - getPaddingLeft() - getPaddingRight();
48 int height = MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom();
54 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) {
55 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST);
57 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
64 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST)
    [all...]
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DefaultMeasureSpecTest.java 19 import static android.view.View.MeasureSpec.AT_MOST;
20 import static android.view.View.MeasureSpec.EXACTLY;
21 import static android.view.View.MeasureSpec.UNSPECIFIED;
22 import static android.view.View.MeasureSpec.makeMeasureSpec;
117 int mode = View.MeasureSpec.getMode(mHSpec);
123 mExpectedH = Math.min(View.MeasureSpec.getSize(mHSpec), mExpectedH + 5);
132 int mode = View.MeasureSpec.getMode(mWSpec);
138 mExpectedW = Math.min(View.MeasureSpec.getSize(mWSpec), mExpectedW + 5);
154 final int size = View.MeasureSpec.getSize(spec);
155 int mode = View.MeasureSpec.getMode(spec)
    [all...]
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
ExpandingLayout.java 57 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mExpandedHeight, MeasureSpec.AT_MOST);
  /frameworks/base/core/java/android/widget/
DayPickerViewPager.java 60 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY ||
61 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY;
113 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
115 MeasureSpec.EXACTLY);
123 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(
125 MeasureSpec.EXACTLY);
  /frameworks/base/core/java/com/android/internal/widget/
DialogViewAnimator.java 44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY ||
45 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY;
114 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
117 MeasureSpec.EXACTLY);
126 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(
129 MeasureSpec.EXACTLY);
  /frameworks/support/browser/src/main/java/androidx/browser/browseractions/
BrowserActionsFallbackMenuView.java 50 widthMeasureSpec = MeasureSpec.makeMeasureSpec(contextMenuWidth, MeasureSpec.EXACTLY);

Completed in 1398 milliseconds

1 23 4 5 6 7 8 91011>>