Home
last modified time | relevance | path

Searched refs:applicationScale (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java88 public final float applicationScale; field in CompatibilityInfo
140 applicationScale = 1.0f; in CompatibilityInfo()
230 applicationScale = 1.0f; in CompatibilityInfo()
234 applicationScale = DisplayMetrics.DENSITY_DEVICE in CompatibilityInfo()
236 applicationInvertedScale = 1.0f / applicationScale; in CompatibilityInfo()
248 applicationScale = scale; in CompatibilityInfo()
290 final public float applicationScale; field in CompatibilityInfo.Translator
297 Translator(float applicationScale, float applicationInvertedScale) { in Translator() argument
298 this.applicationScale = applicationScale; in Translator()
303 this(CompatibilityInfo.this.applicationScale, in Translator()
[all …]
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java698 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
699 if (shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
734 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
735 if (!shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
739 if (applicationScale != 1.0f) { in applyAppScaleAndMagnificationSpecIfNeeded()
740 point.x *= applicationScale; in applyAppScaleAndMagnificationSpecIfNeeded()
741 point.y *= applicationScale; in applyAppScaleAndMagnificationSpecIfNeeded()
758 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in applyAppScaleAndMagnificationSpecIfNeeded() local
759 if (!shouldApplyAppScaleAndMagnificationSpec(applicationScale, spec)) { in applyAppScaleAndMagnificationSpecIfNeeded()
768 if (applicationScale != 1.0f) { in applyAppScaleAndMagnificationSpecIfNeeded()
[all …]
DSurface.java383 float appScale = translator.applicationScale; in setCompatibilityTranslator()
DViewRootImpl.java618 mTranslator == null ? 1.0f : mTranslator.applicationScale; in setView()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java108 tpaint.setCompatibilityScaling(getResources().getCompatibilityInfo().applicationScale); in onCreate()
/frameworks/base/core/java/android/widget/
DNumberPicker.java2672 final float applicationScale = in createAccessibilityNodeInfoForNumberPicker() local
2673 getContext().getResources().getCompatibilityInfo().applicationScale; in createAccessibilityNodeInfoForNumberPicker()
2677 boundsInParent.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
2686 boundsInScreen.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
DSwitch.java223 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale); in Switch()
DRemoteViews.java815 .getCompatibilityInfo().applicationScale; in getSourceBounds()
DTextView.java719 mTextPaint.setCompatibilityScaling(compat.applicationScale); in TextView()
722 mHighlightPaint.setCompatibilityScaling(compat.applicationScale); in TextView()
DEditor.java5527 applicationScale);
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1042 + ": app scale=" + r.getCompatibilityInfo().applicationScale in getDrawable()
1044 .getCompatibilityInfo().applicationScale, in getDrawable()
DContextImpl.java2042 || (compatInfo != null && compatInfo.applicationScale in ContextImpl()
2043 != resources.getCompatibilityInfo().applicationScale)) { in ContextImpl()
/frameworks/base/core/java/android/provider/
DContactsContract.java8397 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent()