Home
last modified time | relevance | path

Searched full:icon (Results 1 – 25 of 804) sorted by relevance

12345678910>>...33

/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/
DAppListFragment.java147 // 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/
DMainActivity.java51 /** 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/
DMainActivity.java51 /** 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/
Dtemplate-params.xml45 <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/
Dpackaging.yaml.ftl15 </#if><#if sample.metadata.icon?is_node>
16 icon: ${sample.metadata.icon}
/developers/build/templates/basebuild/.google/
Dpackaging.yaml.ftl15 </#if><#if sample.metadata.icon?is_node>
16 icon: ${sample.metadata.icon}
/developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/
DVisibilityMetadataFragmentTest.java47 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/
Dmain.xml34 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/
DVisibilityMetadataFragmentTest.java47 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/
Dmain.xml34 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/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/BasicAndroidKeyStore/.google/
Dpackaging.yaml13 icon: screenshots/big-icon.png
/developers/build/prebuilts/gradle/StorageProvider/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/DoneBar/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/ClippingBasic/.google/
Dpackaging.yaml13 icon: screenshots/web-icon.png
/developers/samples/android/content/contacts/BasicContactables/
Dtemplate-params.xml48 <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/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/PdfRendererBasic/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/JumpingJack/.google/
Dpackaging.yaml13 icon: screenshots/web-icon.png
/developers/build/prebuilts/gradle/BluetoothLeGatt/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/ElevationDrag/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/BasicRenderScript/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/CustomChoiceList/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png
/developers/build/prebuilts/gradle/BasicMultitouch/.google/
Dpackaging.yaml13 icon: screenshots/icon-web.png

12345678910>>...33