Home
last modified time | relevance | path

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

/cts/tests/tests/preference2/src/android/preference2/cts/
DCustomDialogPreference.java27 private Drawable mIcon; field in CustomDialogPreference
32 setIcon(mIcon); in CustomDialogPreference()
39 setIcon(mIcon); in CustomDialogPreference()
46 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
DCustomEditTextPreference.java27 private Drawable mIcon; field in CustomEditTextPreference
32 setIcon(mIcon); in CustomEditTextPreference()
43 setIcon(mIcon); in CustomEditTextPreference()
50 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
DCustomSwitchPreference.java28 private Drawable mIcon; field in CustomSwitchPreference
33 setIcon(mIcon); in CustomSwitchPreference()
44 setIcon(mIcon); in CustomSwitchPreference()
51 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
DCustomCheckBoxPreference.java27 private Drawable mIcon; field in CustomCheckBoxPreference
32 setIcon(mIcon); in CustomCheckBoxPreference()
43 setIcon(mIcon); in CustomCheckBoxPreference()
50 mIcon = a.getDrawable(R.styleable.CustPref_icon); in init()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java60 private Icon mIcon; field in IconTest
111 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testLoadDrawableAsync()
115 () -> mIcon.loadDrawableAsync(mActivity, mockListener, new Handler())); in testLoadDrawableAsync()
124 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testLoadDrawableAsyncWithMessage()
128 () -> mIcon.loadDrawableAsync(mActivity, Message.obtain(new Handler(), in testLoadDrawableAsyncWithMessage()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java87 private Icon mIcon; field in PrintServicesTest
152 if (mIcon != null) { in createMockPrinterDiscoverySessionCallbacks()
153 callback.onCustomPrinterIconLoaded(mIcon); in createMockPrinterDiscoverySessionCallbacks()
430 mIcon = Icon.createWithBitmap(bm);
434 assertThatIconIs(renderDrawable(mIcon.loadDrawable(getActivity())));