Home
last modified time | relevance | path

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

/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
DCamera.java1009 int ratio = (int) Math.ceil((double) width / previewWidth); in storeImage() local
DVideoCamera.java2417 int ratio = (int) Math.ceil((double) mParameters.getPictureSize().width in storeImage() local
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasStub.java63 float ratio, int x, int y, int w, int h) {} in drawMixed()
65 float ratio, int x, int y, int w, int h) {} in drawMixed()
67 float ratio, int x, int y, int width, int height, float alpha) {} in drawMixed()
DGLCanvasMock.java64 float ratio, int x, int y, int w, int h) { in drawMixed()
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralView.java130 float ratio = realPosition / (mWallpaperWidth * 4); in onTouchEvent() local
/packages/apps/Camera/src/com/android/camera/
DPreviewFrameLayout.java48 public void setAspectRatio(double ratio) { in setAspectRatio()
DUtil.java381 double ratio = (double) size.width / size.height; in getOptimalPreviewSize() local
415 double ratio = (double) size.width / size.height; in getOptimalVideoSnapshotPictureSize() local
DVideoCamera.java2424 int ratio = (int) Math.ceil((double) mParameters.getPictureSize().width in storeImage() local
DCamera.java1029 int ratio = (int) Math.ceil((double) width / thumbnailWidth); in storeImage() local
/packages/apps/Camera/src/com/android/camera/ui/
DRotateImageView.java130 float ratio = Math.min((float) width / w, (float) height / h); in onDraw() local
/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/Phone/src/com/android/phone/
DContactsAsyncHelper.java266 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate() local
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java122 final float ratio = (float) sourceWidth / sourceHeight; in createIconBitmap() local
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLCanvas.java99 float ratio, int x, int y, int w, int h); in drawMixed()
DGLCanvasImpl.java431 int toColor, float ratio, int x, int y, int w, int h) { in drawMixed()
452 float ratio, int x, int y, int width, int height, float alpha) { in drawMixed()
DCropView.java128 public void setAspectRatio(float ratio) { in setAspectRatio()
DPhotoView.java1706 private static float interpolate(float ratio, float from, float to) { in interpolate()
DPositionController.java315 float ratio = (width > height) in setBoxSize() local
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java375 final float ratio = (float) iconWidth / iconHeight; in createIconThumbnail() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java469 double ratio = (double) cpuSpeedStepTimes[step] / totalTimeAtSpeeds; in processAppUsage() local