OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:halfDrawable
(Results
1 - 7
of
7
) sorted by null
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
RippleDrawableTest.java
103
final RippleDrawable
halfDrawable
=
105
assertEquals(Math.round(initialRadius / 2f),
halfDrawable
.getRadius());
121
halfDrawable
.applyTheme(t);
122
assertEquals(initialRadius,
halfDrawable
.getRadius());
LayerDrawableTest.java
[
all
...]
InsetDrawableTest.java
481
final InsetDrawable
halfDrawable
=
485
assertEquals(Math.round(origInsetHoriz * approxHalf),
halfDrawable
.getIntrinsicWidth()
486
-
halfDrawable
.getDrawable().getIntrinsicWidth());
504
halfDrawable
.applyTheme(t);
508
halfDrawable
.getIntrinsicWidth() -
halfDrawable
.getDrawable().getIntrinsicWidth());
AnimatedStateListDrawableTest.java
210
final StateListDrawable
halfDrawable
=
213
halfDrawable
.selectDrawable(i);
214
assertEquals(Math.round(origWidth[i] * 0.5f),
halfDrawable
.getIntrinsicWidth(), 1);
GradientDrawableTest.java
791
final GradientDrawable
halfDrawable
=
795
assertEquals(Math.round(origWidth * approxHalf),
halfDrawable
.getIntrinsicWidth());
796
assertEquals(Math.round(origHeight * approxHalf),
halfDrawable
.getIntrinsicHeight());
797
assertTrue(
halfDrawable
.getPadding(tempPadding));
828
halfDrawable
.applyTheme(t);
830
halfDrawable
.getIntrinsicWidth());
832
halfDrawable
.getIntrinsicHeight());
833
assertTrue(
halfDrawable
.getPadding(tempPadding));
StateListDrawableTest.java
236
final StateListDrawable
halfDrawable
=
238
halfDrawable
.selectDrawable(0);
239
assertEquals(Math.round(origWidth0 * 0.5f),
halfDrawable
.getIntrinsicWidth(), 1);
240
halfDrawable
.selectDrawable(1);
241
assertEquals(Math.round(origWidth1 * 0.5f),
halfDrawable
.getIntrinsicWidth(), 1);
VectorDrawableTest.java
447
final VectorDrawable
halfDrawable
=
451
assertEquals(Math.round(origWidth * approxHalf),
halfDrawable
.getIntrinsicWidth());
467
halfDrawable
.applyTheme(t);
468
assertEquals(origWidth,
halfDrawable
.getIntrinsicWidth());
Completed in 247 milliseconds