Home
last modified time | relevance | path

Searched refs:getScale (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java184 float getScale() { in getScale() method in MagnificationController.DisplayMagnification
199 + mMagnificationBounds.left - getOffsetX()) / getScale(); in getCenterX()
205 + mMagnificationBounds.top - getOffsetY()) / getScale(); in getCenterY()
324 getScale(), getCenterX(), getCenterY()); in onMagnificationChangedLocked()
384 final float scale = getScale(); in requestRectangleOnScreen()
490 scale = getScale(); in updateMagnificationSpecLocked()
774 public float getScale(int displayId) { in getScale() method in MagnificationController
780 return display.getScale(); in getScale()
993 final float scale = getScale(Display.DEFAULT_DISPLAY); in persistScale()
DMagnificationGestureHandler.java445 final float initialScale = mMagnificationController.getScale(mDisplayId); in onScale()
DAbstractAccessibilityServiceConnection.java790 return mSystemSupport.getMagnificationController().getScale(displayId); in getMagnificationScale()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java266 assertEquals(0.25f, a.getScale(), 1E-5); in testScalePersistAndLoadSnapshot()
267 assertEquals(0.75f, b.getScale(), 1E-5); in testScalePersistAndLoadSnapshot()
275 assertEquals(0.25f, snapshotA.getScale(), 1E-5); in testScalePersistAndLoadSnapshot()
276 assertEquals(0.75f, snapshotB.getScale(), 1E-5); in testScalePersistAndLoadSnapshot()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java354 final float scale = 1 / mSnapshot.getScale(); in drawSizeMismatchSnapshot()
384 rect.inset((int) (insets.left * mSnapshot.getScale()), in calculateSnapshotCrop()
385 isTop ? 0 : (int) (insets.top * mSnapshot.getScale()), in calculateSnapshotCrop()
386 (int) (insets.right * mSnapshot.getScale()), in calculateSnapshotCrop()
387 (int) (insets.bottom * mSnapshot.getScale())); in calculateSnapshotCrop()
399 final float scale = mSnapshot.getScale(); in calculateSnapshotFrame()
DTaskSnapshotPersister.java369 proto.scale = mSnapshot.getScale(); in writeProto()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java274 d.mValues = getScale(sx, sy, px, py); in nSetScale()
404 d.preTransform(getScale(sx, sy, px, py)); in nPreScale()
412 d.preTransform(getScale(sx, sy)); in nPreScale()
477 d.postTransform(getScale(sx, sy, px, py)); in nPostScale()
485 d.postTransform(getScale(sx, sy)); in nPostScale()
981 /*package*/ static float[] getScale(float sx, float sy) { in getScale() method in Matrix_Delegate
992 /*package*/ static float[] getScale(float sx, float sy, float px, float py) { in getScale() method in Matrix_Delegate
1002 multiply(tmp2, tmp, getScale(sx, sy)); in getScale()
/frameworks/av/cmds/screenrecord/
DTextRenderer.h57 float getScale() const { return mScale; } in getScale() function
DOverlay.cpp376 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
389 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
DTextRenderer.cpp264 const float indentWidth = mIndentMult * getScale(); in drawWrappedString()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java59 scale = snapshot.getScale(); in ThumbnailData()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java238 scale = getScale(icon, null); in createAppBadgedIconBitmap()
354 scale = getScale(icon, outIconBounds); in normalizeAndWrapToAdaptiveIcon()
360 scale = getScale(icon, outIconBounds); in normalizeAndWrapToAdaptiveIcon()
410 private synchronized float getScale(@NonNull Drawable d, @Nullable RectF outBounds) { in getScale() method in SimpleIconFactory
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java277 float currentScale = getScale(); in scale()
373 float currentScale = getScale(); in onScale()
879 mMinScale = getScale(); in generateScale()
896 private float getScale() { in getScale() method in PhotoView
921 float currentScale = getScale(); in scale()
929 float currentScale = getScale(); in scale()
/frameworks/layoutlib/bridge/src/android/webkit/
DWebView.java154 public float getScale() { in getScale() method in WebView
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DCircleFramedDrawable.java110 public float getScale() { in getScale() method in CircleFramedDrawable
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java697 setThumbPos(w, thumb, getScale(), thumbOffset);
701 private float getScale() {
1147 setThumbPos(getWidth(), thumb, getScale(), Integer.MIN_VALUE);
/frameworks/av/include/media/
DVolumeShaper.h527 R getScale() const { in getScale() function
867 + (x - target) / it->mXTranslate.getScale()); in applyVolumeShaper()
882 + (x - target) / it->mXTranslate.getScale()); in applyVolumeShaper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java451 float scale = getScale(alpha, view); in updateIconAlpha()
457 private float getScale(float alpha, KeyguardAffordanceView icon) { in getScale() method in KeyguardAffordanceHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java266 float scale = mBubbleIconFactory.getNormalizer().getScale(iconDrawable, in updateViews()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java173 public float getScale(); in getScale() method
DWebView.java1150 public float getScale() { in getScale() method in WebView
1152 return mProvider.getScale(); in getScale()
3060 encoder.addProperty("webview:scale", mProvider.getScale()); in encodeProperties()
/frameworks/av/media/libstagefright/xmlparser/api/
Dcurrent.txt54 method public String getScale();
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationControllerTest.java198 mMagnificationController.getScale(displayId); in notRegistered_publicMethodsShouldBeBenign()
1086 return getMagnificationSpec(mMagnificationController.getScale(displayId),
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java982 public float getScale() { in getScale() method in AccessibilityService.MagnificationController
/frameworks/base/core/java/android/app/
DActivityManager.java1969 public float getScale() {

12