Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java108 public final float applicationScale; field in CompatibilityInfo
133 applicationScale = overrideScale; in CompatibilityInfo()
182 applicationScale = 1.0f; in CompatibilityInfo()
272 applicationScale = 1.0f; in CompatibilityInfo()
290 applicationScale = scale; in CompatibilityInfo()
355 this.applicationScale = applicationScale; in Translator()
377 if (applicationScale == 1.5f) { in translateCanvas()
396 canvas.scale(applicationScale, applicationScale); in translateCanvas()
428 rect.scale(applicationScale); in translateRectInAppWindowToScreen()
694 if (applicationScale != oc.applicationScale) return false;
[all …]
/aosp14/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java108 tpaint.setCompatibilityScaling(getResources().getCompatibilityInfo().applicationScale); in onCreate()
/aosp14/frameworks/base/core/java/android/widget/
H A DNumberPicker.java2850 final float applicationScale = in createAccessibilityNodeInfoForNumberPicker() local
2851 getContext().getResources().getCompatibilityInfo().applicationScale; in createAccessibilityNodeInfoForNumberPicker()
2855 boundsInParent.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
2864 boundsInScreen.scale(applicationScale); in createAccessibilityNodeInfoForNumberPicker()
H A DSwitch.java253 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale); in Switch()
H A DTextView.java1166 mTextPaint.setCompatibilityScaling(compat.applicationScale);
1169 mHighlightPaint.setCompatibilityScaling(compat.applicationScale);
H A DRemoteViews.java1516 .getCompatibilityInfo().applicationScale; in getSourceBounds()
H A DEditor.java7224 mTextView.getResources().getCompatibilityInfo().applicationScale); in CorrectionHighlighter()
/aosp14/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java1078 final float applicationScale = mViewRootImpl.mAttachInfo.mApplicationScale; in transformBoundsWithScreenMatrix() local
1079 if (applicationScale != 1f) { in transformBoundsWithScreenMatrix()
1080 transformMatrix.preScale(applicationScale, applicationScale); in transformBoundsWithScreenMatrix()
H A DSurface.java598 float appScale = translator.applicationScale; in setCompatibilityTranslator()
H A DViewRootImpl.java1447 mTranslator == null ? 1.0f : mTranslator.applicationScale;
/aosp14/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java1785 + ": app scale=" + r.getCompatibilityInfo().applicationScale in getDrawable()
1787 .getCompatibilityInfo().applicationScale, in getDrawable()
/aosp14/frameworks/base/core/java/android/provider/
H A DContactsContract.java9198 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent()