/cts/tests/tests/preference/src/android/preference/cts/ |
D | CustomDialogPreference.java | 25 private Drawable mIcon; field in CustomDialogPreference 31 setIcon(mIcon); in CustomDialogPreference() 38 setIcon(mIcon); in CustomDialogPreference() 45 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
|
D | CustomCheckBoxPreference.java | 25 private Drawable mIcon; field in CustomCheckBoxPreference 31 setIcon(mIcon); in CustomCheckBoxPreference() 42 setIcon(mIcon); in CustomCheckBoxPreference() 49 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
|
D | CustomSwitchPreference.java | 25 private Drawable mIcon; field in CustomSwitchPreference 31 setIcon(mIcon); in CustomSwitchPreference() 42 setIcon(mIcon); in CustomSwitchPreference() 49 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
|
D | CustomEditTextPreference.java | 25 private Drawable mIcon; field in CustomEditTextPreference 31 setIcon(mIcon); in CustomEditTextPreference() 42 setIcon(mIcon); in CustomEditTextPreference() 49 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
|
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 43 private Icon mIcon; field in SuggestionTest 53 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)); in setUp() 61 .setIcon(mIcon) in buildSuggestion_allFieldsShouldBeSet() 68 assertThat(suggestion.getIcon()).isEqualTo(mIcon); in buildSuggestion_allFieldsShouldBeSet() 79 .setIcon(mIcon) in buildSuggestion_emptyKey_shouldCrash() 89 .setIcon(mIcon) in buildSuggestion_fromParcelable() 101 assertThat(newSuggestion.getIcon().toString()).isEqualTo(mIcon.toString()); in buildSuggestion_fromParcelable()
|
/cts/apps/TileServiceApp/src/com/android/cts/tileserviceapp/ |
D | TileRequestActivity.java | 35 private Icon mIcon; field in TileRequestActivity 46 mIcon = Icon.createWithResource(this, android.R.drawable.ic_dialog_alert); in onCreate() 57 mIcon, in requestTile() local
|
/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlBuilderTest.java | 57 private Icon mIcon; field in CtsControlBuilderTest 68 mIcon = Icon.createWithResource(mContext, R.drawable.ic_device_unknown); in setUp() 82 .setCustomIcon(mIcon) in testStatelessBuilder() 101 .setCustomIcon(mIcon) in testStatefulBuilderAlternateConstructor() 121 assertEquals(control.getCustomIcon(), mIcon); in assertControl() local
|
D | CtsControlTemplateTest.java | 55 private Icon mIcon; field in CtsControlTemplateTest 61 mIcon = Icon.createWithResource(PACKAGE_NAME, TEST_ICON_ID); in setUp() 119 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testUnparcelingCorrectClass_thumbnail() 130 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_isActive() 134 template = new ThumbnailTemplate(TEST_ID, true, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_isActive() 142 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_getIcon() 144 assertEquals(mIcon.getResId(), template.getThumbnail().getResId()); in testThumbnailTemplate_getIcon()
|
D | CtsControlsService.java | 64 private Icon mIcon; field in CtsControlsService 71 mIcon = Icon.createWithResource(mContext, R.drawable.ic_device_unknown); in CtsControlsService() 132 .setCustomIcon(mIcon) in buildMower() 200 ControlTemplate template = new ThumbnailTemplate("thumbnail", active, mIcon, description); in buildCamera()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/steps/ |
D | SelectAppStep.java | 49 final ImageView mIcon; field in SelectAppStep.AppAdapter.ViewHolder 54 mIcon = (ImageView) v.findViewById(R.id.icon); in ViewHolder() 108 viewHolder.mIcon.setImageDrawable(resolveInfo.loadIcon(packageManager)); in getView()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 66 private Icon mIcon; field in IconTest 144 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testLoadDrawableAsync() 148 () -> mIcon.loadDrawableAsync(mActivity, mockListener, new Handler())); in testLoadDrawableAsync() 157 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testLoadDrawableAsyncWithMessage() 161 () -> mIcon.loadDrawableAsync(mActivity, Message.obtain(new Handler(), in testLoadDrawableAsyncWithMessage()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintServicesTest.java | 86 private Icon mIcon; field in PrintServicesTest 143 if (mIcon != null) { in createMockPrinterDiscoverySessionCallbacks() 144 callback.onCustomPrinterIconLoaded(mIcon); in createMockPrinterDiscoverySessionCallbacks() 411 mIcon = Icon.createWithBitmap(bm); 415 assertThatIconIs(renderDrawable(mIcon.loadDrawable(getActivity())));
|