/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
D | AppListFragment.java | 147 // ImageView to display the application's icon in getView() 148 ImageView imageView = (ImageView) convertView.findViewById(R.id.icon); in getView() 151 Drawable icon = item.drawable != null ? item.drawable.get() : null; in getView() local 153 if (icon != null) { in getView() 154 imageView.setImageDrawable(icon); in getView() 156 // Start a new AsyncTask which will retrieve the application icon and display it in in getView() 232 Drawable icon = null; in doInBackground() local 238 // Load the icon from the PackageManager in doInBackground() 239 icon = item.applicationInfo.loadIcon(mPackageManager); in doInBackground() 241 // Store the icon in a WeakReference so we do not cause a OutOfMemoryError. in doInBackground() [all …]
|
/developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/ |
D | MainActivity.java | 51 /** Set the icon that will appear in the notification bar. This icon also appears in sendNotification() 54 * Important note: although you can use any drawable as the small icon, Android in sendNotification() 55 * design guidelines state that the icon should be simple and monochrome. Full-color in sendNotification() 70 * Set the large icon, which appears on the left of the notification. In this in sendNotification() 71 * sample we'll set the large icon to be the same as our app icon. The app icon is a in sendNotification() 72 * reasonable default if you don't have anything more compelling to use as an icon. in sendNotification() 93 * Send the notification. This will immediately display the notification icon in the in sendNotification()
|
/developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/ |
D | MainActivity.java | 51 /** Set the icon that will appear in the notification bar. This icon also appears in sendNotification() 54 * Important note: although you can use any drawable as the small icon, Android in sendNotification() 55 * design guidelines state that the icon should be simple and monochrome. Full-color in sendNotification() 70 * Set the large icon, which appears on the left of the notification. In this in sendNotification() 71 * sample we'll set the large icon to be the same as our app icon. The app icon is a in sendNotification() 72 * reasonable default if you don't have anything more compelling to use as an icon. in sendNotification() 93 * Send the notification. This will immediately display the notification icon in the in sendNotification()
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/ |
D | template-params.xml | 45 <icon>screenshots/icon-web.png</icon> 62 This sample displays a list of items and for each item, an icon can be clicked. When it is clicked,…
|
/developers/build/templates/base/.google/ |
D | packaging.yaml.ftl | 15 </#if><#if sample.metadata.icon?is_node> 16 icon: ${sample.metadata.icon}
|
/developers/build/templates/basebuild/.google/ |
D | packaging.yaml.ftl | 15 </#if><#if sample.metadata.icon?is_node> 16 icon: ${sample.metadata.icon}
|
/developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
D | VisibilityMetadataFragmentTest.java | 47 assertEquals(R.drawable.ic_public_notification, notification.icon); in testCreateNotification_publicVisibility() 55 assertEquals(R.drawable.ic_private_notification, notification.icon); in testCreateNotification_privateVisibility() 63 assertEquals(R.drawable.ic_secret_notification, notification.icon); in testCreateNotification_secretVisibility()
|
/developers/build/prebuilts/gradle/ActionBarCompat-Styled/Application/src/main/res/menu/ |
D | main.xml | 34 android:icon="@drawable/ic_action_refresh" 40 android:icon="@drawable/ic_action_location" 46 android:icon="@drawable/ic_action_settings"
|
/developers/samples/android/notification/LNotifications/Application/tests/src/com/example/android/lnotifications/ |
D | VisibilityMetadataFragmentTest.java | 47 assertEquals(R.drawable.ic_public_notification, notification.icon); in testCreateNotification_publicVisibility() 55 assertEquals(R.drawable.ic_private_notification, notification.icon); in testCreateNotification_privateVisibility() 63 assertEquals(R.drawable.ic_secret_notification, notification.icon); in testCreateNotification_secretVisibility()
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-Styled/Application/src/main/res/menu/ |
D | main.xml | 34 android:icon="@drawable/ic_action_refresh" 40 android:icon="@drawable/ic_action_location" 46 android:icon="@drawable/ic_action_settings"
|
/developers/build/prebuilts/gradle/AdvancedImmersiveMode/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/BasicAndroidKeyStore/.google/ |
D | packaging.yaml | 13 icon: screenshots/big-icon.png
|
/developers/build/prebuilts/gradle/StorageProvider/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/DoneBar/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/ClippingBasic/.google/ |
D | packaging.yaml | 13 icon: screenshots/web-icon.png
|
/developers/samples/android/content/contacts/BasicContactables/ |
D | template-params.xml | 48 <icon>screenshots/icon-web.png</icon> 70 This sample displays a [SearchView][1] in the Action Bar when the search icon is clicked. It then i…
|
/developers/build/prebuilts/gradle/ElevationBasic/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/PdfRendererBasic/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/JumpingJack/.google/ |
D | packaging.yaml | 13 icon: screenshots/web-icon.png
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/ElevationDrag/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/BasicRenderScript/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/CustomChoiceList/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/BasicMultitouch/.google/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|