Searched refs:mRatio (Results 1 - 5 of 5) sorted by relevance
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
H A D | EmojiSpan.java | 60 private float mRatio = 1.0f; field in class:EmojiSpan 81 mRatio = fontHeight * 1.0f / mMetadata.getHeight(); 82 mHeight = (short) (mMetadata.getHeight() * mRatio); 83 mWidth = (short) (mMetadata.getWidth() * mRatio); 128 return mRatio;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 45 final float mRatio; field in class:LinearLayoutManagerWrapContentWithAspectRatioTest 53 mRatio = ratio; 133 WRAP_CONTENT, WRAP_CONTENT).aspectRatio(testOrientation, mRatio); 137 .aspectRatio(testOrientation, mRatio); 141 .aspectRatio(testOrientation, mRatio);
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 142 mRatio = (float) width / height; 143 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 336 private float mRatio = 1.0f; field in class:MyRenderer
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 165 mPos[0] = (x*2-1)*mRatio; 236 mRatio = (float) width / height; 237 Matrix.frustumM(mProjMatrix, 0, -mRatio, mRatio, -1, 1, 3, 7); 491 private float mRatio = 1.0f; field in class:CamRenderer
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | ConfigGenerator.java | 157 private ScreenRatio mRatio = ScreenRatio.NOTLONG; field in class:ConfigGenerator 177 config.setScreenRatioQualifier(new ScreenRatioQualifier(mRatio)); 289 mRatio = ratio;
|
Completed in 468 milliseconds