Home
last modified time | relevance | path

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

123456789

/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.java64 protected void drawDragView(Canvas destCanvas, float scale) { in drawDragView()
92 float scale = mView.getScaleX(); in createDrawable() local
131 float scale = ActivityContext.lookupContext(mView.getContext()) in getScaleAndPosition() local
148 float scale = ActivityContext.lookupContext(mView.getContext()) in getScaleAndPosition() 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/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/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/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/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
731 public void setScale(float scale) { in setScale()
/packages/apps/Settings/src/com/android/settings/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
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
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/Launcher3/src/com/android/launcher3/views/
DClipIconView.java113 float scale = Math.max(1f, Math.min(scaleX, scaleY)); in update() local
131 boolean isOpening, float scale, float minSize, DeviceProfile dp) { in update()
182 private void setBackgroundDrawableBounds(float scale, boolean isLandscape) { in setBackgroundDrawableBounds()
250 float scale = Math.max((float) lp.height / originalHeight, in setIcon() local
DScrimView.java104 public void setScrimHeaderScale(float scale) { in setScrimHeaderScale()
193 void drawOnScrimWithScale(Canvas canvas, float scale); in drawOnScrimWithScale()
/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/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/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/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/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetNative.java41 float scale, float angleRadians); in process()
/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DBatteryTestUtils.java40 public static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) { in getCustomBatteryIntent()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestBitmapCropper.java37 public void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, boolean adjustRtl, in cropAndScaleBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterTinyPlanet.java71 Bitmap bitmapIn, int width, int height, Bitmap bitmapOut, int outSize, float scale, in nativeApplyFilter()
129 float scale = intermediateWidth / (float) fullPanoWidth; in applyXmp() local
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAbstractSlotRenderer.java60 float scale = Math.min( in drawContent() local
73 float scale = (float) height / v.getHeight(); in drawVideoOverlay() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultBitmapCropper.java39 public void cropAndScaleBitmap(Asset asset, float scale, Rect cropRect, in cropAndScaleBitmap()

123456789