Home
last modified time | relevance | path

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

/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/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/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/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/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()