| /developers/samples/android/ui/notifications/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/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/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/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/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/samples/android/ui/notifications/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/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/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/ |
| D | SpeedPickerLayout.java | 59 // Get references to the icon and text in the item layout definiton 83 // Scale the icon for WearableListView animations 91 // Change color of the icon, remove fading from the text 98 // Change the color of the icon, fade the text
|
| /developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/res/layout/ |
| D | activity_setup.xml | 39 android:id="@+id/icon" 43 android:contentDescription="@string/icon"/>
|
| /developers/samples/android/admin/BasicManagedProfile/Application/src/main/res/layout/ |
| D | activity_setup.xml | 39 android:id="@+id/icon" 43 android:contentDescription="@string/icon"/>
|
| /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/res/menu/ |
| D | main.xml | 7 android:icon="@drawable/ic_action_info"
|
| /developers/samples/android/media/HdrViewfinder/Application/src/main/res/menu/ |
| D | main.xml | 7 android:icon="@drawable/ic_action_info"
|
| /developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/res/values/ |
| D | strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 23 notification will display an icon and two or three lines of text.
|
| /developers/samples/android/ui/notifications/BasicNotifications/Application/src/main/res/values/ |
| D | strings.xml | 20 Tap the button below to send a notification.\n\nThe notification\'s icon will immediately 23 notification will display an icon and two or three lines of text.
|
| /developers/build/prebuilts/gradle/ElevationDrag/ |
| D | packaging.yaml | 14 icon: ElevationDragSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/build/prebuilts/gradle/DrawableTinting/ |
| D | packaging.yaml | 14 icon: DrawableTintingSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/samples/android/ui/views/Elevation/ElevationDrag/ |
| D | packaging.yaml | 14 icon: ElevationDragSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/build/prebuilts/gradle/HdrViewfinder/ |
| D | packaging.yaml | 14 icon: media/HdrViewfinder/big_icon.png
|
| /developers/build/prebuilts/gradle/Camera2Basic/ |
| D | packaging.yaml | 14 icon: Camera2BasicSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/build/prebuilts/gradle/ElevationBasic/ |
| D | packaging.yaml | 14 icon: ElevationBasicSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/samples/android/admin/BasicManagedProfile/ |
| D | packaging.yaml | 14 icon: BasicManagedProfileSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/samples/android/ui/Interpolator/ |
| D | packaging.yaml | 14 icon: InterpolatorSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/samples/android/background/JobScheduler/ |
| D | packaging.yaml | 14 icon: JobSchedulerSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/samples/android/media/Camera2Video/ |
| D | packaging.yaml | 14 icon: Camera2VideoSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|
| /developers/build/prebuilts/gradle/Camera2Video/ |
| D | packaging.yaml | 14 icon: Camera2VideoSample/src/main/res/drawable-xxhdpi/ic_launcher.png
|