HomeSort by relevance Sort by last modified time
    Searched refs:toTransform (Results 1 - 7 of 7) sorted by null

  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
CenterCrop.java 27 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
28 final Bitmap toReuse = pool.get(outWidth, outHeight, toTransform.getConfig() != null
29 ? toTransform.getConfig() : Bitmap.Config.ARGB_8888);
30 Bitmap transformed = TransformationUtils.centerCrop(toReuse, toTransform, outWidth, outHeight);
FitCenter.java 23 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
24 return TransformationUtils.fitCenter(toTransform, pool, outWidth, outHeight);
BitmapTransformation.java 20 * public Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
21 * if (toTransform.getWidth() == outWidth && toTransform.getHeight() == outHeight) {
22 * return toTransform;
25 * return Bitmap.createScaledBitmap(toTransform, outWidth, outHeight, true);
49 Bitmap toTransform = resource.get();
50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight);
53 if (toTransform.equals(transformed)) {
70 * @param toTransform The {@link android.graphics.Bitmap} to transform.
74 protected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight)
    [all...]
TransformationUtils.java 139 * @param toTransform The {@link android.graphics.Bitmap} that will be transformed.
143 public static void setAlpha(Bitmap toTransform, Bitmap outBitmap) {
145 outBitmap.setHasAlpha(toTransform.hasAlpha());
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskStackViewFilterAlgorithm.java 107 TaskViewTransform toTransform = taskTransforms.get(i);
108 if (toTransform.visible) {
115 TaskViewTransform fromTransform = new TaskViewTransform(toTransform);
119 toTransform.startDelay = offset * Constants.Values.TaskStackView.FilterStartDelay;
120 childViewTransformsOut.put(tv, toTransform);
124 Math.abs(toTransform.translationY - fromTransform.translationY));
152 TaskViewTransform toTransform;
158 toTransform = curTaskTransforms.get(curTasks.indexOf(task));
160 toTransform = new TaskViewTransform(taskTransforms.get(taskIndex));
162 tv.prepareTaskTransformForFilterTaskVisible(toTransform);
    [all...]
TaskView.java 182 void updateViewPropertiesToTaskTransform(TaskViewTransform toTransform, int duration) {
183 updateViewPropertiesToTaskTransform(toTransform, duration, null);
186 void updateViewPropertiesToTaskTransform(TaskViewTransform toTransform, int duration,
189 toTransform.applyToTaskView(this, duration, mConfig.fastOutSlowInInterpolator, false,
195 setTaskProgress(toTransform.p);
197 mTaskProgressAnimator = ObjectAnimator.ofFloat(this, "taskProgress", toTransform.p);
221 void prepareTaskTransformForFilterTaskHidden(TaskViewTransform toTransform) {
223 toTransform.alpha = 0f;
224 toTransform.translationY += 200;
225 toTransform.translationZ = 0
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
Recents.java 619 TaskViewTransform toTransform = getThumbnailTransitionTransform(stack, stackView,
621 Rect toTaskRect = toTransform.rect;
631 thumbnail = drawThumbnailTransitionBitmap(toTask, toTransform);
668 final TaskViewTransform toTransform = getThumbnailTransitionTransform(stack, stackView,
673 return drawThumbnailTransitionBitmap(toTask, toTransform);
687 Bitmap drawThumbnailTransitionBitmap(Task toTask, TaskViewTransform toTransform) {
688 if (toTransform != null && toTask.key != null) {
691 int toHeaderWidth = (int) (mHeaderBar.getMeasuredWidth() * toTransform.scale);
692 int toHeaderHeight = (int) (mHeaderBar.getMeasuredHeight() * toTransform.scale);
699 c.scale(toTransform.scale, toTransform.scale)
    [all...]

Completed in 1773 milliseconds