Home
last modified time | relevance | path

Searched defs:ratio (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DEndPointRatioClassifier.java35 float ratio; in getFalseTouchEvaluation() local
/packages/apps/DeskClock/src/com/android/alarmclock/
DWidgetUtils.kt44 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/
DLogoUtils.java86 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/
DBitmapResizer.java54 float ratio = 1; in resizeForEnrichedCalling() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyDrawParams.java136 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/
DFocusRing.java64 public void setRadiusRatio(float ratio); in setRadiusRatio()
DFocusController.java132 public void setFocusRatio(final float ratio) { in setFocusRatio()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreviewFrameLayout.java43 public void setAspectRatio(double ratio) { in setAspectRatio()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
DCubeRenderer.java97 float ratio = (float) width / height; in onSurfaceChanged() local
/packages/apps/Camera2/src/com/android/camera/
DVideoController.java31 public void onZoomChanged(float ratio); in onZoomChanged()
DVideoUI.java151 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/
DBatteryHistEntryTest.java168 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/
DGlideFilmstripManager.java202 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/
DViewUtil.java100 float ratio = width / paint.measureText(textView.getText().toString()); in resizeText() local
/packages/apps/TV/src/com/android/tv/util/images/
DBitmapUtils.java73 final double ratio = maxHeight / (double) maxWidth; in calculateNewSize() local
192 int ratio = Math.max(width / reqWidth, height / reqHeight); in calculateInSampleSize() local
DImageCache.java148 double ratio = ((double) hit) / (hit + miss) * 100; in get() local
/packages/apps/Dialer/java/com/android/dialer/util/
DViewUtil.java81 float ratio = width / paint.measureText(textView.getText().toString()); in resizeText() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DViewAutoScroller.java125 private float smoothOutOfBoundsRatio(float ratio) { in smoothOutOfBoundsRatio()
/packages/apps/Dialer/java/com/android/incallui/
DContactsAsyncHelper.java194 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java399 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/
DPreviewOverlay.java100 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/
DProportionalLayout.java143 public void setRatio(float ratio) { in setRatio()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateImageView.java128 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java149 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/
DBatteryHistEntry.java297 double ratio, in interpolate()
345 private static double interpolate(double v1, double v2, double ratio) { in interpolate()

12