
org.robolectric.shadows.ShadowBackdropFrameRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadows-framework Show documentation
Show all versions of shadows-framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.S;
import static android.os.Build.VERSION_CODES.UPSIDE_DOWN_CAKE;
import static org.robolectric.util.reflector.Reflector.reflector;
import android.os.Looper;
import android.view.Choreographer;
import android.view.ThreadedRenderer;
import com.google.common.util.concurrent.Uninterruptibles;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.LooperMode;
import org.robolectric.annotation.LooperMode.Mode;
import org.robolectric.annotation.RealObject;
import org.robolectric.config.ConfigurationRegistry;
import org.robolectric.shadow.api.Shadow;
import org.robolectric.util.reflector.Accessor;
import org.robolectric.util.reflector.ForType;
/** Shadow for {@link BackdropFrameRenderer} */
@Implements(
className = "com.android.internal.policy.BackdropFrameRenderer",
minSdk = S,
maxSdk = UPSIDE_DOWN_CAKE,
isInAndroidSdk = false)
public class ShadowBackdropFrameRenderer {
// Updated to the real value in the generated Shadow constructor
@RealObject private final Object realBackdropFrameRenderer = null;
private Looper looper;
private static final List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy