/packages/apps/TV/src/com/android/tv/ui/ |
KeypadChannelSwitchView.java | 308 int targetHeight = mBaseViewHeight + itemListHeight; 316 mCurrentHeight = targetHeight; 317 setViewHeight(this, targetHeight); 318 } else if (mCurrentHeight != targetHeight){ 319 mResizeAnimator = createResizeAnimator(targetHeight); 324 private Animator createResizeAnimator(int targetHeight) { 325 ValueAnimator animator = ValueAnimator.ofInt(mCurrentHeight, targetHeight);
|
ChannelBannerView.java | 744 int targetHeight = getMeasuredHeight(); 748 mCurrentHeight = targetHeight; 750 if (targetHeight != layoutParams.height) { 751 layoutParams.height = targetHeight; 754 } else if (mCurrentHeight != targetHeight || needProgramDescriptionFadeAnimation) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
DividerHandleView.java | 113 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) { 117 mCurrentHeight, targetHeight);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
TransformationUtils.java | 101 final int targetHeight = (int) (minPercentage * toFit.getHeight()); 103 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) { 111 Bitmap toReuse = pool.get(targetWidth, targetHeight, config); 113 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config);
|
Downsampler.java | 198 int targetHeight = (int) Math.ceil(inHeight / (double) sampleSize); 200 setInBitmap(options, pool.getDirty(targetWidth, targetHeight, config));
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
BenefitsAnimation.java | 139 int targetHeight = layoutParams.height - (contentHeight - viewportHeight); 144 if (targetHeight >= minHeight) { 145 layoutParams.height = targetHeight;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 380 int sourceHeight, targetHeight; 395 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( 398 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); 409 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( 412 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); 424 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( 427 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight());
|
NinePatchDrawableTest.java | 374 int targetHeight = DrawableTestUtils.scaleBitmapFromDensity( 377 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ExpandHelper.java | 580 float targetHeight = nowExpanded ? naturalHeight : mSmallSize; 581 if (targetHeight != currentHeight && mEnabled && allowAnimation) { 582 mScaleAnimation.setFloatValues(targetHeight); 609 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); 612 if (targetHeight != currentHeight) { 613 mScaler.setHeight(targetHeight); 626 if (DEBUG) Log.d(TAG, "targetHeight is: " + targetHeight);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 390 int targetHeight = Math.min(display.getHeight(), display.getWidth()); 392 if (targetHeight <= 0) { 394 targetHeight = display.getHeight(); 401 if (Math.abs(size.height - targetHeight) < minDiff) { 403 minDiff = Math.abs(size.height - targetHeight); 413 if (Math.abs(size.height - targetHeight) < minDiff) { 415 minDiff = Math.abs(size.height - targetHeight);
|
/external/deqp/modules/egl/ |
teglNativeCoordMappingTests.cpp | 229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, int y, int width, int height) 233 toGLCoord(targetWidth, targetHeight, x, y), 234 toGLCoord(targetWidth, targetHeight, x+width, y), 235 toGLCoord(targetWidth, targetHeight, x+width, y+height), 237 toGLCoord(targetWidth, targetHeight, x+width, y+height), 238 toGLCoord(targetWidth, targetHeight, x, y+height), 239 toGLCoord(targetWidth, targetHeight, x, y) 250 gl.viewport(0, 0, targetWidth, targetHeight);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
CropFilter.java | 106 float targetHeight = croppedDims[1] / (float)extDims[1]; 107 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 543 int targetHeight = Math.min(defaultDisplaySize.getWidth(), defaultDisplaySize.getHeight()); 552 double heightDiff = Math.abs(size.getHeight() - targetHeight); 559 if (size.getHeight() < targetHeight) { 572 if (Math.abs(size.getHeight() - targetHeight) < minDiff) { 574 minDiff = Math.abs(size.getHeight() - targetHeight); 589 * @param targetHeight the ideal height of the video snapshot 594 int targetHeight) { 608 if (size.height() == targetHeight && size.width() == targetWidth) { 614 final double targetRatio = (double) targetWidth / targetHeight; [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartSweepView.java | 183 final float targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top 185 return mSweepPadding.top + (targetHeight / 2) + mSweepOffset.y; 654 final int targetHeight = mSweep.getIntrinsicHeight() - mSweepPadding.top 656 mMargins.top = -(mSweepPadding.top + (targetHeight / 2));
|
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 348 final int targetHeight = targetDrawable.getIntrinsicHeight(); 359 final int targetTop = (parentHeight - targetHeight) / 2; 360 final int targetBottom = targetTop + targetHeight; 380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; 385 target.layout(targetLeft, top, targetRight, top + targetHeight); 390 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight); [all...] |
FloatingToolbar.java | 764 final int targetHeight = mOverflowPanelSize.getHeight(); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 388 int targetHeight = h; 401 curDiff = Math.abs(size.height - targetHeight) + 404 && size.height <= targetHeight
|
/frameworks/base/core/java/android/view/ |
IWindowManager.aidl | 105 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback,
|
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
picasso-2.5.2.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/picasso/picasso/2.5.2/ |
picasso-2.5.2.jar | |
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
ActivityAndWindowManagersState.java | 687 int targetHeight = Math.max(taskHeight, defaultMinimalTaskSize); 689 assertEquals(new Rectangle(0, 0, targetWidth, targetHeight), [all...] |
/frameworks/base/core/java/android/app/ |
ActivityOptions.java | 568 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, 571 targetWidth, targetHeight, handler, listener, false); 575 int startX, int startY, int targetWidth, int targetHeight, 587 opts.mHeight = targetHeight; [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
DynamicShortcuts.java | 394 final int targetHeight = Math.min(scaledHeight, iconMaxHeight); 397 final int targetSize = Math.min(targetWidth, targetHeight);
|
/frameworks/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 222 int startY, int targetWidth, int targetHeight, IRemoteCallback startedCallback,
|
/packages/services/BuiltInPrintService/jni/plugins/ |
wprint_image.c | 309 float targetHeight, targetWidth; 318 targetHeight = image_info->printable_height * 1.0f; 322 rw = (targetHeight * sourceWidth) / sourceHeight; 332 image_info->scaled_height = (int) floorf(targetHeight); [all...] |