Home
last modified time | relevance | path

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

1234

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java101 height = Math.max(height, resources.videoCall.getIntrinsicHeight()); in setShowVideo()
119 height = Math.max(height, resources.hdCall.getIntrinsicHeight()); in setShowHd()
133 height = Math.max(height, resources.wifiCall.getIntrinsicHeight()); in setShowWifi()
146 height = Math.max(height, resources.assistedDialedCall.getIntrinsicHeight()); in setShowAssistedDialed()
155 height = Math.max(height, resources.rttCall.getIntrinsicHeight()); in setShowRtt()
207 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight()); in onDraw()
237 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight()); in addDrawable()
356 * ((float) scaledHeight / (float) drawable.getIntrinsicHeight())); in getScaledBitmap()
/packages/apps/Messaging/src/com/android/messaging/ui/
DOrientedBitmapDrawable.java61 return super.getIntrinsicHeight(); in getIntrinsicWidth()
67 public int getIntrinsicHeight() { in getIntrinsicHeight() method in OrientedBitmapDrawable
71 return super.getIntrinsicHeight(); in getIntrinsicHeight()
83 Gravity.apply(getGravity(), getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), in draw()
DPlaceholderInsetDrawable.java46 final int drawableHeight = drawable.getIntrinsicHeight(); in fromDrawable()
69 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PlaceholderInsetDrawable
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/grid/
DGridOffsetItemDecoration.java105 outRect.top = mOffsetDrawable.getIntrinsicHeight(); in getItemOffsets()
120 outRect.bottom = mOffsetDrawable.getIntrinsicHeight(); in getItemOffsets()
139 int offsetDrawableBottom = parentTop + mOffsetDrawable.getIntrinsicHeight(); in onDraw()
155 offsetDrawableBottom = offsetDrawableTop + mOffsetDrawable.getIntrinsicHeight(); in onDraw()
DGridDividerItemDecoration.java82 mHorizontalDivider.getIntrinsicHeight()); in getItemOffsets()
155 int dividerTop = dividerBottom - mVerticalDivider.getIntrinsicHeight(); in drawVerticalDividers()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapUtils.java148 if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in fromDrawable()
153 bitmapSize = new Size(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in fromDrawable()
155 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); in fromDrawable()
157 drawable.getIntrinsicHeight()); in fromDrawable()
/packages/apps/Dialer/java/com/android/dialer/util/
DDrawableConverter.java59 } else if (drawable.getIntrinsicWidth() <= 0 || drawable.getIntrinsicHeight() <= 0) { in drawableToBitmap()
66 drawable.getIntrinsicHeight(), in drawableToBitmap()
92 drawable.setCornerRadius(drawable.getIntrinsicHeight() / 2); in getRoundedDrawable()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java399 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
400 …s(0, oldBitmapOffset, oldDrawable.getIntrinsicWidth(), oldDrawable.getIntrinsicHeight()+oldBitmapO… in combine()
408 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()
409 …itmapOffset, 0, oldDrawable.getIntrinsicWidth()+oldBitmapOffset, oldDrawable.getIntrinsicHeight()); in combine()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/linear/
DLinearOffsetItemDecoration.java133 outRect.top = mOffsetDrawable.getIntrinsicHeight(); in getItemOffsets()
135 outRect.bottom = mOffsetDrawable.getIntrinsicHeight(); in getItemOffsets()
198 offsetDrawableBottom = parentTop + mOffsetDrawable.getIntrinsicHeight(); in drawOffsetVertical()
DLinearDividerItemDecoration.java88 outRect.top = mDivider.getIntrinsicHeight(); in getItemOffsets()
143 int parentBottom = parentTop + mDivider.getIntrinsicHeight(); in drawVerticalDividers()
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java111 int height = mResizeDrawableDiagonal.getIntrinsicHeight(); in draw()
121 y + mResizeDrawableDiagonal.getIntrinsicHeight()); in draw()
132 mResizeDrawableWidth.getIntrinsicHeight() / 2; in draw()
134 mResizeDrawableHeight.getIntrinsicHeight() / 2; in draw()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java183 final float targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top in getTargetInset()
642 final int sweepHeight = mSweep.getIntrinsicHeight();
653 setMeasuredDimension(mSweep.getIntrinsicWidth(), mSweep.getIntrinsicHeight());
657 final int targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top
729 mSweepOffset.y + mSweep.getIntrinsicHeight());
DChartGridView.java112 final int secondaryHeight = secondary.getIntrinsicHeight(); in onDraw()
125 final int primaryHeight = primary.getIntrinsicHeight(); in onDraw()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartSweepView.java184 final float targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top in getTargetInset()
643 final int sweepHeight = mSweep.getIntrinsicHeight();
654 setMeasuredDimension(mSweep.getIntrinsicWidth(), mSweep.getIntrinsicHeight());
658 final int targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top
730 mSweepOffset.y + mSweep.getIntrinsicHeight());
DChartGridView.java113 final int secondaryHeight = secondary.getIntrinsicHeight(); in onDraw()
126 final int primaryHeight = primary.getIntrinsicHeight(); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java311 final int edgeHeight = mEdge.getIntrinsicHeight(); in draw()
313 final int glowHeight = mGlow.getIntrinsicHeight(); in draw()
423 public int getIntrinsicHeight() { in getIntrinsicHeight() method in EdgeEffect.Drawable
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java161 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PieItem
162 return drawable.getIntrinsicHeight(); in getIntrinsicHeight()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java183 public int getIntrinsicHeight() { in getIntrinsicHeight() method in PieItem
184 return mDrawable.getIntrinsicHeight(); in getIntrinsicHeight()
/packages/apps/Calendar/src/com/android/calendar/
DMultiStateButton.java153 setMinHeight(mButtonDrawable.getIntrinsicHeight()); in setButtonDrawable()
165 final int height = mButtonDrawable.getIntrinsicHeight(); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutTextView.java85 mLoadingStatePlaceholder.getIntrinsicHeight()); in setLoadingBounds()
88 (int) ((getMeasuredHeight() - mLoadingStatePlaceholder.getIntrinsicHeight()) in setLoadingBounds()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java99 assertEquals(5, drawable.getIntrinsicHeight()); in testSaveGetOrganisationLogo()
139 int height = drawable.getIntrinsicHeight(); in bitmapFromDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java73 int height = mImage.getIntrinsicHeight(); in updateBounds()
154 public int getIntrinsicHeight() { in getIntrinsicHeight() method in AllAppsBackgroundDrawable
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java344 final int nativeDrawableHeight = mDrawable.getIntrinsicHeight(); in onLayout()
381 && existingDrawable.getIntrinsicHeight() == drawable.getIntrinsicHeight() in setImageDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DShadowDrawable.java96 public int getIntrinsicHeight() { in getIntrinsicHeight() method in ShadowDrawable
174 mState.mIntrinsicHeight = d.getIntrinsicHeight() + 2 * mState.mShadowSize; in inflate()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/
DAutoGrantPermissionsNotifier.java230 Bitmap pkgIconBmp = createBitmap(pkgIcon.getIntrinsicWidth(), pkgIcon.getIntrinsicHeight(), in getPackageIcon()
234 pkgIcon.setBounds(0, 0, pkgIcon.getIntrinsicWidth(), pkgIcon.getIntrinsicHeight()); in getPackageIcon()

1234