/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | IconTest.java | 63 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithBitmap() 65 final Bitmap test2 = Bitmap.createBitmap(draw2.getIntrinsicWidth(), in testWithBitmap() 67 final Bitmap test3 = Bitmap.createBitmap(draw3.getIntrinsicWidth(), in testWithBitmap() 70 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); in testWithBitmap() 73 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); in testWithBitmap() 76 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); in testWithBitmap() 117 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithBitmapResource() 144 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testWithFile() 175 L(TAG, "asyncTest: thread: loaded: %dx%d", draw1.getIntrinsicWidth(), in testAsync() 177 final Bitmap test1 = Bitmap.createBitmap(draw1.getIntrinsicWidth(), in testAsync() [all …]
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 57 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicWidth()); in onCreate() 95 float sizeX = mDrawable.getIntrinsicWidth()/2; in onScale() 137 float sizeX = mDrawable.getIntrinsicWidth()/2; in setDrawable() 165 float sizeX = mDrawable.getIntrinsicWidth()/2; in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScalingDrawableWrapper.java | 35 public int getIntrinsicWidth() { in getIntrinsicWidth() method in ScalingDrawableWrapper 36 return (int) (super.getIntrinsicWidth() * mScaleFactor); in getIntrinsicWidth()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 67 int width = mDrawable.getIntrinsicWidth(); in ImageSpan() 141 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable() 150 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
|
D | DrawableMarginSpan.java | 38 return mDrawable.getIntrinsicWidth() + mPad; in getLeadingMargin() 49 int dw = mDrawable.getIntrinsicWidth(); in drawLeadingMargin()
|
/frameworks/base/core/java/android/widget/ |
D | AnalogClock.java | 99 mDialWidth = mDial.getIntrinsicWidth(); in AnalogClock() 192 int w = dial.getIntrinsicWidth(); in onDraw() 214 w = hourHand.getIntrinsicWidth(); in onDraw() 226 w = minuteHand.getIntrinsicWidth(); in onDraw()
|
D | CompoundButton.java | 374 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingLeft() 386 padding += buttonDrawable.getIntrinsicWidth(); in getCompoundPaddingRight() 398 return (buttonDrawable != null) ? buttonDrawable.getIntrinsicWidth() : 0; in getHorizontalOffsetForDrawables() 407 final int drawableWidth = buttonDrawable.getIntrinsicWidth(); in onDraw()
|
D | AbsSeekBar.java | 180 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb() 184 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb() 610 final int thumbWidth = thumb.getIntrinsicWidth(); 692 final int w = mTickMark.getIntrinsicWidth(); 732 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
|
D | ScrollBarDrawable.java | 284 return mVerticalTrack != null ? mVerticalTrack.getIntrinsicWidth() : in getSize() 285 mVerticalThumb != null ? mVerticalThumb.getIntrinsicWidth() : 0; in getSize()
|
D | TabWidget.java | 383 leftStrip.setBounds(Math.min(0, bounds.left - leftStrip.getIntrinsicWidth()), in dispatchDraw() 386 Math.max(getWidth(), bounds.right + rightStrip.getIntrinsicWidth()), myHeight); in dispatchDraw()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | UserIcons.java | 51 final int width = icon.getIntrinsicWidth(); in convertToBitmap() 75 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in getDefaultUserIcon()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 174 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addBitmapDrawable() 185 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addResourceDrawable() 208 + " w=" + d.getIntrinsicWidth() + " h=" + d.getIntrinsicHeight()); in addNinePatchResourceDrawable() 210 d.getIntrinsicWidth()*2, d.getIntrinsicHeight()*2)); in addNinePatchResourceDrawable()
|
/frameworks/support/v4/tests/java/android/support/v4/content/res/ |
D | ResourcesCompatTest.java | 160 expectedSizeForMediumDensity, unthemedDrawableForMediumDensity.getIntrinsicWidth()); in testGetDrawableForDensityUnthemed() 174 expectedSizeForHighDensity, unthemedDrawableForHighDensity.getIntrinsicWidth()); in testGetDrawableForDensityUnthemed() 187 expectedSizeForXHighDensity, unthemedDrawableForXHighDensity.getIntrinsicWidth()); in testGetDrawableForDensityUnthemed() 200 expectedSizeForXXHighDensity, unthemedDrawableForXXHighDensity.getIntrinsicWidth()); in testGetDrawableForDensityUnthemed()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in DrawableHolder() 203 return mDrawable.getIntrinsicWidth(); in getWidth()
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
D | DrawableWrapper.java | 125 public int getIntrinsicWidth() { in getIntrinsicWidth() method in DrawableWrapper 126 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 105 int drawableWidth = drawable.getIntrinsicWidth(); in captureValues() 171 int drawableWidth = drawable.getIntrinsicWidth(); in createAnimator()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | UserIconDrawable.java | 372 mIntrinsicRadius = Math.min(mUserDrawable.getIntrinsicWidth(), in onBoundsChange() 405 public int getIntrinsicWidth() { in getIntrinsicWidth() method in UserIconDrawable 411 return getIntrinsicWidth(); in getIntrinsicHeight()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 183 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in setIcon() 288 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon in positionIcon()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 75 public int getIntrinsicWidth() { in getIntrinsicWidth() method in PictureDrawable
|
D | InsetDrawable.java | 224 public int getIntrinsicWidth() { in getIntrinsicWidth() method in InsetDrawable 225 final int childWidth = getDrawable().getIntrinsicWidth(); in getIntrinsicWidth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockIcon.java | 155 || icon.getIntrinsicWidth() != iconWidth)) { in update() 291 public int getIntrinsicWidth() { in getIntrinsicWidth() method in LockIcon.IntrinsicSizeDrawable
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | DrawableWrapperDonut.java | 171 public int getIntrinsicWidth() { in getIntrinsicWidth() method in DrawableWrapperDonut 172 return mDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 335 mRemoteIndicator.getIntrinsicWidth() + getPaddingLeft() + getPaddingRight() : 0); in onMeasure() 381 final int drawWidth = mRemoteIndicator.getIntrinsicWidth(); in onDraw()
|
/frameworks/support/v4/tests/java/android/support/v4/testutils/ |
D | TestUtils.java | 72 int drawableWidth = drawable.getIntrinsicWidth(); in assertAllPixelsOfColor()
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
D | AnimatedVectorDrawableCompat.java | 305 public int getIntrinsicWidth() { in getIntrinsicWidth() method in AnimatedVectorDrawableCompat 307 return mDelegateDrawable.getIntrinsicWidth(); in getIntrinsicWidth() 309 return mAnimatedVectorState.mVectorDrawable.getIntrinsicWidth(); in getIntrinsicWidth()
|