Searched refs:targetHeight (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 365 int targetHeight, 371 int deltaY = source.getHeight() - targetHeight; 379 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, 389 deltaYHalf + Math.min(targetHeight, source.getHeight())); 391 int dstY = (targetHeight - src.height()) / 2; 396 targetHeight - dstY); 408 float viewAspect = (float) targetWidth / targetHeight; 411 float scale = targetHeight / bitmapHeightF; 440 int dy1 = Math.max(0, b1.getHeight() - targetHeight); 447 targetHeight); 362 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FullscreenBlur.java | 53 static int targetHeight;
field in class:FullscreenBlur 59 targetHeight = h/8;
61 Type renderType = b.setX(targetWidth).setY(targetHeight).create();
69 renderType = b.setX(targetWidth).setY(targetHeight).create();
143 addOffsets(quad, 1.0f / (float)targetHeight);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 519 float targetHeight = mSmallSize; 523 targetHeight = (force || currentHeight > mSmallSize) ? mNaturalHeight : mSmallSize; 525 targetHeight = (force || currentHeight < mNaturalHeight) ? mSmallSize : mNaturalHeight; 532 if (targetHeight != currentHeight) { 533 mScaleAnimation.setFloatValues(targetHeight);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 340 final int targetHeight = targetDrawable.getIntrinsicHeight(); 351 final int targetTop = (parentHeight - targetHeight) / 2; 352 final int targetBottom = targetTop + targetHeight; 372 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; 377 target.layout(targetLeft, top, targetRight, top + targetHeight); 382 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight);
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 1061 int targetHeight = bottom - top; 1069 verticalAxis.layout(targetHeight - paddingTop - paddingBottom);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 1000 int targetHeight = bottom - top; 1008 verticalAxis.layout(targetHeight - paddingTop - paddingBottom);
|
Completed in 175 milliseconds