/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 96 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()
|
D | WidgetUtils.java | 60 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/ |
D | KeyDrawParams.java | 131 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/ |
D | PreviewFrameLayout.java | 43 public void setAspectRatio(double ratio) { in setAspectRatio()
|
D | Util.java | 399 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/ |
D | VideoController.java | 31 public void onZoomChanged(float ratio); in onZoomChanged()
|
D | VideoUI.java | 171 public void setAspectRatio(float ratio) { in setAspectRatio() 278 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/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
D | HoloSpiralView.java | 130 float ratio = realPosition / (mWallpaperWidth * 4); in onTouchEvent() local
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PreviewOverlay.java | 84 void onZoomValueChanged(float ratio); // only for immediate zoom in onZoomValueChanged() 257 public void setZoom(float ratio) { in setZoom()
|
D | RotateImageView.java | 132 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
|
/packages/apps/Camera/src/com/android/camera/ |
D | PreviewFrameLayout.java | 67 public void setAspectRatio(double ratio) { in setAspectRatio()
|
D | Util.java | 455 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/ |
D | RotateImageView.java | 128 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
D | ProportionalLayout.java | 143 public void setRatio(float ratio) { in setRatio()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | RotateImageView.java | 130 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ContactsAsyncHelper.java | 180 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | ContactsAsyncHelper.java | 180 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() 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()
|
D | GLES11Canvas.java | 451 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/ |
D | GLCanvas.java | 110 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/ |
D | AttachmentTile.java | 188 final float ratio = Math.min((float) width / height, (float) height / width); in setThumbnail() local
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 185 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/ |
D | Utilities.java | 121 final float ratio = (float) sourceWidth / sourceHeight; in createIconBitmap() local
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoSource.java | 180 float ratio = (outsideRatio / insideRatio < mMaxCropRatio ? in load() local
|