/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | EndPointRatioClassifier.java | 35 float ratio; in getFalseTouchEvaluation() local
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.kt | 44 var ratio: Float = in getScaleRatio() variable 73 val ratio: Float = density * minHeight / res.getDimension(R.dimen.min_digital_widget_height) in getHeightScaleRatio() constant
|
/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/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()
|
/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/ |
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/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntryTest.java | 168 final double ratio = 0.5; in testInterpolate_returnExpectedResult() local 210 final double ratio = 0.5; in testInterpolate_withoutLowerEntryData_returnExpectedResult() 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/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/Dialer/java/com/android/incallui/ |
D | ContactsAsyncHelper.java | 194 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
|
/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/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/Contacts/src/com/android/contacts/widget/ |
D | ProportionalLayout.java | 143 public void setRatio(float ratio) { in setRatio()
|
/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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | ImagePreviewFragment.java | 149 String ratio = String.format(Locale.US, "%d:%d", mScreenSize.x, mScreenSize.y); in onCreateView() local 150 set.setDimensionRatio(mTouchForwardingLayout.getId(), ratio); in onCreateView() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntry.java | 297 double ratio, in interpolate() 345 private static double interpolate(double v1, double v2, double ratio) { in interpolate()
|