Home
last modified time | relevance | path

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

12

/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java96 float ratio = WidgetUtils.getScaleRatio(context, null, appWidgetId); in onReceive() local
140 float ratio = WidgetUtils.getScaleRatio(context, null, appWidgetId); in onUpdate() local
151 float ratio = WidgetUtils.getScaleRatio(context, newOptions, appWidgetId); in onAppWidgetOptionsChanged() local
157 Context context, AppWidgetManager appWidgetManager, int appWidgetId, float ratio) { in updateClock()
DWidgetUtils.java60 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width); in getScaleRatio() local
94 float ratio = ((density * minHeight) - lblBox) in getHeightScaleRatio() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyDrawParams.java131 final int dimens, final float ratio, final int defaultDimens) { in selectTextSizeFromDimensionOrRatio()
141 private static int selectTextSize(final int keyHeight, final float ratio, in selectTextSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreviewFrameLayout.java43 public void setAspectRatio(double ratio) { in setAspectRatio()
DUtil.java399 double ratio = (double) size.width / size.height; in getOptimalPreviewSize() local
433 double ratio = (double) size.width / size.height; in getOptimalVideoSnapshotPictureSize() local
/packages/apps/Camera2/src/com/android/camera/
DVideoController.java31 public void onZoomChanged(float ratio); in onZoomChanged()
DVideoUI.java171 public void setAspectRatio(float ratio) { in setAspectRatio()
278 public void onZoomValueChanged(float ratio) { in onZoomValueChanged()
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
DViewUtil.java100 float ratio = width / paint.measureText(textView.getText().toString()); in resizeText() local
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralView.java130 float ratio = realPosition / (mWallpaperWidth * 4); in onTouchEvent() local
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java84 void onZoomValueChanged(float ratio); // only for immediate zoom in onZoomValueChanged()
257 public void setZoom(float ratio) { in setZoom()
DRotateImageView.java132 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
/packages/apps/Camera/src/com/android/camera/
DPreviewFrameLayout.java67 public void setAspectRatio(double ratio) { in setAspectRatio()
DUtil.java455 double ratio = (double) size.width / size.height; in getOptimalPreviewSize() local
488 double ratio = (double) size.width / size.height; in getOptimalVideoSnapshotPictureSize() local
/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/ContactsCommon/src/com/android/contacts/common/widget/
DProportionalLayout.java143 public void setRatio(float ratio) { in setRatio()
/packages/apps/Camera/src/com/android/camera/ui/
DRotateImageView.java130 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java180 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
/packages/apps/InCallUI/src/com/android/incallui/
DContactsAsyncHelper.java180 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLCanvas.java112 float ratio, int x, int y, int w, int h); in drawMixed()
119 float ratio, RectF src, RectF target); in drawMixed()
DGLES11Canvas.java451 int toColor, float ratio, int x, int y, int w, int h) { in drawMixed()
471 private void setMixedColor(int toColor, float ratio, float alpha) { in setMixedColor()
513 public void drawMixed(BasicTexture from, int toColor, float ratio, in drawMixed()
548 float ratio, int x, int y, int width, int height, float alpha) { in drawMixed()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLCanvas.java110 float ratio, int x, int y, int w, int h); in drawMixed()
117 float ratio, RectF src, RectF target); in drawMixed()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTile.java188 final float ratio = Math.min((float) width / height, (float) height / width); in setThumbnail() local
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java185 void onTransparentViewHeightChange(float ratio); in onTransparentViewHeightChange()
963 final float ratio = (toolbarHeight - mMinimumHeaderHeight) in updateHeaderTextSizeAndMargin() local
1063 final float ratio; in updatePhotoTintAndDropShadow() local
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java121 final float ratio = (float) sourceWidth / sourceHeight; in createIconBitmap() local
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java180 float ratio = (outsideRatio / insideRatio < mMaxCropRatio ? in load() local

12