Home
last modified time | relevance | path

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

/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintUiHelper.java33 private final ImageView mIcon; field in FingerprintUiHelper
46 mIcon = icon; in FingerprintUiHelper()
68 mIcon.setImageResource(R.drawable.ic_fp_40px); in startListening()
83 mIcon.postDelayed(new Runnable() { in onAuthenticationError()
99 showError(mIcon.getResources().getString( in onAuthenticationFailed()
106 mIcon.setImageResource(R.drawable.ic_fingerprint_success); in onAuthenticationSucceeded()
111 mIcon.postDelayed(new Runnable() { in onAuthenticationSucceeded()
120 mIcon.setImageResource(R.drawable.ic_fingerprint_error); in showError()
135 mIcon.setImageResource(R.drawable.ic_fp_40px);
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DTouchExampleView.java26 private Drawable mIcon; field in TouchExampleView
43 mIcon = context.getResources().getDrawable(R.drawable.icon); in TouchExampleView()
44 mIcon.setBounds(0, 0, mIcon.getIntrinsicWidth(), mIcon.getIntrinsicHeight()); in TouchExampleView()
62 mIcon.draw(canvas); in onDraw()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintUiHelper.java37 private final ImageView mIcon; field in FingerprintUiHelper
69 mIcon = icon; in FingerprintUiHelper()
87 mIcon.setImageResource(R.drawable.ic_fp_40px); in startListening()
102 mIcon.postDelayed(new Runnable() { in onAuthenticationError()
118 showError(mIcon.getResources().getString( in onAuthenticationFailed()
125 mIcon.setImageResource(R.drawable.ic_fingerprint_success); in onAuthenticationSucceeded()
130 mIcon.postDelayed(new Runnable() { in onAuthenticationSucceeded()
139 mIcon.setImageResource(R.drawable.ic_fingerprint_error); in showError()
155 mIcon.setImageResource(R.drawable.ic_fp_40px);
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabEclair.java29 private Drawable mIcon; field in CompatTabEclair
44 mIcon = mActivity.getResources().getDrawable(resId); in setIcon()
72 return mIcon; in getIcon()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java100 if (mIcon == null) { in getIcon()
102 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon()
103 return mIcon; in getIcon()
112 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon()
113 return mIcon; in getIcon()
116 return mIcon; in getIcon()
144 private Drawable mIcon; field in LoaderCustom.AppEntry
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderCustomSupport.java102 if (mIcon == null) { in getIcon()
104 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon()
105 return mIcon; in getIcon()
114 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon()
115 return mIcon; in getIcon()
118 return mIcon; in getIcon()
146 private Drawable mIcon; field in LoaderCustomSupport.AppEntry
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java299 private Drawable mIcon; field in ContactAdder.AccountData
327 mIcon = pm.getDrawable(packageName, description.iconId, null); in AccountData()
328 if (mIcon == null) { in AccountData()
333 mIcon = getResources().getDrawable(android.R.drawable.sym_def_app_icon); in AccountData()
351 return mIcon; in getIcon()