Home
last modified time | relevance | path

Searched refs:applicationScale (Results 1 – 14 of 14) 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.java352 float appScale = translator.applicationScale; in setCompatibilityTranslator()
DViewRootImpl.java511 mTranslator == null ? 1.0f : mTranslator.applicationScale; in setView()
/frameworks/base/core/java/android/app/
DResourcesManager.java161 final float scale = compatInfo.applicationScale; in getTopLevelResources()
175 + ": appScale=" + r.getCompatibilityInfo().applicationScale in getTopLevelResources()
242 + r.getConfiguration() + " appScale=" + r.getCompatibilityInfo().applicationScale); in getTopLevelResources()
DContextImpl.java1836 || (compatInfo != null && compatInfo.applicationScale in ContextImpl()
1837 != resources.getCompatibilityInfo().applicationScale)) { in ContextImpl()
DApplicationPackageManager.java846 + ": app scale=" + r.getCompatibilityInfo().applicationScale in getDrawable()
848 .getCompatibilityInfo().applicationScale, in getDrawable()
/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.java222 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale); in Switch()
DRemoteViews.java738 .getCompatibilityInfo().applicationScale; in getSourceBounds()
DTextView.java686 mTextPaint.setCompatibilityScaling(compat.applicationScale); in TextView()
689 mHighlightPaint.setCompatibilityScaling(compat.applicationScale); in TextView()
DEditor.java4941 applicationScale);
/frameworks/base/core/java/android/provider/
DContactsContract.java8251 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; in composeQuickContactsIntent()