Home
last modified time | relevance | path

Searched refs:mIcon (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/preference/src/android/preference/cts/
DCustomDialogPreference.java25 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()
DCustomCheckBoxPreference.java25 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()
DCustomSwitchPreference.java25 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()
DCustomEditTextPreference.java25 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/
DSuggestionTest.java43 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/
DTileRequestActivity.java35 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/
DCtsControlBuilderTest.java57 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
DCtsControlTemplateTest.java55 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()
DCtsControlsService.java64 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/
DSelectAppStep.java49 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/
DIconTest.java66 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/
DPrintServicesTest.java86 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())));