/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ |
D | VoiceCallActivity.kt | 26 * 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()
|
D | MainActivity.kt | 45 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/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/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/security/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
D | FingerprintUiHelper.kt | 25 * Small helper class to manage text/icon around fingerprint authentication UI. 33 private val icon: ImageView, constant in com.example.android.fingerprintdialog.FingerprintUiHelper 45 icon.setImageResource(R.drawable.ic_fp_40px) in <lambda>() 57 icon.setImageResource(R.drawable.ic_fp_40px) in startListening() 71 icon.postDelayed({ callback.onError() }, ERROR_TIMEOUT_MILLIS) in onAuthenticationError() 79 showError(icon.resources.getString(R.string.fingerprint_not_recognized)) in onAuthenticationHelp() 87 icon.run { in onAuthenticationHelp() 94 icon.setImageResource(R.drawable.ic_fingerprint_error) in showError()
|
/developers/build/prebuilts/gradle/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
D | FingerprintUiHelper.kt | 25 * Small helper class to manage text/icon around fingerprint authentication UI. 33 private val icon: ImageView, constant in com.example.android.fingerprintdialog.FingerprintUiHelper 45 icon.setImageResource(R.drawable.ic_fp_40px) in <lambda>() 57 icon.setImageResource(R.drawable.ic_fp_40px) in startListening() 71 icon.postDelayed({ callback.onError() }, ERROR_TIMEOUT_MILLIS) in onAuthenticationError() 79 showError(icon.resources.getString(R.string.fingerprint_not_recognized)) in onAuthenticationHelp() 87 icon.run { in onAuthenticationHelp() 94 icon.setImageResource(R.drawable.ic_fingerprint_error) in showError()
|
/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/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
D | IconProviderService.java | 21 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()
|
/developers/build/prebuilts/gradle/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
D | IconProviderService.java | 21 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()
|
/developers/build/prebuilts/gradle/WearDrawers/Wearable/src/main/res/menu/ |
D | action_drawer_menu.xml | 19 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/wearable/wear/WearDrawers/Wearable/src/main/res/menu/ |
D | action_drawer_menu.xml | 19 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/data/ |
D | NotificationHelper.kt | 31 import android.graphics.drawable.Icon in <lambda>() 74 val icon = Icon.createWithBitmap(roundIcon(context, chat.contact.icon)) in <lambda>() constant 77 .setIcon(icon) in <lambda>() 86 // The icon of the bubble. in <lambda>() 87 // TODO: The icon is not displayed in Android Q Beta 2. in <lambda>() 88 .setIcon(icon) in <lambda>() 120 …// The content Intent is used when the user clicks on the "Open Content" icon button on the expand… in <lambda>() 148 .bigLargeIcon(icon) in <lambda>() 183 val icon = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) in roundIcon() constant 188 icon.applyCanvas { in roundIcon() [all …]
|
/developers/samples/android/notification/Bubbles/app/src/main/res/mipmap-anydpi-v26/ |
D | ic_launcher_round.xml | 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 5 </adaptive-icon>
|
D | ic_launcher.xml | 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 5 </adaptive-icon>
|
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/res/mipmap-anydpi-v26/ |
D | ic_launcher.xml | 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 5 </adaptive-icon>
|
D | ic_launcher_round.xml | 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 5 </adaptive-icon>
|
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/res/mipmap-anydpi-v26/ |
D | ic_launcher_round.xml | 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 5 </adaptive-icon>
|
D | ic_launcher.xml | 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 5 </adaptive-icon>
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/res/xml/ |
D | authenticator.xml | 18 android:icon="@drawable/icon" 19 android:smallIcon="@drawable/icon"
|
/developers/build/prebuilts/gradle/WearComplicationProvidersTestSuite/Wearable/src/main/ |
D | AndroidManifest.xml | 27 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/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/ |
D | AndroidManifest.xml | 27 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/media/Camera2Basic/kotlinApp/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/ |
D | packaging.yaml | 13 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/ActiveNotifications/.google/ |
D | packaging.yaml | 14 icon: screenshots/icon-web.png
|
/developers/build/prebuilts/gradle/DoneBar/.google/ |
D | packaging.yaml | 14 icon: screenshots/icon-web.png
|