/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
VideoScale.java | 36 float scaleHeight = 1.0f; 42 scaleHeight = desiredScaledHeight / viewHeight; 55 float scaleY = scaleHeight; 57 scaleHeight = viewWidth / viewHeight * scaleX; 63 scaleHeight = scaleHeight * -1.0f; 74 scaleHeight, 80 scaleHeight, 100 float scaleHeight = 1.0f; 118 scaleHeight = (float) desiredHeight / (float) viewHeight [all...] |
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
FixedAspectSurfaceView.java | 95 boolean scaleHeight = false; 104 scaleHeight = true; 118 scaleHeight = true; 122 scaleHeight = true; 130 scaleHeight = true; 136 } else if (scaleHeight) {
|
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
FixedAspectSurfaceView.java | 95 boolean scaleHeight = false; 104 scaleHeight = true; 118 scaleHeight = true; 122 scaleHeight = true; 130 scaleHeight = true; 136 } else if (scaleHeight) {
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
FixedAspectSurfaceView.java | 84 boolean scaleHeight = false; 92 scaleHeight = true; 106 scaleHeight = true; 110 scaleHeight = true; 118 scaleHeight = true; 124 } else if (scaleHeight) {
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
FixedAspectSurfaceView.java | 40 private final boolean scaleHeight; 48 scaleHeight = a.getBoolean(R.styleable.FixedAspectSurfaceView_scaleHeight, false); 50 Assert.checkArgument(scaleHeight != scaleWidth, "Must either scale width or height"); 75 } else if (scaleHeight) {
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
FixedAspectSurfaceView.java | 97 boolean scaleHeight = false; 105 scaleHeight = true; 119 scaleHeight = true; 123 scaleHeight = true; 131 scaleHeight = true; 137 } else if (scaleHeight) {
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
FixedAspectSurfaceView.java | 98 boolean scaleHeight = false; 106 scaleHeight = true; 120 scaleHeight = true; 124 scaleHeight = true; 132 scaleHeight = true; 138 } else if (scaleHeight) {
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
FixedAspectSurfaceView.java | 98 boolean scaleHeight = false; 106 scaleHeight = true; 120 scaleHeight = true; 124 scaleHeight = true; 132 scaleHeight = true; 138 } else if (scaleHeight) {
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
BitmapUtils.java | 51 int scaleHeight = (int) Math.ceil(bm.getHeight() * scale); 58 scaledBm = Bitmap.createScaledBitmap(scaledBm, scaleWidth * 2, scaleHeight * 2, true); 63 .createScaledBitmap(scaledBm, scaleWidth, scaleHeight, true);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ScaleDrawableTest.java | 345 float scaleHeight = 0.3f; 347 mockDrawable, Gravity.LEFT, scaleWidth, scaleHeight); 353 bounds.height() - (int) (bounds.height() * scaleHeight), bounds, expected); 360 scaleHeight = 0.7f; 363 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); 369 bounds.height() - (int) (bounds.height() * scaleHeight * (10000 - level) / 10000), 377 scaleHeight = -0.3f; 379 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); 388 scaleHeight = 1.7f; 390 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); [all...] |
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
BitmapUtils.java | 63 int scaleHeight = (int) Math.ceil(bm.getHeight() * scale); 70 scaledBm = Bitmap.createScaledBitmap(scaledBm, scaleWidth * 2, scaleHeight * 2, true); 75 .createScaledBitmap(scaledBm, scaleWidth, scaleHeight, true);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
MtpImageView.java | 168 float scaleHeight = ((float) vheight) / (iheight * OVERLAY_ICON_SIZE_DENOMINATOR); 170 if (scaleHeight >= 1f && scaleWidth >= 1f) { 176 float scale = Math.min(scaleHeight, scaleWidth);
|
/packages/apps/TV/src/com/android/tv/tuner/layout/ |
ScaledLayout.java | 203 int scaleHeight = (int) (height * (scaleEndRow - scaleStartRow)); 205 scaleHeight > mMaxHeight ? mMaxHeight : scaleHeight, MeasureSpec.EXACTLY);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
PathAnimations.java | 226 float scaleHeight= (bottom-top)/TRAVERSE_PATH_SIZE; 227 scale.setScale(scaleWidth, scaleHeight);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ScaleDrawable.java | 50 * {@code android.R.styleable#ScaleDrawable_scaleHeight scaleHeight}. At run 84 * @param scaleHeight height scaling factor [0...1] to use then the level 87 public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight) { 92 mState.mScaleHeight = scaleHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
IconView.java | 210 float scaleHeight = mBitmapBounds.height() / (float) mBitmap.getHeight(); 211 float scale = Math.max(scaleWidth, scaleHeight);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 632 final float scaleHeight = CROPPED_SIZE / cropWidth; 637 matrix.postScale(scaleWidth, scaleHeight); [all...] |
/prebuilts/gradle-plugin/com/android/tools/asset-studio/25.5.0-alpha-preview-02/ |
asset-studio-25.5.0-alpha-preview-02.jar | |
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
VirtualDevice.cpp | [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
R.java | [all...] |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/26.0.0-alpha4/ |
sdk-common-26.0.0-alpha4.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/26.0.0-alpha5/ |
sdk-common-26.0.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/26.0.0-alpha6/ |
sdk-common-26.0.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/26.0.0-alpha7/ |
sdk-common-26.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdk-common/26.0.0-alpha9/ |
sdk-common-26.0.0-alpha9.jar | |