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

1 2 3

  /packages/apps/LegacyCamera/src/com/android/camera/ui/
StackLayout.java 44 setMeasuredDimension(resolveSize(width, widthMeasureSpec),
45 resolveSize(height, heightMeasureSpec));
  /frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
ErrorCatcher.java 60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
61 resolveSize(child.getMeasuredHeight(), heightMeasureSpec));
65 setMeasuredDimension(resolveSize(0, widthMeasureSpec),
66 resolveSize(0, heightMeasureSpec));
ThemePreviewLayout.java 163 setMeasuredDimension(resolveSize(totalWidth, widthMeasureSpec),
164 resolveSize(totalHeight, heightMeasureSpec));
  /frameworks/base/core/java/android/view/animation/
ClipRectAnimation.java 158 mFromRect.set((int) resolveSize(mFromLeftType, mFromLeftValue, width, parentWidth),
159 (int) resolveSize(mFromTopType, mFromTopValue, height, parentHeight),
160 (int) resolveSize(mFromRightType, mFromRightValue, width, parentWidth),
161 (int) resolveSize(mFromBottomType, mFromBottomValue, height, parentHeight));
162 mToRect.set((int) resolveSize(mToLeftType, mToLeftValue, width, parentWidth),
163 (int) resolveSize(mToTopType, mToTopValue, height, parentHeight),
164 (int) resolveSize(mToRightType, mToRightValue, width, parentWidth),
165 (int) resolveSize(mToBottomType, mToBottomValue, height, parentHeight));
TranslateAnimation.java 173 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth);
174 mToXDelta = resolveSize(mToXType, mToXValue, width, parentWidth);
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
176 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
RotateAnimation.java 180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
ScaleAnimation.java 286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
  /packages/apps/Dialer/java/com/android/dialer/dialpadview/
DialpadTextView.java 67 int width = resolveSize(textBounds.width(), widthMeasureSpec);
68 int height = resolveSize(textBounds.height(), heightMeasureSpec);
  /packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DialpadTextView.java 68 int width = resolveSize(mTextBounds.width(), widthMeasureSpec);
69 int height = resolveSize(mTextBounds.height(), heightMeasureSpec);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
FixedGridLayout.java 70 setMeasuredDimension(resolveSize(mCellWidth * minCount, widthMeasureSpec),
71 resolveSize(mCellHeight * minCount, heightMeasureSpec));
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec),
82 resolveSize(mCellHeight*count, heightMeasureSpec));
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
FitCenterFrameLayout.java 39 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec);
40 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec);
CameraFragment.java 216 final int width = resolveSize(getSuggestedMinimumWidth(),
218 final int height = resolveSize(getSuggestedMinimumHeight(),
  /packages/apps/Contacts/src/com/android/contacts/widget/
ProportionalLayout.java 118 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec));
InterpolatingLayout.java 275 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PictureLayout.java 104 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec),
105 resolveSize(maxHeight, heightMeasureSpec));
CameraPreview.java 210 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec);
211 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec);
  /packages/apps/Gallery/src/com/android/camera/
EvenlySpacedLayout.java 65 setMeasuredDimension(resolveSize(width, widthMeasureSpec),
66 resolveSize(height, heightMeasureSpec));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java 99 View.resolveSize(0, 0);
104 View.resolveSize(0, 0);
111 View.resolveSize(0, 0);
  /packages/apps/Messaging/src/com/android/messaging/ui/
AsyncImageView.java 332 final int minimumWidth = resolveSize(
334 final int minimumHeight = resolveSize(
343 height = resolveSize((int) (minimumWidth / aspectRatio),
349 width = resolveSize((int) (minimumHeight * aspectRatio),
357 private static int resolveSize(int desiredSize, int maxSize, int measureSpec) {
  /cts/tests/tests/view/src/android/view/animation/cts/
AnimationTest.java 495 assertEquals(1.0f, myAnimation.resolveSize(Animation.ABSOLUTE, 1.0f, 0, 0),
497 assertEquals(2.0f, myAnimation.resolveSize(Animation.ABSOLUTE, 2.0f, 0, 0),
500 assertEquals(6.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_SELF, 3.0f, 2, 0),
502 assertEquals(9.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_SELF, 3.0f, 3, 0),
505 assertEquals(18.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_PARENT, 3.0f, 0, 6),
507 assertEquals(12.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_PARENT, 3.0f, 0, 4),
511 assertEquals(8.0f, myAnimation.resolveSize(unknownType, 8.0f, 3, 4), COMPARISON_DELTA);
512 assertEquals(10.0f, myAnimation.resolveSize(unknownType, 10.0f, 3, 4), COMPARISON_DELTA);
729 protected float resolveSize(int type, float value, int size, int parentSize) {
730 return super.resolveSize(type, value, size, parentSize)
    [all...]
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 138 int measuredWidth = resolveSize(50, widthMeasureSpec);
149 resolveSize(desiredHeight, heightMeasureSpec));
  /frameworks/base/core/java/com/android/internal/widget/
NotificationActionListLayout.java 155 setMeasuredDimension(resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec),
156 resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec));
  /frameworks/base/core/java/com/android/internal/view/menu/
IconMenuView.java 407 int measuredWidth = resolveSize(Integer.MAX_VALUE, widthMeasureSpec);
419 resolveSize(desiredHeight, heightMeasureSpec));
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
PrintContentView.java 267 setMeasuredDimension(resolveSize(MeasureSpec.getSize(widthMeasureSpec), widthMeasureSpec),
268 resolveSize(heightSize, heightMeasureSpec));

Completed in 912 milliseconds

1 2 3