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

1 2

  /frameworks/base/core/java/android/view/animation/
TranslateAnimation.java 165 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth);
166 mToXDelta = resolveSize(mToXType, mToXValue, width, parentWidth);
167 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
168 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
RotateAnimation.java 162 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
163 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
ScaleAnimation.java 183 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
184 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
Animation.java 853 protected float resolveSize(int type, float value, int size, int parentSize) {
    [all...]
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec),
82 resolveSize(mCellHeight*count, heightMeasureSpec));
  /packages/apps/Phone/src/com/android/phone/
ButtonGridLayout.java 168 * use 'resolveSize' to do the right thing.
173 final int width = resolveSize(mWidth, widthMeasureSpec);
174 final int height = resolveSize(mHeight, heightMeasureSpec);
InCallMenuView.java 356 setMeasuredDimension(resolveSize(Integer.MAX_VALUE, widthMeasureSpec),
357 resolveSize(desiredHeight, heightMeasureSpec));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PictureLayout.java 105 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec),
106 resolveSize(maxHeight, heightMeasureSpec));
CameraPreview.java 119 final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec);
120 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec);
  /frameworks/base/core/java/android/widget/
AbsoluteLayout.java 91 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec),
92 resolveSize(maxHeight, heightMeasureSpec));
AbsSeekBar.java 278 setMeasuredDimension(resolveSize(dw, widthMeasureSpec),
279 resolveSize(dh, heightMeasureSpec));
AnalogClock.java 149 setMeasuredDimension(resolveSize((int) (mDialWidth * scale), widthMeasureSpec),
150 resolveSize((int) (mDialHeight * scale), heightMeasureSpec));
RatingBar.java 283 setMeasuredDimension(resolveSize(width, widthMeasureSpec), mMeasuredHeight);
AbsSpinner.java 226 heightSize = resolveSize(preferredHeight, heightMeasureSpec);
227 widthSize = resolveSize(preferredWidth, widthMeasureSpec);
FrameLayout.java 271 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec),
272 resolveSize(maxHeight, heightMeasureSpec));
ImageView.java 705 widthSize = resolveSize(w, widthMeasureSpec);
706 heightSize = resolveSize(h, heightMeasureSpec);
    [all...]
ProgressBar.java 874 setMeasuredDimension(resolveSize(dw, widthMeasureSpec),
875 resolveSize(dh, heightMeasureSpec));
LinearLayout.java 486 heightSize = resolveSize(heightSize, heightMeasureSpec);
571 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec), heightSize);
    [all...]
RelativeLayout.java 436 width = resolveSize(width, widthMeasureSpec);
466 height = resolveSize(height, heightMeasureSpec);
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
EvenlySpacedLayout.java 65 setMeasuredDimension(resolveSize(width, widthMeasureSpec),
66 resolveSize(height, heightMeasureSpec));
  /cts/tests/tests/view/src/android/view/animation/cts/
AnimationTest.java 741 notes = "Test {@link Animation#resolveSize(int, float, int, int)}",
742 method = "resolveSize",
748 assertEquals(1.0f, myAnimation.resolveSize(Animation.ABSOLUTE, 1.0f, 0, 0));
749 assertEquals(2.0f, myAnimation.resolveSize(Animation.ABSOLUTE, 2.0f, 0, 0));
751 assertEquals(6.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_SELF, 3.0f, 2, 0));
752 assertEquals(9.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_SELF, 3.0f, 3, 0));
754 assertEquals(18.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_PARENT, 3.0f, 0, 6));
755 assertEquals(12.0f, myAnimation.resolveSize(Animation.RELATIVE_TO_PARENT, 3.0f, 0, 4));
758 assertEquals(8.0f, myAnimation.resolveSize(unknownType, 8.0f, 3, 4));
759 assertEquals(10.0f, myAnimation.resolveSize(unknownType, 10.0f, 3, 4))
    [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/view/menu/
IconMenuView.java 471 int measuredWidth = resolveSize(Integer.MAX_VALUE, widthMeasureSpec);
483 resolveSize(desiredHeight, heightMeasureSpec));
  /packages/apps/Contacts/src/com/android/contacts/
ContactListItemView.java 135 int width = resolveSize(0, widthMeasureSpec);
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java     [all...]

Completed in 703 milliseconds

1 2