Home
last modified time | relevance | path

Searched refs:intrinsicWidth (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DSetupWizardIllustration.java119 int intrinsicWidth = mForeground.getIntrinsicWidth(); in onLayout() local
125 mScale = layoutWidth / (float) intrinsicWidth; in onLayout()
126 intrinsicWidth = layoutWidth; in onLayout()
129 Gravity.apply(Gravity.FILL_HORIZONTAL | Gravity.TOP, intrinsicWidth, intrinsicHeight, in onLayout()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseContentFragment.java390 int intrinsicWidth = iconView.getDrawable().getIntrinsicWidth(); in updateViewSize() local
392 if (intrinsicWidth > 0) { in updateViewSize()
394 / intrinsicWidth; in updateViewSize()
DBaseDialogFragment.java170 int intrinsicWidth = icon.getDrawable().getIntrinsicWidth(); in performEntryTransition()
173 / intrinsicWidth; in performEntryTransition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java349 final int intrinsicWidth = background.getIntrinsicWidth(); in onDrawKeyBackground() local
352 keyWidth / (float)intrinsicWidth, keyHeight / (float)intrinsicHeight); in onDrawKeyBackground()
353 bgWidth = (int)(intrinsicWidth * minScale); in onDrawKeyBackground()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSettingsLayoutFragment.java592 int intrinsicWidth = iconView.getDrawable().getIntrinsicWidth(); in updateViewSize() local
594 if (intrinsicWidth > 0) { in updateViewSize()
596 / intrinsicWidth; in updateViewSize()
DDialogFragment.java558 int intrinsicWidth = iconView.getDrawable().getIntrinsicWidth(); in updateViewSize() local
560 if (intrinsicWidth > 0) { in updateViewSize()
562 / intrinsicWidth; in updateViewSize()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java935 final int intrinsicWidth = mIndeterminateDrawable.getIntrinsicWidth(); in updateDrawableBounds() local
937 final float intrinsicAspect = (float) intrinsicWidth / intrinsicHeight; in updateDrawableBounds()