HomeSort by relevance Sort by last modified time
    Searched refs:widthSpec (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /packages/apps/LegacyCamera/src/com/android/camera/ui/
ControlPanelLayout.java 40 protected void onMeasure(int widthSpec, int heightSpec) {
41 int widthSpecSize = MeasureSpec.getSize(widthSpec);
50 mode = MeasureSpec.getMode(widthSpec);
81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY);
86 super.onMeasure(widthSpec, heightSpec);
RotateLayout.java 65 protected void onMeasure(int widthSpec, int heightSpec) {
70 measureChild(mChild, widthSpec, heightSpec);
76 measureChild(mChild, heightSpec, widthSpec);
IndicatorControlWheelContainer.java 117 protected void onMeasure(int widthSpec, int heightSpec) {
128 int widthMode = MeasureSpec.getMode(widthSpec);
134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec));
136 measuredWidth = MeasureSpec.getSize(widthSpec);
  /packages/apps/Camera2/src/com/android/camera/ui/
RotateLayout.java 70 protected void onMeasure(int widthSpec, int heightSpec) {
75 measureChild(mChild, widthSpec, heightSpec);
81 measureChild(mChild, heightSpec, widthSpec);
  /external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
SurfaceViewRendererOnMeasureTest.java 74 int widthSpec, int heightSpec) {
76 surfaceViewRenderer.onMeasure(widthSpec, heightSpec);
81 + MeasureSpec.toString(widthSpec) + ", " + MeasureSpec.toString(heightSpec) + ")"
181 final int widthSpec = MeasureSpec.makeMeasureSpec(720, MeasureSpec.AT_MOST);
187 expectedSize.x, expectedSize.y, widthSpec, heightSpec);
193 final int widthSpec = MeasureSpec.makeMeasureSpec(720, MeasureSpec.EXACTLY);
199 expectedSize.x, expectedSize.y, widthSpec, heightSpec);
204 final int widthSpec = MeasureSpec.makeMeasureSpec(720, MeasureSpec.AT_MOST);
208 720, 1280, widthSpec, heightSpec);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
MeasureHelper.java 45 public void measure(int widthSpec, int heightSpec) {
48 getLength(widthSpec, mPreferredWidth + p.left + p.right),
GLView.java 365 public void measure(int widthSpec, int heightSpec) {
366 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec
371 mLastWidthSpec = widthSpec;
375 onMeasure(widthSpec, heightSpec);
382 protected void onMeasure(int widthSpec, int heightSpec) {
  /packages/apps/LegacyCamera/src/com/android/camera/
PreviewFrameLayout.java 63 protected void onMeasure(int widthSpec, int heightSpec) {
64 int previewWidth = MeasureSpec.getSize(widthSpec);
  /frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
StickyHeaderRecyclerView.java 75 protected void onMeasure(int widthSpec, int heightSpec) {
76 super.onMeasure(widthSpec, heightSpec);
78 measureChild(getHeader(), widthSpec, heightSpec);
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
WrapContentBasicTest.java 216 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) {
217 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
221 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec,
223 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
227 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec,
229 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
BaseRecyclerViewInstrumentationTest.java 733 public void setMeasuredDimensionFromChildren(int widthSpec, int heightSpec) {
734 super.setMeasuredDimensionFromChildren(widthSpec, heightSpec);
738 public boolean shouldReMeasureChild(View child, int widthSpec, int heightSpec,
740 return super.shouldReMeasureChild(child, widthSpec, heightSpec, lp);
744 public boolean shouldMeasureChild(View child, int widthSpec, int heightSpec,
746 return super.shouldMeasureChild(child, widthSpec, heightSpec, lp);
    [all...]
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
HierarchicalMove.java 100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT;
101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT);
  /development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java 183 final int widthSpec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY);
185 mButton.measure(widthSpec, heightSpec);
242 int widthSpec;
255 widthSpec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY);
257 view.measure(widthSpec, heightSpec);
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
SurfaceViewRenderer.java 322 private Point getDesiredLayoutSize(int widthSpec, int heightSpec) {
324 final int maxWidth = getDefaultSize(Integer.MAX_VALUE, widthSpec);
328 if (MeasureSpec.getMode(widthSpec) == MeasureSpec.EXACTLY) {
340 protected void onMeasure(int widthSpec, int heightSpec) {
343 super.onMeasure(widthSpec, heightSpec);
346 desiredLayoutSize = getDesiredLayoutSize(widthSpec, heightSpec);
  /frameworks/support/design/src/android/support/design/widget/
NavigationView.java 213 protected void onMeasure(int widthSpec, int heightSpec) {
214 switch (MeasureSpec.getMode(widthSpec)) {
219 widthSpec = MeasureSpec.makeMeasureSpec(
220 Math.min(MeasureSpec.getSize(widthSpec), mMaxWidth), MeasureSpec.EXACTLY);
223 widthSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY);
227 super.onMeasure(widthSpec, heightSpec);
  /frameworks/base/core/java/android/widget/
ListPopupWindow.java 624 final int widthSpec;
628 widthSpec = -1;
630 widthSpec = getAnchorView().getWidth();
632 widthSpec = mDropDownWidth;
658 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec,
661 final int widthSpec;
663 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT;
666 widthSpec = getAnchorView().getWidth();
668 widthSpec = mDropDownWidth
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ListPopupWindow.java 656 final int widthSpec;
660 widthSpec = -1;
662 widthSpec = getAnchorView().getWidth();
664 widthSpec = mDropDownWidth;
690 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec,
693 final int widthSpec;
695 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT;
698 widthSpec = getAnchorView().getWidth();
700 widthSpec = mDropDownWidth
    [all...]
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
NotificationShadeActivity.java 131 int widthSpec = MeasureSpec.makeMeasureSpec(getWidth(), MeasureSpec.AT_MOST);
133 child.measure(widthSpec, heightSpec);
  /frameworks/support/transition/src/android/support/transition/
TransitionUtils.java 60 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY);
62 copy.measure(widthSpec, heightSpec);
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardSecurityViewFlipper.java 191 protected void onMeasure(int widthSpec, int heightSpec) {
192 final int widthMode = MeasureSpec.getMode(widthSpec);
195 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) +
203 final int widthSize = MeasureSpec.getSize(widthSpec);
  /packages/apps/Car/Radio/src/com/android/car/radio/
CarouselView.java 189 protected void onMeasure(int widthSpec, int heightSpec) {
204 int widthMode = MeasureSpec.getMode(widthSpec);
218 requestedWidth = MeasureSpec.getSize(widthSpec);
  /frameworks/base/core/java/android/transition/
TransitionUtils.java 106 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY);
108 copy.measure(widthSpec, heightSpec);
  /packages/apps/Contacts/src/com/android/contacts/list/
PinnedHeaderListView.java 363 int widthSpec;
367 widthSpec = View.MeasureSpec
370 widthSpec = View.MeasureSpec
380 view.measure(widthSpec, heightSpec);
  /packages/apps/Dialer/java/com/android/contacts/common/list/
PinnedHeaderListView.java 308 int widthSpec;
312 widthSpec = View.MeasureSpec.makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY);
314 widthSpec = View.MeasureSpec.makeMeasureSpec(mHeaderWidth, View.MeasureSpec.EXACTLY);
323 view.measure(widthSpec, heightSpec);
  /frameworks/base/core/java/com/android/internal/widget/
SubtitleView.java 220 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec);
222 if (computeMeasurements(widthSpec)) {

Completed in 2248 milliseconds

1 2 3 4 5