OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:layerDrawable
(Results
1 - 11
of
11
) sorted by null
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java
37
import android.graphics.drawable.
LayerDrawable
;
53
LayerDrawable
layerDrawable
= new
LayerDrawable
(array);
54
assertEquals(array.length,
layerDrawable
.getNumberOfLayers());
55
assertSame(bitmapDrawable,
layerDrawable
.getDrawable(0));
56
assertSame(colorDrawable,
layerDrawable
.getDrawable(1));
59
layerDrawable
= new
LayerDrawable
(array);
60
assertEquals(0,
layerDrawable
.getNumberOfLayers())
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LayerDrawableTest.java
6
import android.graphics.drawable.
LayerDrawable
;
50
LayerDrawable
layerDrawable
= new
LayerDrawable
(drawables);
51
assertSame("drawables", drawables, shadowOf(
layerDrawable
).drawables);
56
LayerDrawable
layerDrawable
= new
LayerDrawable
(drawables);
57
assertEquals("count", 3,
layerDrawable
.getNumberOfLayers());
62
LayerDrawable
layerDrawable = new LayerDrawable(drawables)
[
all
...]
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
RecyclingImageView.java
21
import android.graphics.drawable.
LayerDrawable
;
80
} else if (drawable instanceof
LayerDrawable
) {
81
// The drawable is a
LayerDrawable
, so recurse on each layer
82
LayerDrawable
layerDrawable
= (
LayerDrawable
) drawable;
83
for (int i = 0, z =
layerDrawable
.getNumberOfLayers(); i < z; i++) {
84
notifyDrawable(
layerDrawable
.getDrawable(i), isDisplayed);
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
RecyclingImageView.java
21
import android.graphics.drawable.
LayerDrawable
;
80
} else if (drawable instanceof
LayerDrawable
) {
81
// The drawable is a
LayerDrawable
, so recurse on each layer
82
LayerDrawable
layerDrawable
= (
LayerDrawable
) drawable;
83
for (int i = 0, z =
layerDrawable
.getNumberOfLayers(); i < z; i++) {
84
notifyDrawable(
layerDrawable
.getDrawable(i), isDisplayed);
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
RecyclingImageView.java
21
import android.graphics.drawable.
LayerDrawable
;
80
} else if (drawable instanceof
LayerDrawable
) {
81
// The drawable is a
LayerDrawable
, so recurse on each layer
82
LayerDrawable
layerDrawable
= (
LayerDrawable
) drawable;
83
for (int i = 0, z =
layerDrawable
.getNumberOfLayers(); i < z; i++) {
84
notifyDrawable(
layerDrawable
.getDrawable(i), isDisplayed);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
RefcountImageView.java
24
import android.graphics.drawable.
LayerDrawable
;
76
} else if (drawable instanceof
LayerDrawable
) {
77
LayerDrawable
layerDrawable
= (
LayerDrawable
) drawable;
78
for (int i = 0, z =
layerDrawable
.getNumberOfLayers(); i < z; i++) {
79
releaseRef(
layerDrawable
.getDrawable(i));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowImageView.java
10
import android.graphics.drawable.
LayerDrawable
;
58
* Build drawable, either
LayerDrawable
or BitmapDrawable.
79
LayerDrawable
layerDrawable
= new
LayerDrawable
(drawables);
80
shadowOf(
layerDrawable
).setLoadedFromResourceId(resourceId);
81
return
layerDrawable
;
/frameworks/base/core/java/android/widget/
ToggleButton.java
22
import android.graphics.drawable.
LayerDrawable
;
136
if (backgroundDrawable instanceof
LayerDrawable
) {
137
LayerDrawable
layerDrawable
= (
LayerDrawable
) backgroundDrawable;
139
layerDrawable
.findDrawableByLayerId(com.android.internal.R.id.toggle);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java
37
import android.graphics.drawable.
LayerDrawable
;
256
static class TranslucentLayerDrawable extends
LayerDrawable
{
429
LayerDrawable
layerDrawable
) {
430
int numChildren =
layerDrawable
.getNumberOfLayers();
433
drawables[i] =
layerDrawable
.getDrawable(i);
437
result.setId(i,
layerDrawable
.getId(i));
757
LayerDrawable
layerDrawable
= (
LayerDrawable
)
[
all
...]
/packages/apps/Camera2/src/com/android/camera/ui/
BottomBar.java
25
import android.graphics.drawable.
LayerDrawable
;
134
LayerDrawable
layerDrawable
= (
LayerDrawable
) mCancelButton.getBackground();
135
Drawable d =
layerDrawable
.getDrawable(0);
387
private
LayerDrawable
applyCircleDrawableToShutterBackground(
LayerDrawable
shutterBackground) {
404
private
LayerDrawable
newDrawableFromConstantState(Drawable.ConstantState constantState) {
405
return (
LayerDrawable
) constantState.newDrawable(getContext().getResources());
409
LayerDrawable
shutterBackground = applyCircleDrawableToShutterBackground
[
all
...]
/prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar
Completed in 241 milliseconds