Home
last modified time | relevance | path

Searched defs:scale (Results 1 – 25 of 160) sorted by relevance

1234567

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemDrawingParams.java28 float scale; field in PreviewItemDrawingParams
35 PreviewItemDrawingParams(float transX, float transY, float scale, float overlayAlpha) { in PreviewItemDrawingParams()
42 public void update(float transX, float transY, float scale) { in update()
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DLinearScale.java37 float scale = (mRangeB - mRangeA) / (mDomainB - mDomainA); in LinearScale() local
65 public float scale(float domainValue) { in scale() method in LinearScale
DInterpolateUtils.java51 public static float scale(float v, float vMin, float vMax, float pMin, float pMax) { in scale() method in InterpolateUtils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DTransitionAnimationScalePreferenceController.java82 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
92 final float scale = mWindowManager.getAnimationScale( in updateAnimationScaleValue() local
DAnimatorDurationScalePreferenceController.java80 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
90 final float scale = mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR); in updateAnimationScaleValue() local
DWindowAnimationScalePreferenceController.java81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
91 final float scale = mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR); in updateAnimationScaleValue() local
/packages/apps/Settings/src/com/android/settings/development/
DWindowAnimationScalePreferenceController.java81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
91 final float scale = mWindowManager.getAnimationScale(WINDOW_ANIMATION_SCALE_SELECTOR); in updateAnimationScaleValue() local
DTransitionAnimationScalePreferenceController.java82 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
92 final float scale = mWindowManager.getAnimationScale( in updateAnimationScaleValue() local
DAnimatorDurationScalePreferenceController.java80 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
90 final float scale = mWindowManager.getAnimationScale(ANIMATOR_DURATION_SCALE_SELECTOR); in updateAnimationScaleValue() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java97 public static int computeSampleSizeLarger(float scale) { in computeSampleSizeLarger()
107 public static int computeSampleSize(float scale) { in computeSampleSize()
116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale()
142 float scale = Math.min( in resizeDownBySideLength() local
155 float scale = (float) size / Math.min(w, h); in resizeAndCropCenter() local
/packages/services/BuiltInPrintService/src/com/android/bips/
DImageToPdfTask.java89 float scale; in writeBitmapToPage() local
116 float scale; in drawDirect() local
141 private void drawOptimized(PdfDocument.Page page, RectF extent, float scale, boolean rotate) { in drawOptimized()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DIconFactory.java42 boolean scale) { in createIcon()
69 public static void drawIcon(Bitmap dest, Bitmap sourceImage, boolean scale) { in drawIcon()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DSpringLoadedState.java52 float scale = grid.workspaceSpringLoadShrinkFactor; in getWorkspaceScaleAndTranslation() local
56 float scale = grid.workspaceSpringLoadShrinkFactor; in getWorkspaceScaleAndTranslation() local
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java138 int iconAppTargetSdk, boolean isInstantApp, float[] scale) { in createBadgedIconBitmap()
162 boolean shrinkNonAdaptiveIcons, boolean isInstantApp, float[] scale) { in createBadgedIconBitmap()
191 float[] scale = new float[1]; in createScaledBitmapWithoutShadow() local
216 float scale = 1f; in normalizeAndWrapToAdaptiveIcon() local
263 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap()
271 public Bitmap createIconBitmap(@NonNull Drawable icon, float scale, int size) { in createIconBitmap()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java82 protected void drawDragView(Canvas destCanvas, float scale) { in drawDragView()
135 float scale = ((LauncherAppWidgetHostView) mView).getScaleToFit(); in createDragBitmap() local
175 float scale = Launcher.getLauncher(mView.getContext()) in getScaleAndPosition() local
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestBitmapCropper.java37 public void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, in cropAndScaleBitmap()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DBatteryTestUtils.java40 private static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) { in getCustomBatteryIntent()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetNative.java41 float scale, float angleRadians); in process()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java99 final float scale = mRenderer.scale; in getEdgesHelper() local
122 final float scale = mRenderer.scale; in getCrop() local
151 public void setScale(float scale) { in setScale()
215 final float scale = mRenderer.scale; in moveToLeft() local
298 final float scale = mRenderer.scale; in onTouchEvent() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DBitmapCropper.java34 void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, Callback callback); in cropAndScaleBitmap()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java87 float scale = (float) sTempRect.width() / workspacePageWidth; in getWorkspaceScaleAndTranslation() local
99 float scale = ((float) dp.allAppsIconSizePx) / dp.iconSizePx; in getHotseatScaleAndTranslation() local
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java271 float scale = Math.min(widthScale, heightScale); in getProperBaseMatrix() local
307 protected void zoomTo(float scale, float centerX, float centerY) { in zoomTo()
320 protected void zoomTo(final float scale, final float centerX, in zoomTo()
340 protected void zoomTo(float scale) { in zoomTo()
347 protected void zoomToPoint(float scale, float pointX, float pointY) { in zoomToPoint()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_image_homography.h82 double scale,t[3]; in db_StitchCameraRotation_2Points() local
/packages/apps/Gallery2/jni/filters/
Dshadows.c22 …FUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){ in JNIFUNCF()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPropertyListBuilder.java39 public PropertyListBuilder scale(float value) { in scale() method in PropertyListBuilder

1234567