Home
last modified time | relevance | path

Searched refs:iconId (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java131 int iconId = volume.equals("vibrate") ? R.drawable.stat_sys_ringer_vibrate in dispatchDemoCommand() local
133 updateSlot("volume", null, iconId); in dispatchDemoCommand()
137 int iconId = zen.equals("dnd") ? R.drawable.stat_sys_dnd : 0; in dispatchDemoCommand() local
138 updateSlot("zen", null, iconId); in dispatchDemoCommand()
142 int iconId = bt.equals("connected") in dispatchDemoCommand() local
144 updateSlot("bluetooth", null, iconId); in dispatchDemoCommand()
148 int iconId = location.equals("show") ? PhoneStatusBarPolicy.LOCATION_STATUS_ICON_ID in dispatchDemoCommand() local
150 updateSlot("location", null, iconId); in dispatchDemoCommand()
154 int iconId = alarm.equals("show") ? R.drawable.stat_sys_alarm in dispatchDemoCommand() local
156 updateSlot("alarm_clock", null, iconId); in dispatchDemoCommand()
[all …]
/frameworks/base/core/java/android/accounts/
DAuthenticatorDescription.java36 final public int iconId; field in AuthenticatorDescription
54 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument
61 this.iconId = iconId; in AuthenticatorDescription()
67 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument
69 this(type, packageName, labelId, iconId, smallIconId, prefId, false); in AuthenticatorDescription()
87 this.iconId = 0; in AuthenticatorDescription()
98 this.iconId = source.readInt(); in AuthenticatorDescription()
131 dest.writeInt(iconId); in writeToParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParamsFactory.java370 IconId iconId = null; in processDisplayText() local
390 iconId = ValueParser.retrieveIconId(ctlv); in processDisplayText()
391 textMsg.iconSelfExplanatory = iconId.selfExplanatory; in processDisplayText()
405 if (iconId != null) { in processDisplayText()
408 mIconLoader.loadIcon(iconId.recordNumber, this in processDisplayText()
431 IconId iconId = null; in processSetUpIdleModeText() local
441 iconId = ValueParser.retrieveIconId(ctlv); in processSetUpIdleModeText()
442 textMsg.iconSelfExplanatory = iconId.selfExplanatory; in processSetUpIdleModeText()
450 if (textMsg.text == null && iconId != null && !textMsg.iconSelfExplanatory) { in processSetUpIdleModeText()
455 if (iconId != null) { in processSetUpIdleModeText()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DInjectedSetting.java56 public final int iconId; field in InjectedSetting
78 this.iconId = builder.mIconId; in InjectedSetting()
90 ", iconId=" + iconId + in toString()
116 && Objects.equals(iconId, that.iconId) in equals()
127 result = 31 * result + iconId; in hashCode()
158 public Builder setIconId(int iconId) { in setIconId() argument
159 mIconId = iconId; in setIconId()
DSettingsInjector.java279 final int iconId = in parseAttributes() local
286 Log.d(TAG, "parsed title: " + title + ", iconId: " + iconId in parseAttributes()
293 .setIconId(iconId) in parseAttributes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/model/
DNetworkTypeIconModel.kt35 val iconId: Int constant
42 override val iconId = iconGroup.dataType constant in com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel.DefaultIcon
54 override val iconId: Int, constant in com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel.OverriddenIcon
60 if (prevVal !is OverriddenIcon || prevVal.name != name || prevVal.iconId != iconId) { in logDiffs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/
DInternetTileModel.kt32 val iconId: Int? constant
49 } else if (iconId != null) { in applyTo()
50 state.icon = QSTileImpl.ResourceIcon.get(iconId!!) in applyTo()
64 override val iconId: Int? = null, constant in com.android.systemui.statusbar.pipeline.shared.ui.model.InternetTileModel.Active
71 override val iconId: Int? = null, constant in com.android.systemui.statusbar.pipeline.shared.ui.model.InternetTileModel.Inactive
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt122 assertThat(latest?.iconId).isEqualTo(R.drawable.ic_qs_no_internet_unavailable) in noDefault_noNetworksAvailable()
154 assertThat(latest?.iconId).isNull() in wifiDefaultAndActive()
188 assertThat(latest?.iconId).isEqualTo(R.drawable.ic_qs_no_internet_available) in wifiDefaultAndNotActive_networksAvailable()
207 assertThat(latest?.iconId).isNull() in mobileDefault_usesNetworkNameAndIcon()
221 assertThat(latest?.iconId).isEqualTo(R.drawable.stat_sys_ethernet_fully) in ethernetDefault_validated_matchesInteractor()
236 assertThat(latest?.iconId).isEqualTo(R.drawable.stat_sys_ethernet) in ethernetDefault_notValidated_matchesInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItem.kt24 val iconId: Int, constant in com.android.systemui.privacy.PrivacyType
56 fun getIcon(context: Context) = context.resources.getDrawable(iconId, context.theme) in getName()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DLetterboxEduDialogActionLayout.java54 int iconId = styledAttributes.getResourceId( in LetterboxEduDialogActionLayout() local
63 R.id.letterbox_education_dialog_action_icon)).setImageResource(iconId); in LetterboxEduDialogActionLayout()
/frameworks/base/libs/input/
DMouseCursorController.cpp273 void MouseCursorController::updatePointerIcon(PointerIconStyle iconId) { in updatePointerIcon() argument
276 if (mLocked.requestedPointerType != iconId) { in updatePointerIcon()
277 mLocked.requestedPointerType = iconId; in updatePointerIcon()
286 const PointerIconStyle iconId = mContext.getPolicy()->getCustomPointerIconId(); in setCustomPointerIcon() local
287 mLocked.additionalMouseResources[iconId] = icon; in setCustomPointerIcon()
288 mLocked.requestedPointerType = iconId; in setCustomPointerIcon()
DMouseCursorController.h56 void updatePointerIcon(PointerIconStyle iconId);
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountAuthenticatorCache.java67 final int iconId = sa.getResourceId( in parseServiceAttributes() local
78 return new AuthenticatorDescription(accountType, packageName, labelId, iconId, in parseServiceAttributes()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java277 private static InputMethodSubtypeBuilder getBuilder(int nameId, int iconId, in getBuilder() argument
282 builder.mSubtypeIconResId = iconId; in getBuilder()
301 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
303 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
339 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
341 this(getBuilder(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java52 int iconId, int iconLevel, int number, in StatusBarIcon() argument
54 this(user, iconPackage, Icon.createWithResource(iconPackage, iconId), in StatusBarIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt154 iconId = it.res in <lambda>()
176 iconId = R.drawable.ic_qs_no_internet_available, in <lambda>()
208 iconId = R.drawable.ic_qs_no_internet_unavailable, in <lambda>()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java120 final int iconId = (mSuppliedDialogInfo != null) ? mSuppliedDialogInfo.getIconResId() in resolveIcon() local
122 if (iconId != ID_NULL && mSuspendingAppResources != null) { in resolveIcon()
124 return mSuspendingAppResources.getDrawable(iconId, getTheme()); in resolveIcon()
126 Slog.e(TAG, "Could not resolve drawable resource id " + iconId); in resolveIcon()
DHeavyWeightSwitcherActivity.java99 void setIconAndText(int iconId, int actionId, int descriptionId, in setIconAndText() argument
113 setDrawable(iconId, appIcon); in setIconAndText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt144 if (networkTypeIconGroup.iconId != 0) in networkTypeIconGroup()
145 Icon.Resource(networkTypeIconGroup.iconId, desc) in networkTypeIconGroup()
/frameworks/base/core/java/com/android/internal/inputmethod/
DIInputMethodPrivilegedOperations.aidl40 void updateStatusIconAsync(String packageName, int iconId); in updateStatusIconAsync() argument
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java228 void setIcon(int iconId) { in setIcon() argument
229 tab.setImageResource(iconId); in setIcon()
772 public void setLeftTabResources(int iconId, int targetId, int barId, int tabId) {
773 mLeftSlider.setIcon(iconId);
804 public void setRightTabResources(int iconId, int targetId, int barId, int tabId) {
805 mRightSlider.setIcon(iconId);
/frameworks/base/core/java/com/android/internal/util/
DMimeIconUtils.java39 private static MimeTypeInfo buildTypeInfo(String mimeType, int iconId, in buildTypeInfo() argument
52 return new MimeTypeInfo(Icon.createWithResource(res, iconId), label, label); in buildTypeInfo()
/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java223 final int iconId = in.getAttributeInt(null, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml() local
235 if (iconId != ID_NULL) { in restoreFromXml()
236 dialogInfoBuilder.setIcon(iconId); in restoreFromXml()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java697 int iconId = activityInfo.getIconResource(); in getActivityIcon() local
698 if (iconId == 0) return null; in getActivityIcon()
700 Drawable drawable = pm.getDrawable(pkg, iconId, activityInfo.applicationInfo); in getActivityIcon()
702 Log.w(LOG_TAG, "Invalid icon resource " + iconId + " for " in getActivityIcon()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java199 private Drawable getFullResIcon(@Nullable final Resources resources, final int iconId) { in getFullResIcon() argument
200 if (resources != null && iconId != 0) { in getFullResIcon()
202 return resources.getDrawableForDensity(iconId, mIconDpi); in getFullResIcon()
209 public Drawable getFullResIcon(@NonNull final String packageName, final int iconId) { in getFullResIcon() argument
211 return getFullResIcon(mPackageManager.getResourcesForApplication(packageName), iconId); in getFullResIcon()

12