/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | AppIconCacheManagerTest.java | 58 doReturn(10).when(mIcon).getIntrinsicHeight(); in setUp() 73 doReturn(iconSize).when(mIcon1).getIntrinsicHeight(); in setUp() 77 doReturn(iconSize).when(mIcon2).getIntrinsicHeight(); in setUp() 81 doReturn(iconSize).when(mIcon3).getIntrinsicHeight(); in setUp() 111 doReturn(-1).when(mIcon).getIntrinsicHeight(); in put_invalidIconSize_shouldNotCacheIcon()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 99 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 101 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 103 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 105 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); in testWithBitmap() 108 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); in testWithBitmap() 111 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); in testWithBitmap() 171 … (int)(draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap() 176 … (int) (draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()))); in testWithAdaptiveBitmap() 200 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource() 236 if (stat_sys_adb.getIntrinsicHeight() != stat_sys_adb_height) { in testWithStatSysAdbResource() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScalingDrawableWrapper.java | 40 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ScalingDrawableWrapper 41 return (int) (super.getIntrinsicHeight() * mScaleFactor); in getIntrinsicHeight()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineButtonsTest.java | 65 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/ |
D | ImageSpan.java | 117 int height = mDrawable.getIntrinsicHeight(); in ImageSpan() 240 drawable.getIntrinsicHeight()); in getDrawable() 249 drawable.getIntrinsicHeight()); in getDrawable()
|
D | DrawableMarginSpan.java | 90 int dh = mDrawable.getIntrinsicHeight(); in drawLeadingMargin() 102 int ht = mDrawable.getIntrinsicHeight(); in chooseHeight()
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 96 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/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonDrawable.java | 112 mState.mBaseHeight = d.getIntrinsicHeight(); in KeyButtonDrawable() 244 public int getIntrinsicHeight() { in getIntrinsicHeight() method in KeyButtonDrawable 296 canvas.rotate(mState.mRotateDegrees, getIntrinsicWidth() / 2, getIntrinsicHeight() / 2); in draw() 332 final int height = getIntrinsicHeight(); in regenerateBitmapIconCache() 360 final int height = getIntrinsicHeight(); in regenerateBitmapShadowCache() 408 getIntrinsicHeight() - offsetY); in setDrawableBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 108 mState.mBaseHeight = d.getIntrinsicHeight(); in KeyButtonDrawable() 240 public int getIntrinsicHeight() { in getIntrinsicHeight() method in KeyButtonDrawable 292 canvas.rotate(mState.mRotateDegrees, getIntrinsicWidth() / 2, getIntrinsicHeight() / 2); in draw() 328 final int height = getIntrinsicHeight(); in regenerateBitmapIconCache() 356 final int height = getIntrinsicHeight(); in regenerateBitmapShadowCache() 404 getIntrinsicHeight() - offsetY); in setDrawableBounds()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppIconCacheManager.java | 47 return drawable.getIntrinsicHeight() * drawable.getIntrinsicWidth() * 4 / 1024; in AppIconCacheManager() 71 if (key == null || drawable == null || drawable.getIntrinsicHeight() < 0 in put()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 175 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/util/ |
D | UserIcons.java | 49 return convertToBitmapAtSize(icon, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in convertToBitmap() 98 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in getDefaultUserIconInColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithm.java | 492 - ambientState.getShelf().getIntrinsicHeight() in initAlgorithmState() 565 final float shelfHeight = showingShelf ? ambientState.getShelf().getIntrinsicHeight() : 0f; in getExpansionFractionWithoutShelf() 660 + view.getIntrinsicHeight(); 674 + view.getIntrinsicHeight(); 710 - ambientState.getShelf().getIntrinsicHeight() 725 algorithmState.mCurrentExpandedYPosition += view.getIntrinsicHeight() 889 childState.height = Math.max(row.getIntrinsicHeight(), childState.height); in updateHeadsUpStates() 904 childState.height = row.getIntrinsicHeight(); in updateHeadsUpStates() 1029 return expandableView.getIntrinsicHeight(); in getMaxAllowedChildHeight() 1108 ambientState.getShelf().getIntrinsicHeight(); in updateChildZValue() [all …]
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | IconsContentProvider.java | 85 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in getBitmap() 91 drawable.getIntrinsicHeight(), in getBitmap()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 56 mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(), mDrawable.getIntrinsicHeight()); in DrawableHolder() 207 return mDrawable.getIntrinsicHeight(); in getHeight()
|
D | MessagingImageMessage.java | 111 int intrinsicHeight = drawable.getIntrinsicHeight(); in setMessage() 225 && measuredHeight != mDrawable.getIntrinsicHeight(); in getMeasuredType() 229 if (!mIsIsolated && measuredHeight != mDrawable.getIntrinsicHeight()) { in getMeasuredType()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessSliderView.java | 217 int height = (int) (mProgressDrawable.getIntrinsicHeight() * mScale); in applySliderScale() 218 int inset = (mProgressDrawable.getIntrinsicHeight() - height) / 2; in applySliderScale()
|
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 215 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb() 678 final int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight(); 722 final int thumbHeight = thumb.getIntrinsicHeight(); 848 final int h = mTickMark.getIntrinsicHeight(); 884 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight(); 889 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight()));
|
D | AnalogClock.java | 220 mDialHeight = mDial.getIntrinsicHeight(); in AnalogClock() 228 mDialHeight = mDial.getIntrinsicHeight(); in setDial() 689 int h = dial.getIntrinsicHeight(); in onDraw() 711 h = hourHand.getIntrinsicHeight(); in onDraw() 723 h = minuteHand.getIntrinsicHeight(); in onDraw() 736 h = secondHand.getIntrinsicHeight(); in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | PlaceHolderDrawable.kt | 20 override fun getIntrinsicHeight(): Int { in getIntrinsicHeight() method in com.android.systemui.statusbar.notification.row.PlaceHolderDrawable
|
/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 103 int drawableHeight = drawable.getIntrinsicHeight(); in captureValues() 163 int drawableHeight = drawable.getIntrinsicHeight(); in createAnimator()
|
/frameworks/base/core/java/android/content/pm/ |
D | ArchivedActivityInfo.java | 100 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap() 107 drawable.getIntrinsicHeight(), in drawableToBitmap()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 80 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PictureDrawable
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 124 public int getIntrinsicHeight() { in getIntrinsicHeight() method in FrameSequenceDrawable
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
D | IconsContentProviderTest.java | 49 assertThat(expected.getIntrinsicHeight()).isGreaterThan(0); in testLoadResource()
|