Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java49 double ratio = (originalSize > MAX_SAFE_ICON_SIZE_PX) in resolveImage() local
71 private static int getPowerOfTwoForSampleRatio(double ratio) { in getPowerOfTwoForSampleRatio()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DEndPointRatioClassifier.java35 float ratio; in getFalseTouchEvaluation() local
/frameworks/native/services/surfaceflinger/
DLayerStats.cpp131 int32_t ratio = location * 8 / range; in destinationLocation() local
145 int32_t ratio = size * 8 / range; in destinationSize() local
/frameworks/minikin/include/minikin/
DLayoutCache.h168 float ratio = (mRequestCount == 0) ? 0 : mCacheHitCount / (float)mRequestCount; in dumpStats() local
181 float ratio = (mRequestCount == 0) ? 0 : mCacheHitCount / (float)mRequestCount; in dumpStats() 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/native/opengl/tests/gldual/src/com/android/gldual/
DTriangleRenderer.java100 float ratio = (float) w / h; in onSurfaceChanged() local
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.h61 float ratio; member
74 float ratio; member
DDPBase.cpp91 float ratio, float threshold, float kneeWidth, float noiseGateThreshold, in init()
166 float ratio, float threshold, float postGain) { in init()
DDPBase.h133 void setRatio(float ratio) { in setRatio()
233 void setRatio(float ratio) { in setRatio()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java94 final float ratio = (float) sourceWidth / sourceHeight; in createIconBitmap() local
/frameworks/base/media/mca/filterfw/native/core/
Dgeometry.cpp72 bool Rect::ExpandToAspectRatio(float ratio) { in ExpandToAspectRatio()
/frameworks/base/core/java/android/text/style/
DLineHeightSpan.java147 final float ratio = mHeight * 1.0f / originHeight; in chooseHeight() local
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLRenderer.java66 float ratio = (float) width / height; in onSurfaceChanged() local
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.cpp73 bool Rect::ExpandToAspectRatio(float ratio) { in ExpandToAspectRatio()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java156 float ratio = Math.min((float) maxWidth / (float) originalWidth, in buildScaledBitmap() local
/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/cmds/sm/src/com/android/commands/sm/
DSm.java215 final int ratio = Integer.parseInt(nextArg()); in runPartition() local
/frameworks/base/core/java/android/transition/
DArcMotion.java270 float ratio = (float) Math.sqrt(ratio2); in getPath() local
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp183 float ratio = 320.0f / 480.0f; in init_scene() local
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp98 float ratio = width / height; in init_scene() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java185 float ratio = (float) width / height; in onSurfaceChanged() local
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java287 public ConfigGenerator setRatio(ScreenRatio ratio) { in setRatio()
/frameworks/base/core/java/android/widget/
DRatingBar.java286 final float ratio = getProgressPerStar(); in updateSecondaryProgress() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaEnvReverbTest.java181 short ratio = mReverb.getDecayHFRatio(); in test1_1Decay() local

12