Home
last modified time | relevance | path

Searched refs:getIntrinsicHeight (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DMipmapDrawableTest.java127 mMipmapDrawable.setBounds(new Rect(0, 0, 0, item.getIntrinsicHeight() - 1)); in testSetBoundsOneItem()
130 mMipmapDrawable.setBounds(new Rect(0, 0, 0, item.getIntrinsicHeight())); in testSetBoundsOneItem()
133 mMipmapDrawable.setBounds(new Rect(0, 0, 0, item.getIntrinsicHeight() + 1)); in testSetBoundsOneItem()
147 mMipmapDrawable.setBounds(new Rect(0, 0, 0, small.getIntrinsicHeight() - 1)); in testSetBounds()
150 mMipmapDrawable.setBounds(new Rect(0, 0, 0, small.getIntrinsicHeight())); in testSetBounds()
153 mMipmapDrawable.setBounds(new Rect(0, 0, 0, small.getIntrinsicHeight() + 1)); in testSetBounds()
156 mMipmapDrawable.setBounds(new Rect(0, 0, 0, medium.getIntrinsicHeight() - 1)); in testSetBounds()
159 mMipmapDrawable.setBounds(new Rect(0, 0, 0, medium.getIntrinsicHeight())); in testSetBounds()
162 mMipmapDrawable.setBounds(new Rect(0, 0, 0, medium.getIntrinsicHeight() + 1)); in testSetBounds()
165 mMipmapDrawable.setBounds(new Rect(0, 0, 0, large.getIntrinsicHeight() - 1)); in testSetBounds()
[all …]
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java116 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
234 int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
272 int thumbHeight = thumb.getIntrinsicHeight();
311 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
316 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
DAnalogClock.java92 mDialHeight = mDial.getIntrinsicHeight(); in AnalogClock()
177 int h = dial.getIntrinsicHeight(); in onDraw()
199 h = hourHand.getIntrinsicHeight(); in onDraw()
211 h = minuteHand.getIntrinsicHeight(); in onDraw()
DCheckedTextView.java133 setMinHeight(d.getIntrinsicHeight()); in setCheckMarkDrawable()
174 final int height = checkMarkDrawable.getIntrinsicHeight(); in onDraw()
DCompoundButton.java205 setMinHeight(mButtonDrawable.getIntrinsicHeight()); in setButtonDrawable()
231 final int height = buttonDrawable.getIntrinsicHeight(); in onDraw()
DEdgeEffect.java303 final int edgeHeight = mEdge.getIntrinsicHeight(); in draw()
305 final int glowHeight = mGlow.getIntrinsicHeight(); in draw()
DTabWidget.java349 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight); in dispatchDraw()
350 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(), in dispatchDraw()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java65 int pauseHeight = Math.max(mPause.getDrawable().getIntrinsicHeight() in testLayout()
68 int prevHeight = Math.max(mPrev.getDrawable().getIntrinsicHeight() + mPrev.getPaddingTop() in testLayout()
71 int nextHeight = Math.max(mNext.getDrawable().getIntrinsicHeight() + mNext.getPaddingTop() in testLayout()
/frameworks/base/core/java/android/text/style/
DImageSpan.java67 int height = mDrawable.getIntrinsicHeight(); in ImageSpan()
141 drawable.getIntrinsicHeight()); in getDrawable()
150 drawable.getIntrinsicHeight()); in getDrawable()
DDrawableMarginSpan.java51 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin()
62 int ht = mDrawable.getIntrinsicHeight(); in chooseHeight()
/frameworks/base/graphics/java/android/graphics/drawable/
DMipmapDrawable.java246 final int drawableHeight = drawable.getIntrinsicHeight(); in addDrawable()
250 final int previousIntrinsicHeight = previousDrawable.getIntrinsicHeight(); in addDrawable()
279 mConstantHeight = largestDrawable.getIntrinsicHeight(); in computeConstantSize()
DScaleDrawable.java222 final int ih = min ? mScaleState.mDrawable.getIntrinsicHeight() : 0; in onBoundsChange()
239 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ScaleDrawable
240 return mScaleState.mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
DPictureDrawable.java84 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PictureDrawable
DClipDrawable.java230 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ClipDrawable
231 return mClipState.mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
DInsetDrawable.java237 public int getIntrinsicHeight() { in getIntrinsicHeight() method in InsetDrawable
238 return mInsetState.mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
DRotateDrawable.java188 public int getIntrinsicHeight() { in getIntrinsicHeight() method in RotateDrawable
189 return mState.mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
DAnimatedRotateDrawable.java207 public int getIntrinsicHeight() { in getIntrinsicHeight() method in AnimatedRotateDrawable
208 return mState.mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
DDrawableContainer.java216 public int getIntrinsicHeight() { in getIntrinsicHeight() method in DrawableContainer
220 return mCurrDrawable != null ? mCurrDrawable.getIntrinsicHeight() : -1; in getIntrinsicHeight()
623 s = dr.getIntrinsicHeight(); in computeConstantSize()
DDrawable.java667 public int getIntrinsicHeight() { in getIntrinsicHeight() method in Drawable
695 final int intrinsicHeight = getIntrinsicHeight(); in getMinimumHeight()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java142 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); in resizeDrawables()
155 mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in resizeDrawables()
204 return mDrawable != null ? mDrawable.getIntrinsicHeight() : 0; in getHeight()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java96 float sizeY = mDrawable.getIntrinsicHeight()/2; in onScale()
138 float sizeY = mDrawable.getIntrinsicHeight()/2; in setDrawable()
166 float sizeY = mDrawable.getIntrinsicHeight()/2; in onTouchEvent()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java175 d.getIntrinsicHeight())); in addBitmapDrawable()
186 d.getIntrinsicHeight())); in addResourceDrawable()
208 + " w=" + d.getIntrinsicWidth() + " h=" + d.getIntrinsicHeight()); in addNinePatchResourceDrawable()
210 d.getIntrinsicWidth()*2, d.getIntrinsicHeight()*2)); in addNinePatchResourceDrawable()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in DrawableHolder()
207 return mDrawable.getIntrinsicHeight(); in getHeight()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java180 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in setIcon()
286 .getIntrinsicHeight(), mPositionIconAvailable, mPositionIconOutput, in positionIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DNotificationLinearLayout.java78 final int glowHeight = glow.getIntrinsicHeight(); in onDraw()

123