Home | History | Annotate | Download | only in util

Lines Matching refs:getBitmap

423     public static Bitmap getBitmap(Context context, @DrawableRes int resid) {
424 return ((BitmapDrawable) getDrawable(context, resid)).getBitmap();
435 WidgetTestUtils.assertEquals(getBitmap(context, expectedLeftDrawableId),
436 ((BitmapDrawable) compoundDrawables[0]).getBitmap());
441 WidgetTestUtils.assertEquals(getBitmap(context, expectedTopDrawableId),
442 ((BitmapDrawable) compoundDrawables[1]).getBitmap());
447 WidgetTestUtils.assertEquals(getBitmap(context, expectedRightDrawableId),
448 ((BitmapDrawable) compoundDrawables[2]).getBitmap());
453 WidgetTestUtils.assertEquals(getBitmap(context, expectedBottomDrawableId),
454 ((BitmapDrawable) compoundDrawables[3]).getBitmap());
466 WidgetTestUtils.assertEquals(getBitmap(context, expectedStartDrawableId),
467 ((BitmapDrawable) compoundDrawablesRelative[0]).getBitmap());
472 WidgetTestUtils.assertEquals(getBitmap(context, expectedTopDrawableId),
473 ((BitmapDrawable) compoundDrawablesRelative[1]).getBitmap());
478 WidgetTestUtils.assertEquals(getBitmap(context, expectedEndDrawableId),
479 ((BitmapDrawable) compoundDrawablesRelative[2]).getBitmap());
484 WidgetTestUtils.assertEquals(getBitmap(context, expectedBottomDrawableId),
485 ((BitmapDrawable) compoundDrawablesRelative[3]).getBitmap());