Skip to content

Commit

Permalink
Use RNG HW rendering (#1795)
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke authored Nov 9, 2023
1 parent abde675 commit bebca9a
Show file tree
Hide file tree
Showing 102 changed files with 427 additions and 207 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions roboscreenshots/api/current.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package com.google.android.horologist.screenshots {
field public static final com.google.android.horologist.screenshots.FixedTimeSource INSTANCE;
}

@com.google.android.horologist.annotations.ExperimentalHorologistApi @org.junit.runner.RunWith(RobolectricTestRunner::class) @org.robolectric.annotation.Config(sdk={30}, qualifiers="w227dp-h227dp-small-notlong-round-watch-xhdpi-keyshidden-nonav") @org.robolectric.annotation.GraphicsMode(org.robolectric.annotation.GraphicsMode.Mode.NATIVE) public abstract class ScreenshotBaseTest {
@com.google.android.horologist.annotations.ExperimentalHorologistApi @org.junit.runner.RunWith(RobolectricTestRunner::class) @org.robolectric.annotation.Config(sdk={33}, qualifiers="w227dp-h227dp-small-notlong-round-watch-xhdpi-keyshidden-nonav", shadows={ShadowPixelCopy::class}) @org.robolectric.annotation.GraphicsMode(org.robolectric.annotation.GraphicsMode.Mode.NATIVE) public abstract class ScreenshotBaseTest {
ctor public ScreenshotBaseTest(optional com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams params);
method @org.junit.Rule public final com.google.android.horologist.screenshots.ScreenshotTestRule getScreenshotTestRule();
property @org.junit.Rule public final com.google.android.horologist.screenshots.ScreenshotTestRule screenshotTestRule;
Expand All @@ -25,6 +25,14 @@ package com.google.android.horologist.screenshots {
field public static final com.google.android.horologist.screenshots.ScreenshotTestRule.Companion Companion;
}

public enum ScreenshotTestRule.ClipMode {
method public static com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode valueOf(String name) throws java.lang.IllegalArgumentException;
method public static com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode[] values();
enum_constant public static final com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode Auto;
enum_constant public static final com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode None;
enum_constant public static final com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode Round;
}

public static final class ScreenshotTestRule.Companion {
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams.Builder builder();
method public inline com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams screenshotTestRuleParams(kotlin.jvm.functions.Function1<? super com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams.Builder,kotlin.Unit> block);
Expand All @@ -44,18 +52,21 @@ package com.google.android.horologist.screenshots {
}

public static final class ScreenshotTestRule.ScreenshotTestRuleParams {
ctor public ScreenshotTestRule.ScreenshotTestRuleParams(float tolerance, boolean enableA11y, kotlin.jvm.functions.Function0<kotlin.Unit> screenTimeText, String? testLabel, com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode record);
ctor public ScreenshotTestRule.ScreenshotTestRuleParams(float tolerance, boolean enableA11y, kotlin.jvm.functions.Function0<kotlin.Unit> screenTimeText, String? testLabel, com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode record, com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode clipMode);
method public float component1();
method public boolean component2();
method public kotlin.jvm.functions.Function0<kotlin.Unit> component3();
method public String? component4();
method public com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode component5();
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams copy(float tolerance, boolean enableA11y, kotlin.jvm.functions.Function0<kotlin.Unit> screenTimeText, String? testLabel, com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode record);
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode component6();
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams copy(float tolerance, boolean enableA11y, kotlin.jvm.functions.Function0<kotlin.Unit> screenTimeText, String? testLabel, com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode record, com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode clipMode);
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode getClipMode();
method public boolean getEnableA11y();
method public com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode getRecord();
method public kotlin.jvm.functions.Function0<kotlin.Unit> getScreenTimeText();
method public String? getTestLabel();
method public float getTolerance();
property public final com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode clipMode;
property public final boolean enableA11y;
property public final com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode record;
property public final kotlin.jvm.functions.Function0<kotlin.Unit> screenTimeText;
Expand All @@ -65,16 +76,19 @@ package com.google.android.horologist.screenshots {

public static final class ScreenshotTestRule.ScreenshotTestRuleParams.Builder {
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ScreenshotTestRuleParams build();
method public com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode getClipMode();
method public boolean getEnableA11y();
method public com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode getRecord();
method public kotlin.jvm.functions.Function0<kotlin.Unit> getScreenTimeText();
method public String? getTestLabel();
method public float getTolerance();
method public void setClipMode(com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode);
method public void setEnableA11y(boolean);
method public void setRecord(com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode);
method public void setScreenTimeText(kotlin.jvm.functions.Function0<kotlin.Unit>);
method public void setTestLabel(String?);
method public void setTolerance(float);
property public final com.google.android.horologist.screenshots.ScreenshotTestRule.ClipMode clipMode;
property public final boolean enableA11y;
property public final com.google.android.horologist.screenshots.ScreenshotTestRule.RecordMode record;
property public final kotlin.jvm.functions.Function0<kotlin.Unit> screenTimeText;
Expand Down
Loading

0 comments on commit bebca9a

Please sign in to comment.