Merge "Adds gpuLoadUp calls for Launcher blur preparation." into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2025-05-05 20:45:01 -07:00
commit f2fff33546
4 files changed
+20

No files matched your search

@@ -15,6 +15,8 @@
*/
package com.android.launcher3.taskbar.allapps;
import static android.os.Trace.TRACE_TAG_APP;
import static com.android.app.animation.Interpolators.DECELERATED_EASE;
import static com.android.app.animation.Interpolators.EMPHASIZED;
import static com.android.app.animation.Interpolators.LINEAR;
@@ -28,6 +30,7 @@ import android.graphics.Canvas;
import android.graphics.Rect;
import android.os.Handler;
import android.os.Looper;
import android.os.Trace;
import android.util.AttributeSet;
import android.util.Log;
import android.view.CrossWindowBlurListeners;
@@ -116,6 +119,8 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView<TaskbarOverla
if (overlayVri == null) {
Log.w(TAG, "overlayVRI is null, cannot notifyRendererOfExpensiveFrame()");
} else {
Trace.instantForTrack(TRACE_TAG_APP, TAG, "notifyRendererForGpuLoadUp");
overlayVri.notifyRendererForGpuLoadUp("opening taskbar all apps");
overlayVri.notifyRendererOfExpensiveFrame();
}
}