/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 67 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 69 draw2.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 71 draw3.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmap() 73 draw1.setBounds(0, 0, draw1.getIntrinsicWidth(), draw1.getIntrinsicHeight()); in testWithBitmap() 76 draw2.setBounds(0, 0, draw2.getIntrinsicWidth(), draw2.getIntrinsicHeight()); in testWithBitmap() 79 draw3.setBounds(0, 0, draw3.getIntrinsicWidth(), draw3.getIntrinsicHeight()); in testWithBitmap() 139 … (int)(draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap() 144 … (int) (draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()))); in testWithAdaptiveBitmap() 168 draw1.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); in testWithBitmapResource() 204 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()
|
D | NotificationShelfController.java | 118 public int getIntrinsicHeight() { in getIntrinsicHeight() method in NotificationShelfController 119 return mView.getIntrinsicHeight(); in getIntrinsicHeight()
|
D | NotificationShelf.java | 213 viewState.height = getIntrinsicHeight(); in updateState() 399 notificationClipEnd = shelfStart + getIntrinsicHeight(); in updateAppearance() 458 || clipTopAmount >= getIntrinsicHeight() in updateAppearance() 699 getIntrinsicHeight()); 702 fullHeight = Math.min(fullHeight, view.getMinHeight() - getIntrinsicHeight()); 705 view.getMinHeight() - getIntrinsicHeight()); 864 return -(getIntrinsicHeight() - mStatusBarHeight) / 2; in getFullyClosedTranslation()
|
/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/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppIconCacheManager.java | 44 return drawable.getIntrinsicHeight() * drawable.getIntrinsicWidth() * 4 / 1024; in AppIconCacheManager() 68 if (key == null || drawable == null || drawable.getIntrinsicHeight() < 0 in put()
|
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | AppIconCacheManagerTest.java | 48 doReturn(10).when(mIcon).getIntrinsicHeight(); in setUp() 78 doReturn(-1).when(mIcon).getIntrinsicHeight(); in put_invalidIconSize_shouldNotCacheIcon()
|
/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/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/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 | 427 - ambientState.getShelf().getIntrinsicHeight() in initAlgorithmState() 500 final float shelfHeight = showingShelf ? ambientState.getShelf().getIntrinsicHeight() : 0f; in getExpansionFractionWithoutShelf() 592 + view.getIntrinsicHeight(); 627 - ambientState.getShelf().getIntrinsicHeight() 638 algorithmState.mCurrentExpandedYPosition += view.getIntrinsicHeight() 780 childState.height = Math.max(row.getIntrinsicHeight(), childState.height); in updateHeadsUpStates() 788 childState.height = row.getIntrinsicHeight(); in updateHeadsUpStates() 874 return expandableView.getIntrinsicHeight(); in getMaxAllowedChildHeight() 953 ambientState.getShelf().getIntrinsicHeight(); in updateChildZValue() 957 float notificationEnd = childViewState.getYTranslation() + child.getIntrinsicHeight() in updateChildZValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessSliderView.java | 199 int height = (int) (mProgressDrawable.getIntrinsicHeight() * mScale); in applySliderScale() 200 int inset = (mProgressDrawable.getIntrinsicHeight() - height) / 2; in applySliderScale()
|
/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 | 110 int intrinsicHeight = drawable.getIntrinsicHeight(); in setMessage() 209 && measuredHeight != mDrawable.getIntrinsicHeight(); in getMeasuredType() 213 if (!mIsIsolated && measuredHeight != mDrawable.getIntrinsicHeight()) { in getMeasuredType()
|
/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/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 | 214 mDialHeight = mDial.getIntrinsicHeight(); in AnalogClock() 222 mDialHeight = mDial.getIntrinsicHeight(); in setDial() 684 int h = dial.getIntrinsicHeight(); in onDraw() 706 h = hourHand.getIntrinsicHeight(); in onDraw() 718 h = minuteHand.getIntrinsicHeight(); in onDraw() 731 h = secondHand.getIntrinsicHeight(); in onDraw()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeImageTransform.java | 101 int drawableHeight = drawable.getIntrinsicHeight(); in captureValues() 159 int drawableHeight = drawable.getIntrinsicHeight(); in createAnimator()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 80 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PictureDrawable
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | FixedScaleDrawable.java | 43 float h = getIntrinsicHeight(); in setScale()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
D | IconsContentProviderTest.java | 49 assertThat(expected.getIntrinsicHeight()).isGreaterThan(0); in testLoadResource()
|