Home
last modified time | relevance | path

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

12

/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java129 double ratio = (double) maxSecondary / (double) actualSecondary; in getResizedDimension() local
137 double ratio = (double) actualSecondary / (double) actualPrimary; in getResizedDimension() local
236 double ratio = Math.min(wr, hr); in findBestSampleSize() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DEndPointRatioClassifier.java35 float ratio; in getFalseTouchEvaluation() local
/frameworks/base/core/java/android/gesture/
DOrientedBoundingBox.java42 float ratio = w / h; in OrientedBoundingBox() local
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCubeRenderer.java94 float ratio = (float) width / height; in onSurfaceChanged() local
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dpsy_configuration.h45 Word16 ratio; member
75 Word16 ratio; member
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerWrapContentWithAspectRatioTest.java49 float ratio) { in LinearLayoutManagerWrapContentWithAspectRatioTest()
DBaseWrapContentWithAspectRatioTest.java98 Float ratio; field in BaseWrapContentWithAspectRatioTest.AspectRatioMeasureBehavior
105 public AspectRatioMeasureBehavior aspectRatio(int control, float ratio) { in aspectRatio()
/frameworks/base/core/java/com/android/internal/os/
DCpuPowerCalculator.java52 final double ratio = (double) u.getTimeAtCpuSpeed(cluster, speed, statsType) / in calculateApp() local
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DTriangleRenderer.java100 float ratio = (float) w / h; in onSurfaceChanged() local
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp66 static float computeShadowOpacity(float ratio) { in computeShadowOpacity()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java145 float ratio = Math.min((float) maxWidth / (float) originalWidth, in buildScaledBitmap() local
/frameworks/base/media/mca/filterfw/native/core/
Dgeometry.cpp72 bool Rect::ExpandToAspectRatio(float ratio) { in ExpandToAspectRatio()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java186 final int ratio = Integer.parseInt(nextArg()); in runPartition() local
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.cpp71 bool Rect::ExpandToAspectRatio(float ratio) { in ExpandToAspectRatio()
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java128 final float ratio = (float) sourceWidth / sourceHeight; in createIconBitmap() local
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp93 float ratio = width / height; in init_scene() local
/frameworks/base/core/java/android/transition/
DArcMotion.java269 float ratio = (float) Math.sqrt(ratio2); in getPath() local
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp187 float ratio = 320.0f / 480.0f; in init_scene() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java185 float ratio = (float) width / height; in onSurfaceChanged() local
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java288 public ConfigGenerator setRatio(ScreenRatio ratio) { in setRatio()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEnvReverbTest.java181 short ratio = mReverb.getDecayHFRatio(); in test1_1Decay() local
/frameworks/base/core/java/android/widget/
DRatingBar.java272 final float ratio = getProgressPerStar(); in updateSecondaryProgress() local
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java186 public void setZoomRatio(float ratio) { in setZoomRatio()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp297 float ratio = 320.0f / 480.0f; in init_scene() local

12