/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.java | 49 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width); in getScaleRatio() local 87 float ratio = density * minHeight / res.getDimension(R.dimen.min_digital_widget_height); in getHeightScaleRatio() local
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | LogoUtils.java | 86 int ratio = Math.max(streamWidth / maxDesiredWidth, streamHeight / maxDesiredHeight); in getBitmapPartiallyResized() local 106 double ratio = Math.max((double) width / maxWidth, (double) height / maxHeight); in resizeBitmap() local
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | EndPointRatioClassifier.java | 35 float ratio; in getFalseTouchEvaluation() local
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/util/ |
D | BitmapResizer.java | 54 float ratio = 1; in resizeForEnrichedCalling() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyDrawParams.java | 136 final int dimens, final float ratio, final int defaultDimens) { in selectTextSizeFromDimensionOrRatio() 146 private static int selectTextSize(final int keyHeight, final float ratio, in selectTextSize()
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusRing.java | 64 public void setRadiusRatio(float ratio); in setRadiusRatio()
|
D | FocusController.java | 132 public void setFocusRatio(final float ratio) { in setFocusRatio()
|
D | FocusRingView.java | 153 public void setRadiusRatio(float ratio) { in setRadiusRatio()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreviewFrameLayout.java | 43 public void setAspectRatio(double ratio) { in setAspectRatio()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/ |
D | CubeRenderer.java | 97 float ratio = (float) width / height; in onSurfaceChanged() local
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | GlideFilmstripManager.java | 202 double ratio = Math.min(Math.sqrt(maxArea / original.area()), 1.0f); in clampSize() local 219 double ratio = widthRatio > heightRatio ? heightRatio : widthRatio; in computeFitWithinSize() local
|
/packages/apps/Camera2/src/com/android/camera/ |
D | VideoController.java | 31 public void onZoomChanged(float ratio); in onZoomChanged()
|
D | VideoUI.java | 151 public void setAspectRatio(float ratio) { in setAspectRatio() 262 public void onZoomValueChanged(float ratio) { in onZoomValueChanged()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/util/ |
D | ViewUtil.java | 100 float ratio = width / paint.measureText(textView.getText().toString()); in resizeText() local
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | BitmapUtils.java | 73 final double ratio = maxHeight / (double) maxWidth; in calculateNewSize() local 192 int ratio = Math.max(width / reqWidth, height / reqHeight); in calculateInSampleSize() local
|
D | ImageCache.java | 148 double ratio = ((double) hit) / (hit + miss) * 100; in get() local
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | ViewUtil.java | 81 float ratio = width / paint.measureText(textView.getText().toString()); in resizeText() local
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ViewAutoScroller.java | 125 private float smoothOutOfBoundsRatio(float ratio) { in smoothOutOfBoundsRatio()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PreviewOverlay.java | 100 void onZoomValueChanged(float ratio); // only for immediate zoom in onZoomValueChanged() 322 public void setZoom(float ratio) { in setZoom()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 399 double ratio = getRatio(size.width, size.height); in getBestPreviewSize() local 420 double ratio = getRatio(size.width, size.height); in getBestPictureSize() local
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ContactsAsyncHelper.java | 194 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | ProportionalLayout.java | 143 public void setRatio(float ratio) { in setRatio()
|
D | MultiShrinkScroller.java | 199 void onTransparentViewHeightChange(float ratio); in onTransparentViewHeightChange() 1077 final float ratio = (toolbarHeight - mMinimumHeaderHeight) in updateHeaderTextSizeAndMargin() local 1183 final float ratio = calculateHeightRatioToBlendingStartHeight(toolbarHeight); in updatePhotoTintAndDropShadow() local 1199 final float ratio = calculateHeightRatioToFullyOpen(toolbarHeight); in updatePhotoTintAndDropShadow() local
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | RotateImageView.java | 128 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 112 float ratio, int x, int y, int w, int h); in drawMixed() 119 float ratio, RectF src, RectF target); in drawMixed()
|