Home
last modified time | relevance | path

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

12345678910

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/
DSystemScaledSubsamplingScaleImageView.kt32 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context) in onMeasure() constant
39 val scale = WallpaperCropUtils.getSystemWallpaperMaximumScale(context) in onLayout() constant
/packages/apps/Launcher3/src/com/android/launcher3/states/
DEditModeState.kt54 val scale = launcher.deviceProfile.getWorkspaceSpringLoadScale(launcher) in getWorkspaceScaleAndTranslation() constant
59 val scale = launcher.deviceProfile.getWorkspaceSpringLoadScale(launcher) in getHotseatScaleAndTranslation() constant
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemDrawingParams.java29 float scale; field in PreviewItemDrawingParams
35 PreviewItemDrawingParams(float transX, float transY, float scale) { in PreviewItemDrawingParams()
41 public void update(float transX, float transY, float scale) { in update()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java67 protected void drawDragView(Canvas destCanvas, float scale) { in drawDragView()
95 float scale = mView.getScaleX(); in createDrawable() local
143 float scale = ActivityContext.lookupContext(mView.getContext()) in getScaleAndPosition() local
160 float scale = ActivityContext.lookupContext(mView.getContext()) in getScaleAndPosition() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/task/viewmodel/
DTaskViewData.kt23 val scale = MutableStateFlow(1f) constant in com.android.quickstep.task.viewmodel.TaskViewData
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/recents/viewmodel/
DRecentsViewData.kt26 val scale = MutableStateFlow(1f) constant
/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/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DMatrix.java208 public void makeScale(float scale) { in makeScale()
217 public void makeScale(Vector3 scale) { in makeScale()
229 public void makeTrs(Vector3 translation, Quaternion q, Vector3 scale) { in makeTrs()
288 public static Matrix newScale(float scale) { in newScale()
295 public static Matrix newScale(Vector3 scale) { in newScale()
308 public static Matrix newTrs(Vector3 translation, Quaternion rotation, Vector3 scale) { in newTrs()
/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
/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/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dsub_quantized_different_scales.mod.py19 def dequantize(x, scale, offset): argument
22 def quantize(x, scale, offset): argument
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java210 float [] scale = new float[1]; in createUserBadgedIconBitmap() local
263 float scale = 1; in createAppBadgedIconBitmap() local
327 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap()
331 private Bitmap createIconBitmapNoInsetOrMask(Drawable icon, float scale) { in createIconBitmapNoInsetOrMask()
341 private Bitmap createIconBitmap(Drawable icon, float scale, int size, boolean insetAdiForShadow, in createIconBitmap()
422 float scale = 1f; in normalizeAndWrapToAdaptiveIcon() local
600 float scale = areaScale > scaleRequired ? (float) Math.sqrt(scaleRequired / areaScale) : 1; in getScale() local
739 public void setScale(float scale) { in setScale()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java105 public void setScrimHeaderScale(float scale) { in setScrimHeaderScale()
193 default void drawOnScrimWithScale(Canvas canvas, float scale) { in drawOnScrimWithScale()
204 Canvas canvas, float scale, @Px int bottomOffsetPx); in drawOnScrimWithScaleAndBottomOffset()
DClipIconView.java134 float scale = Math.max(1f, Math.min(scaleX, scaleY)); in update() local
160 boolean isOpening, float scale, float minSize, DeviceProfile dp) { in update()
207 private void setBackgroundDrawableBounds(float scale, boolean isLandscape) { in setBackgroundDrawableBounds()
276 float scale = Math.max((float) lp.height / originalHeight, in setIcon() local
/packages/apps/Settings/src/com/android/settings/development/
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
DTransitionAnimationScalePreferenceController.java81 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : DEFAULT_VALUE; in writeAnimationScaleOption() local
91 final float scale = mWindowManager.getAnimationScale( 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/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/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java189 int iconAppTargetSdk, boolean isInstantApp, float[] scale) { in createBadgedIconBitmap()
213 boolean shrinkNonAdaptiveIcons, boolean isInstantApp, float[] scale) { in createBadgedIconBitmap()
262 float[] scale = new float[1]; in createScaledBitmapWithoutShadow() local
294 float scale = 1f; in normalizeAndWrapToAdaptiveIcon() local
345 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap()
353 public Bitmap createIconBitmap(@NonNull Drawable icon, float scale, int size) { in createIconBitmap()
/packages/modules/NeuralNetworks/common/cpu_operations/
DDequantize.cpp34 const float scale = inputShape.scale; in compute() local
64 const float scale = std::get<Operand::SymmPerChannelQuantParams>(inputShape.extraParams) in computePerChannel() local
/packages/apps/Launcher3/src/com/android/launcher3/
DReorderable.java31 void setReorderBounceScale(float scale); in setReorderBounceScale()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DUtilitiesTest.kt62 val scale = in testGetDescendantCoordRelativeToAncestor() constant
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureNavigationSettingsFragment.java147 final float scale = mBackGestureInsetScales[(int) v]; in initSeekBarPreference() local
148 Settings.Secure.putFloat(getContext().getContentResolver(), settingsKey, scale); in initSeekBarPreference() local
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DBatteryTestUtils.java40 private static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) { in getCustomBatteryIntent()

12345678910