OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SAMPLE_COLOR
(Results
1 - 5
of
5
) sorted by null
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
PreProvisioningActivityTest.java
51
private static final int
SAMPLE_COLOR
= Color.parseColor("#ffd40000");
92
createIntent(ACTION_PROVISION_MANAGED_PROFILE,
SAMPLE_COLOR
));
94
v.assertStatusBarColorCorrect(
SAMPLE_COLOR
);
95
v.assertSwiperColorCorrect(
SAMPLE_COLOR
);
96
v.assertNextButtonColorCorrect(
SAMPLE_COLOR
);
113
createIntent(ACTION_PROVISION_MANAGED_DEVICE,
SAMPLE_COLOR
));
115
v.assertStatusBarColorCorrect(
SAMPLE_COLOR
);
116
v.assertDefaultLogoCorrect(
SAMPLE_COLOR
);
117
v.assertNextButtonColorCorrect(
SAMPLE_COLOR
);
125
createIntent(ACTION_PROVISION_MANAGED_DEVICE,
SAMPLE_COLOR
).putExtra
[
all
...]
EncryptDeviceActivityTest.java
62
private static final int
SAMPLE_COLOR
= Color.parseColor("#d40000");
65
.setMainColor(
SAMPLE_COLOR
)
70
.setMainColor(
SAMPLE_COLOR
)
132
new CustomizationVerifier(activity).assertStatusBarColorCorrect(
SAMPLE_COLOR
);
155
new CustomizationVerifier(activity).assertStatusBarColorCorrect(
SAMPLE_COLOR
);
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
HtmlToSpannedParserTest.java
31
private static final int
SAMPLE_COLOR
= Color.MAGENTA;
37
new HtmlToSpannedParser(new ClickableSpanFactory(
SAMPLE_COLOR
),
39
url,
SAMPLE_COLOR
));
LogoUtilsTest.java
34
private static final int
SAMPLE_COLOR
= Color.RED;
44
assertEquals(
SAMPLE_COLOR
, newBitmap.getPixel(5, 5));
58
assertEquals(
SAMPLE_COLOR
, newBitmap.getPixel(1, 1));
70
assertEquals(
SAMPLE_COLOR
, newBitmap.getPixel(2, 2));
80
assertEquals(
SAMPLE_COLOR
, newBitmap.getPixel(2, 2));
88
assertEquals(
SAMPLE_COLOR
, newBitmap.getPixel(2, 2));
96
Drawable drawable = LogoUtils.getOrganisationLogo(getContext(),
SAMPLE_COLOR
);
109
expected.setColorFilter(
SAMPLE_COLOR
, PorterDuff.Mode.SRC_ATOP);
112
Drawable actual = LogoUtils.getOrganisationLogo(getContext(),
SAMPLE_COLOR
);
122
paint.setColor(
SAMPLE_COLOR
);
[
all
...]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
CustomizationParamsTest.java
46
private static final int
SAMPLE_COLOR
= Color.rgb(11, 22, 33);
82
ProvisioningParams params = createParams(null,
SAMPLE_COLOR
, null, null);
88
assertThat(instance.statusBarColor, equalTo(
SAMPLE_COLOR
));
89
assertThat(instance.swiperColor, equalTo(
SAMPLE_COLOR
));
90
assertThat(instance.buttonColor, equalTo(
SAMPLE_COLOR
));
Completed in 2585 milliseconds