what-the-bank/sources/io/flutter/view/TextureRegistry.java

40 lines
936 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package io.flutter.view;
import android.graphics.SurfaceTexture;
/* loaded from: classes.dex */
public interface TextureRegistry {
/* loaded from: classes6.dex */
public interface OnFrameConsumedListener {
void onFrameConsumed();
}
/* loaded from: classes6.dex */
public interface OnTrimMemoryListener {
void onTrimMemory(int i);
}
/* loaded from: classes6.dex */
public interface SurfaceTextureEntry {
long id();
void release();
default void setOnFrameConsumedListener(OnFrameConsumedListener onFrameConsumedListener) {
}
default void setOnTrimMemoryListener(OnTrimMemoryListener onTrimMemoryListener) {
}
SurfaceTexture surfaceTexture();
}
SurfaceTextureEntry createSurfaceTexture();
default void onTrimMemory(int i) {
}
SurfaceTextureEntry registerSurfaceTexture(SurfaceTexture surfaceTexture);
}