Home
last modified time | relevance | path

Searched refs:mIcon (Results 1 – 6 of 6) 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()
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()
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()
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()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java61 private Icon mIcon; field in IconTest
112 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testLoadDrawableAsync()
116 () -> mIcon.loadDrawableAsync(mActivity, mockListener, new Handler())); in testLoadDrawableAsync()
125 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testLoadDrawableAsyncWithMessage()
129 () -> mIcon.loadDrawableAsync(mActivity, Message.obtain(new Handler(), in testLoadDrawableAsyncWithMessage()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java91 private Icon mIcon; field in PrintServicesTest
148 if (mIcon != null) { in createMockPrinterDiscoverySessionCallbacks()
149 callback.onCustomPrinterIconLoaded(mIcon); in createMockPrinterDiscoverySessionCallbacks()
419 mIcon = Icon.createWithBitmap(bm);
423 assertThatIconIs(renderDrawable(mIcon.loadDrawable(getActivity())));