Home
last modified time | relevance | path

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

12345678910>>...28

/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/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/notification/Bubbles/app/src/main/java/com/example/android/bubbles/
DVoiceCallActivity.kt26 * A dummy voice call screen. It only shows the icon and the name.
32 const val EXTRA_ICON = "icon"
39 val icon = intent.getIntExtra(EXTRA_ICON, 0) in onCreate() constant
40 if (name == null || icon == 0) { in onCreate()
46 val imageIcon: ImageView = findViewById(R.id.icon) in onCreate()
47 Glide.with(imageIcon).load(icon).apply(RequestOptions.circleCropTransform()).into(imageIcon) in onCreate()
DMainActivity.kt45 private lateinit var icon: ImageView variable in com.example.android.bubbles.MainActivity
56 icon = findViewById(R.id.icon) in onCreate()
81 …override fun updateAppBar(showContact: Boolean, hidden: Boolean, body: (name: TextView, icon: Imag… in updateAppBar()
90 icon.visibility = View.VISIBLE in updateAppBar()
94 icon.visibility = View.GONE in updateAppBar()
97 body(name, icon) in updateAppBar()
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/
DIconProviderService.java21 import android.graphics.drawable.Icon;
57 Icon.createWithResource( in onComplicationUpdate()
63 // This case includes a burn-in protection icon. If the screen uses burn-in in onComplicationUpdate()
64 // protection, that icon (which avoids solid blocks of color) should be shown in in onComplicationUpdate()
68 .setIcon(Icon.createWithResource(this, R.drawable.ic_battery)) in onComplicationUpdate()
70 Icon.createWithResource( in onComplicationUpdate()
79 Icon.createWithResource( in onComplicationUpdate()
DLongTextProviderService.java21 import android.graphics.drawable.Icon;
69 Icon.createWithResource( in onComplicationUpdate()
77 // provider supplies both title and icon, it is expected that both are displayed. in onComplicationUpdate()
85 .setIcon(Icon.createWithResource(this, R.drawable.ic_battery)) in onComplicationUpdate()
87 Icon.createWithResource( in onComplicationUpdate()
109 .setSmallImage(Icon.createWithResource(this, R.drawable.outdoors)) in onComplicationUpdate()
121 .setSmallImage(Icon.createWithResource(this, R.drawable.aquarium)) in onComplicationUpdate()
DShortTextProviderService.java21 import android.graphics.drawable.Icon;
69 Icon.createWithResource( in onComplicationUpdate()
86 // When short text includes both short title and icon, the watch face should only in onComplicationUpdate()
96 Icon.createWithResource( in onComplicationUpdate()
DRangedValueProviderService.java21 import android.graphics.drawable.Icon;
83 .setIcon(Icon.createWithResource(this, R.drawable.ic_battery)) in onComplicationUpdate()
85 Icon.createWithResource( in onComplicationUpdate()
111 Icon.createWithResource( in onComplicationUpdate()
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/
DAndroidManifest.xml27 android:icon="@drawable/ic_launcher"
39 android:icon="@drawable/ic_not_interested_vd_theme_24"
49 android:value="SHORT_TEXT,LONG_TEXT,SMALL_IMAGE,ICON,RANGED_VALUE,LARGE_IMAGE"/>
56 android:icon="@drawable/ic_title_vd_theme_24"
73 android:icon="@drawable/ic_image_vd_theme_24"
90 android:icon="@drawable/ic_landscape_vd_theme_24"
107 android:icon="@drawable/ic_face_vd_theme_24"
117 android:value="ICON"/>
124 android:icon="@drawable/ic_short_text_vd_theme_24"
141 android:icon="@drawable/ic_data_usage_vd_theme_24"
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/
DNotificationHelper.kt26 import android.graphics.drawable.Icon in <lambda>()
67 val icon = Icon.createWithAdaptiveBitmap( in <lambda>() constant
70 chat.contact.icon in <lambda>()
75 .setIcon(icon) in <lambda>()
84 // The icon of the bubble. in <lambda>()
85 // TODO: The icon is not displayed in Android Q Beta 2. in <lambda>()
86 .setIcon(icon) in <lambda>()
118 …// The content Intent is used when the user clicks on the "Open Content" icon button on the expand… in <lambda>()
146 .bigLargeIcon(icon) in <lambda>()
DContact.kt25 val icon: Int constant in com.example.android.bubbles.data.Contact
63 if (icon != other.icon) return false in reply()
71 result = 31 * result + icon in hashCode()
/developers/samples/android/wearable/wear/WearDrawers/Wearable/src/main/res/menu/
Daction_drawer_menu.xml19 android:icon="@drawable/ic_info_outline_black_18dp"
22 android:icon="@drawable/ic_info_outline_black_18dp"
25 android:icon="@drawable/ic_info_outline_black_18dp"
28 android:icon="@drawable/ic_info_outline_black_18dp"
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/main/
DContactAdapter.kt52 …Glide.with(holder.icon).load(contact.icon).apply(RequestOptions.circleCropTransform()).into(holder… in onBindViewHolder()
70 val icon: ImageView = itemView.findViewById(R.id.icon) constant
/developers/samples/android/system/AppShortcuts/
Dtemplate-params.xml29 when a user long-presses on the app's launcher icon. Examples are given for
44 <icon>screenshots/icon-web.png</icon>
56 long-presses on the app's launcher icon. Examples are given for registering both links both
64 directly to key actions within your app. Users simply long-press your app's launcher icon
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/res/layout/
Dlist_row.xml30 android:id="@android:id/icon"
41 android:layout_alignBottom="@android:id/icon"
52 android:layout_toEndOf="@android:id/icon"
65 android:layout_toEndOf="@android:id/icon"
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/res/values/
Dstrings.xml33 <string name="icon_label">Icon</string>
38 <string name="short_text_with_icon">w/Icon</string>
45 <string name="long_text_with_icon">Text w/ Icon</string>
46 <string name="long_text_with_icon_and_title">Text w/ Icon &amp; Title</string>
/developers/samples/android/notification/Bubbles/app/src/main/res/layout/
Dmain_activity.xml36 android:id="@+id/icon"
55 app:layout_constraintBottom_toBottomOf="@id/icon"
57 app:layout_constraintStart_toEndOf="@id/icon"
58 app:layout_constraintTop_toTopOf="@id/icon"
/developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/res/menu/
Daction_drawer_menu.xml22 android:icon="@drawable/heart"
26 android:icon="@drawable/heart"
30 android:icon="@drawable/heart"
/developers/samples/android/ui/DarkTheme/Application/src/main/res/menu/
Dnavigation.xml22 android:icon="@drawable/ic_home"
27 android:icon="@drawable/ic_dashboard"
32 android:icon="@drawable/ic_settings"
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/
Dtemplate-params.xml43 <icon>screenshots/icon-web.png</icon>
60 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/base-build/.google/
Dpackaging.yaml.ftl15 </#if><#if sample.metadata.icon?is_node>
16 icon: ${sample.metadata.icon}
/developers/build/templates/unmanaged/.google/
Dpackaging.yaml.ftl15 </#if><#if sample.metadata.icon?is_node>
16 icon: ${sample.metadata.icon}
/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/samples/android/ui/text/TextStyling-Java/app/src/main/res/mipmap-anydpi-v26/
Dic_launcher_round.xml2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
5 </adaptive-icon>

12345678910>>...28