/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 184 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()
|
D | MagnificationGestureHandler.java | 445 final float initialScale = mMagnificationController.getScale(mDisplayId); in onScale()
|
D | AbstractAccessibilityServiceConnection.java | 790 return mSystemSupport.getMagnificationController().getScale(displayId); in getMagnificationScale()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterLoaderTest.java | 266 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/ |
D | TaskSnapshotSurface.java | 354 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()
|
D | TaskSnapshotPersister.java | 369 proto.scale = mSnapshot.getScale(); in writeProto()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 274 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/ |
D | TextRenderer.h | 57 float getScale() const { return mScale; } in getScale() function
|
D | Overlay.cpp | 376 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage() 389 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
|
D | TextRenderer.cpp | 264 const float indentWidth = mIndentMult * getScale(); in drawWrappedString()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.java | 59 scale = snapshot.getScale(); in ThumbnailData()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 238 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/ |
D | PhotoView.java | 277 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/ |
D | WebView.java | 154 public float getScale() { in getScale() method in WebView
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | CircleFramedDrawable.java | 110 public float getScale() { in getScale() method in CircleFramedDrawable
|
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 697 setThumbPos(w, thumb, getScale(), thumbOffset); 701 private float getScale() { 1147 setThumbPos(getWidth(), thumb, getScale(), Integer.MIN_VALUE);
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 527 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/ |
D | KeyguardAffordanceHelper.java | 451 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/ |
D | BubbleView.java | 266 float scale = mBubbleIconFactory.getNormalizer().getScale(iconDrawable, in updateViews()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewProvider.java | 173 public float getScale(); in getScale() method
|
D | WebView.java | 1150 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/ |
D | current.txt | 54 method public String getScale();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationControllerTest.java | 198 mMagnificationController.getScale(displayId); in notRegistered_publicMethodsShouldBeBenign() 1086 return getMagnificationSpec(mMagnificationController.getScale(displayId),
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 982 public float getScale() { in getScale() method in AccessibilityService.MagnificationController
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1969 public float getScale() {
|