OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitmapDrawable
(Results
51 - 75
of
88
) sorted by null
1
2
3
4
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java
23
import android.graphics.drawable.
BitmapDrawable
;
292
private static class AsyncDrawable extends
BitmapDrawable
{
318
new
BitmapDrawable
(mResources, bitmap)
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java
30
import android.graphics.drawable.
BitmapDrawable
;
56
* added to this layout as an overlaying
BitmapDrawable
above the listview. Once the
88
private
BitmapDrawable
mHoverCell;
147
* size. The hover cell's
BitmapDrawable
is drawn on top of the bitmap every
150
private
BitmapDrawable
getAndAddHoverView(View v) {
159
BitmapDrawable
drawable = new
BitmapDrawable
(getResources(), b);
235
* By overriding this method, the hover cell (
BitmapDrawable
) can be drawn
452
* This TypeEvaluator is used to animate the
BitmapDrawable
back to its
454
*
BitmapDrawable
's bounds
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
SimpleAdapterTest.java
37
import android.graphics.drawable.
BitmapDrawable
;
329
BitmapDrawable
d = (
BitmapDrawable
) mContext.getDrawable(R.drawable.scenery);
331
((
BitmapDrawable
) view.getDrawable()).getBitmap());
353
d = (
BitmapDrawable
) mContext.getDrawable(R.drawable.scenery);
355
((
BitmapDrawable
) view.getDrawable()).getBitmap());
370
Bitmap actualBitmap = ((
BitmapDrawable
) view.getDrawable()).getBitmap();
RemoteViewsTest.java
35
import android.graphics.drawable.
BitmapDrawable
;
239
BitmapDrawable
dBlack = (
BitmapDrawable
) mContext.getDrawable(R.drawable.icon_black);
241
((
BitmapDrawable
) image.getDrawable()).getBitmap());
253
BitmapDrawable
dBlue = (
BitmapDrawable
) mContext.getDrawable(R.drawable.icon_blue);
255
((
BitmapDrawable
) image.getDrawable()).getBitmap());
267
BitmapDrawable
d = (
BitmapDrawable
) mContext.getDrawable(R.drawable.testimage);
269
((
BitmapDrawable
) image.getDrawable()).getBitmap())
[
all
...]
FrameLayoutTest.java
40
import android.graphics.drawable.
BitmapDrawable
;
102
final
BitmapDrawable
foreground
103
= (
BitmapDrawable
) mActivity.getResources().getDrawable(R.drawable.size_48x48);
121
final
BitmapDrawable
newForeground =
122
(
BitmapDrawable
) mActivity.getDrawable(R.drawable.size_48x48);
SimpleCursorAdapterTest.java
37
import android.graphics.drawable.
BitmapDrawable
;
217
BitmapDrawable
d = (
BitmapDrawable
) mContext.getResources().getDrawable(
220
((
BitmapDrawable
) view.getDrawable()).getBitmap());
247
Bitmap actualBitmap = ((
BitmapDrawable
) view.getDrawable()).getBitmap();
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java
54
import android.graphics.drawable.
BitmapDrawable
;
86
private
BitmapDrawable
mBitmapDrawable;
93
mBitmapDrawable = new
BitmapDrawable
(resources,
129
assertEquals(
BitmapDrawable
.class, layerDrawable.getDrawable(1).getClass());
244
array[i] = new
BitmapDrawable
();
264
Drawable d2 = new
BitmapDrawable
();
355
layerDrawable.invalidateDrawable(new
BitmapDrawable
());
[
all
...]
StateListDrawableTest.java
31
import android.graphics.drawable.
BitmapDrawable
;
407
assertEquals(100, ((
BitmapDrawable
) d1.getCurrent()).getPaint().getAlpha());
408
assertEquals(255, ((
BitmapDrawable
) d2.getCurrent()).getPaint().getAlpha());
409
assertEquals(255, ((
BitmapDrawable
) d3.getCurrent()).getPaint().getAlpha());
AdaptiveIconDrawableTest.java
23
import android.graphics.drawable.
BitmapDrawable
;
328
assertTrue("Foreground layer is color drawable.", fgDrawable instanceof
BitmapDrawable
);
329
assertTrue("Backgroud layer is color drawable.", bgDrawable instanceof
BitmapDrawable
);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java
28
import android.graphics.drawable.
BitmapDrawable
;
140
final
BitmapDrawable
d = new
BitmapDrawable
(getResources(), bitmap);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDrawableTest.java
18
import android.graphics.drawable.
BitmapDrawable
;
178
assertThat(aDrawable).isInstanceOf(
BitmapDrawable
.class);
ShadowLayoutInflaterTest.java
16
import android.graphics.drawable.
BitmapDrawable
;
278
BitmapDrawable
drawable = (
BitmapDrawable
) imageView.getDrawable();
286
BitmapDrawable
drawable = (
BitmapDrawable
) imageView.getDrawable();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowNotification.java
10
import android.graphics.drawable.
BitmapDrawable
;
85
? ((
BitmapDrawable
) imageView.getDrawable()).getBitmap() : null;
ShadowResources.java
20
import android.graphics.drawable.
BitmapDrawable
;
321
if (drawable instanceof
BitmapDrawable
) {
322
Bitmap bitmap = ((
BitmapDrawable
) drawable).getBitmap();
/cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java
29
import android.graphics.drawable.
BitmapDrawable
;
149
verifyDrawableContent((
BitmapDrawable
) mMenu.findItem(R.id.start).getIcon(),
153
verifyDrawableContent((
BitmapDrawable
) mMenu.findItem(R.id.pass).getIcon(),
157
verifyDrawableContent((
BitmapDrawable
) mMenu.findItem(R.id.failed).getIcon(),
329
private void verifyDrawableContent(
BitmapDrawable
b, int resId) {
/cts/tests/tests/transition/src/android/transition/cts/
FadeTest.java
30
import android.graphics.drawable.
BitmapDrawable
;
150
BitmapDrawable
bitmapDrawable
= (
BitmapDrawable
) imageView.getDrawable();
151
Bitmap bitmap =
bitmapDrawable
.getBitmap();
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java
26
import android.graphics.drawable.
BitmapDrawable
;
246
result = ((
BitmapDrawable
) defaultContactDrawable).getBitmap();
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsGridPagerAdapter.java
23
import android.graphics.drawable.
BitmapDrawable
;
188
return new
BitmapDrawable
(mContext.getResources(), mAttractions.get(row).image);
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java
26
import android.graphics.drawable.
BitmapDrawable
;
246
result = ((
BitmapDrawable
) defaultContactDrawable).getBitmap();
/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java
21
import android.graphics.drawable.
BitmapDrawable
;
117
((
BitmapDrawable
)
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsGridPagerAdapter.java
23
import android.graphics.drawable.
BitmapDrawable
;
188
return new
BitmapDrawable
(mContext.getResources(), mAttractions.get(row).image);
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
OtherMetadataFragment.java
26
import android.graphics.drawable.
BitmapDrawable
;
246
result = ((
BitmapDrawable
) defaultContactDrawable).getBitmap();
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
AttractionsGridPagerAdapter.java
23
import android.graphics.drawable.
BitmapDrawable
;
188
return new
BitmapDrawable
(mContext.getResources(), mAttractions.get(row).image);
/development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java
45
import android.graphics.drawable.
BitmapDrawable
;
418
mThumbnails.put(id, new
BitmapDrawable
(bitmap));
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/
HtmlActivityTask.java
22
import android.graphics.drawable.
BitmapDrawable
;
307
new
BitmapDrawable
(mActivity.getResources(), icon));
Completed in 1028 milliseconds
1
2
3
4