/packages/modules/IntentResolver/java/src/com/android/intentresolver/icon/ |
D | ComposeIcon.kt | 23 import android.graphics.drawable.Icon in <lambda>() 35 fun Icon.toComposeIcon(pm: PackageManager, resolver: ContentResolver): ComposeIcon? { in <lambda>() method 37 Icon.TYPE_BITMAP -> BitmapIcon(bitmap) in <lambda>() 38 Icon.TYPE_RESOURCE -> pm.resourcesForPackage(resPackage)?.let { ResourceIcon(resId, it) } in <lambda>() 39 Icon.TYPE_DATA -> in <lambda>() 41 Icon.TYPE_URI -> uriIcon(resolver) in <lambda>() 42 Icon.TYPE_ADAPTIVE_BITMAP -> AdaptiveIcon(BitmapIcon(bitmap)) in <lambda>() 43 Icon.TYPE_URI_ADAPTIVE_BITMAP -> uriIcon(resolver)?.let { AdaptiveIcon(it) } in <lambda>() 48 fun Icon.toComposeIcon(resources: Resources?, resolver: ContentResolver): ComposeIcon? { in toComposeIcon() method 50 Icon.TYPE_BITMAP -> BitmapIcon(bitmap) in toComposeIcon() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/ |
D | Icon.kt | 29 import androidx.wear.compose.material.Icon 38 public fun Icon( in Icon() method 47 Icon( in Icon() 60 public fun Icon( in Icon() method 70 Icon( in Icon() 84 fun Icon( in Icon() method 97 Icon( in Icon() 105 Icon( in Icon() 113 Icon( in Icon()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | IconFactory.java | 25 import android.graphics.drawable.Icon; 63 public Icon create(@NonNull DialerShortcut shortcut) { in create() 72 public Icon create(@NonNull ShortcutInfo shortcutInfo) { in create() 82 private Icon create( in create() 97 private Icon createAdaptiveIcon( in createAdaptiveIcon() 114 return Icon.createWithAdaptiveBitmap( in createAdaptiveIcon() 118 return Icon.createWithAdaptiveBitmap(bitmap); in createAdaptiveIcon() 121 private Icon createFlatIcon( in createFlatIcon() 137 return Icon.createWithBitmap( in createFlatIcon()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/ |
D | TestUtils.java | 22 import android.graphics.drawable.Icon; 88 Icon.class, in createTvInputInfoForO() 89 Icon.class, in createTvInputInfoForO() 90 Icon.class, in createTvInputInfoForO() 142 Icon.class, in createTvInputInfoForNyc() 143 Icon.class, in createTvInputInfoForNyc() 144 Icon.class, in createTvInputInfoForNyc()
|
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/ |
D | QCTile.java | 20 import android.graphics.drawable.Icon; 39 private Icon mIcon; 44 boolean isClickableWhileDisabled, @Nullable String subtitle, @Nullable Icon icon, in QCTile() 62 mIcon = Icon.CREATOR.createFromParcel(in); in QCTile() 121 public Icon getIcon() { in getIcon() 146 private Icon mIcon; 193 public Builder setIcon(@Nullable Icon icon) { in setIcon()
|
D | QCActionItem.java | 21 import android.graphics.drawable.Icon; 35 private Icon mIcon; 42 @Nullable Icon icon, @Nullable String contentDescription, in QCActionItem() 61 mIcon = Icon.CREATOR.createFromParcel(in); in QCActionItem() 128 public Icon getIcon() { in getIcon() 159 private Icon mIcon; 215 public Builder setIcon(@Nullable Icon icon) { in setIcon()
|
D | QCRow.java | 20 import android.graphics.drawable.Icon; 45 private final Icon mStartIcon; 56 @Nullable PendingIntent disabledClickAction, @Nullable Icon startIcon, in QCRow() 81 mStartIcon = Icon.CREATOR.createFromParcel(in); in QCRow() 187 public Icon getStartIcon() { in getStartIcon() 228 private Icon mStartIcon; 292 public Builder setIcon(@Nullable Icon icon) { in setIcon()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | FullScreenDialogFragment.java | 19 import android.graphics.drawable.Icon; 61 public DialogBuilder setIcon(Icon icon) { in setIcon() 79 public DialogBuilder setHintIcon(Icon hintIcon) { in setHintIcon() 127 final Icon icon = args.getParcelable(ARGUMENT_ICON, Icon.class); in onCreateView() 148 final Icon hintIcon = args.getParcelable(ARGUMENT_HINT_ICON, Icon.class); in onCreateView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/icon/ui/viewbinder/ |
D | IconViewBinder.kt | 21 import com.android.wallpaper.picker.common.icon.ui.viewmodel.Icon 27 viewModel: Icon, in bind() 30 is Icon.Resource -> view.setImageResource(viewModel.res) in bind() 31 is Icon.Loaded -> view.setImageDrawable(viewModel.drawable) in bind()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/util/ |
D | UriFiltersTest.kt | 24 import android.graphics.drawable.Icon 62 val icon = Icon.createWithBitmap(it) in chooserAction_hasValidIcon_bitmap() 69 val icon = Icon.createWithContentUri("content://provider/content/12345") in chooserAction_hasValidIcon_uri() 75 val icon = Icon.createWithContentUri("content://${userId}@provider/content/12345") in chooserAction_hasValidIcon_uri_unowned() 100 private fun actionWithIcon(icon: Icon): ChooserAction { in actionWithIcon()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/ |
D | UriFilters.kt | 22 import android.graphics.drawable.Icon 23 import android.graphics.drawable.Icon.TYPE_URI 24 import android.graphics.drawable.Icon.TYPE_URI_ADAPTIVE_BITMAP 68 fun hasValidIcon(icon: Icon) = in hasValidIcon()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/viewmodel/ |
D | KeyguardQuickAffordancePickerViewModel.kt | 39 import com.android.wallpaper.picker.common.icon.ui.viewmodel.Icon in <lambda>() 155 OptionItemViewModel<Icon>( in <lambda>() 160 Icon.Loaded( in <lambda>() 205 val quickAffordances: Flow<List<OptionItemViewModel<Icon>>> = in <lambda>() 241 OptionItemViewModel<Icon>( in <lambda>() 246 payload = Icon.Loaded(drawable = affordanceIcon, contentDescription = null), in <lambda>() 313 Icon.Resource( in <lambda>() 370 Icon.Loaded( in <lambda>() 416 ): OptionItemViewModel<Icon> { in <lambda>() 417 return OptionItemViewModel<Icon>( in <lambda>() [all …]
|
D | KeyguardQuickAffordanceSummaryViewModel.kt | 20 import com.android.wallpaper.picker.common.icon.ui.viewmodel.Icon 25 val icon1: Icon?, 26 val icon2: Icon?,
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | ThemeToggle.java | 26 import android.graphics.drawable.Icon; 113 private Icon getThemeModeIcon(int mode) { in getThemeModeIcon() 116 return Icon.createWithResource(getContext(), R.drawable.ic_qc_ui_mode_auto); in getThemeModeIcon() 118 return Icon.createWithResource(getContext(), R.drawable.ic_qc_ui_mode_day); in getThemeModeIcon() 120 return Icon.createWithResource(getContext(), R.drawable.ic_qc_ui_mode_night); in getThemeModeIcon()
|
D | PairedBluetoothDevices.java | 35 import android.graphics.drawable.Icon; 105 .setIcon(Icon.createWithResource(getContext(), in getQCItem() 129 .setIcon(Icon.createWithResource(getContext(), in getQCItem() 145 .setIcon(Icon.createWithResource(getContext(), getIconRes(cachedDevice))) in getQCItem() 258 Icon.createWithResource(getContext(), R.drawable.ic_qc_bluetooth), in createBluetoothButton() 270 Icon.createWithResource(getContext(), iconRes), in createPhoneButton() 282 Icon.createWithResource(getContext(), iconRes), in createMediaButton() 289 String buttonType, Icon icon, String contentDescription, boolean available, in createBluetoothDeviceToggle()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKeyVisual.java | 37 return new Icon(iconId); in newInstance() 53 private static class Icon extends ExpectedKeyVisual { class in ExpectedKeyVisual 56 Icon(final int iconId) { in Icon() method in ExpectedKeyVisual.Icon 107 return (visual instanceof Icon) && mIconId == ((Icon)visual).mIconId; in hasSameKeyVisual()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/settings/ui/viewmodel/ |
D | ColorContrastSectionViewModel.kt | 23 import com.android.wallpaper.picker.common.icon.ui.viewmodel.Icon in <lambda>() 41 Icon.Resource( in <lambda>() 49 Icon.Resource( in <lambda>() 57 Icon.Resource( in <lambda>()
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/qc/ |
D | DisplaySwitcher.java | 22 import android.graphics.drawable.Icon; 60 builder.setIcon(Icon.createWithBitmap(drawableToBitmap(metadata.getIcon()))); in getQCItem() 67 Icon icon = Icon.createWithBitmap(drawableToBitmap(control.getIcon())); in getQCItem()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/icon/ui/viewmodel/ |
D | Icon.kt | 24 sealed class Icon( class 31 Icon( 39 Icon(
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
D | SensorQcPanel.java | 28 import android.graphics.drawable.Icon; 59 protected Icon mSensorOnIcon; 61 protected Icon mSensorOffIcon; 79 mSensorOnIcon = Icon.createWithResource(context, getSensorOnIconResourceId()); in SensorQcPanel() 80 mSensorOffIcon = Icon.createWithResource(context, getSensorOffIconResourceId()); in SensorQcPanel() 201 private Icon loadAppIcon(@NonNull ApplicationInfo appInfo) { in loadAppIcon() 206 return Icon.createWithBitmap(createBitmapFromDrawable(pm.getUserBadgedIcon(appIcon, user))); in loadAppIcon()
|
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/ |
D | QCItemTestCase.java | 23 import android.graphics.drawable.Icon; 39 protected Icon mDefaultIcon = Icon.createWithResource(mContext, R.drawable.btn_star);
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/ |
D | ProfileSelector.kt | 29 import androidx.compose.material3.Icon 82 Icon( in ProfileSelector() 90 ?: Icon( in ProfileSelector() 138 Icon( in ProfileSelector() 152 ?: Icon( in ProfileSelector()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | DrawableUtil.java | 23 import android.graphics.drawable.Icon; 34 public static Icon createIconFromDrawable(Drawable drawable) { in createIconFromDrawable() 35 return Icon.createWithBitmap(createBitmapFromDrawable(drawable)); in createIconFromDrawable()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/settings/ui/viewmodel/ |
D | ColorContrastSectionViewModelTest.kt | 22 import com.android.wallpaper.picker.common.icon.ui.viewmodel.Icon 67 Icon.Resource(res = R.drawable.ic_contrast_standard, contentDescription = null) in <lambda>() 81 Icon.Resource(res = R.drawable.ic_contrast_medium, contentDescription = null) in <lambda>() 95 Icon.Resource(res = R.drawable.ic_contrast_high, contentDescription = null) in <lambda>()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneAccountCompat.java | 20 import android.graphics.drawable.Icon; 39 public static Icon getIcon(@Nullable PhoneAccount phoneAccount) { in getIcon() 80 Icon accountIcon = getIcon(phoneAccount); in createIconDrawableMarshmallow()
|