Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java105 int iconId = volume.equals("vibrate") ? R.drawable.stat_sys_ringer_vibrate in dispatchDemoCommand() local
107 updateSlot("volume", null, iconId); in dispatchDemoCommand()
111 int iconId = zen.equals("dnd") ? R.drawable.stat_sys_dnd : 0; in dispatchDemoCommand() local
112 updateSlot("zen", null, iconId); in dispatchDemoCommand()
116 int iconId = bt.equals("connected") in dispatchDemoCommand() local
118 updateSlot("bluetooth", null, iconId); in dispatchDemoCommand()
122 int iconId = location.equals("show") ? PhoneStatusBarPolicy.LOCATION_STATUS_ICON_ID in dispatchDemoCommand() local
124 updateSlot("location", null, iconId); in dispatchDemoCommand()
128 int iconId = alarm.equals("show") ? R.drawable.stat_sys_alarm in dispatchDemoCommand() local
130 updateSlot("alarm_clock", null, iconId); in dispatchDemoCommand()
[all …]
/frameworks/base/core/java/android/accounts/
DAuthenticatorDescription.java35 final public int iconId; field in AuthenticatorDescription
53 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument
60 this.iconId = iconId; in AuthenticatorDescription()
66 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument
68 this(type, packageName, labelId, iconId, smallIconId, prefId, false); in AuthenticatorDescription()
86 this.iconId = 0; in AuthenticatorDescription()
97 this.iconId = source.readInt(); in AuthenticatorDescription()
130 dest.writeInt(iconId); in writeToParcel()
DChooseAccountTypeActivity.java132 icon = authContext.getDrawable(desc.iconId); in buildTypeToAuthDescriptionMap()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParamsFactory.java338 IconId iconId = null; in processDisplayText() local
358 iconId = ValueParser.retrieveIconId(ctlv); in processDisplayText()
359 textMsg.iconSelfExplanatory = iconId.selfExplanatory; in processDisplayText()
373 if (iconId != null) { in processDisplayText()
376 mIconLoader.loadIcon(iconId.recordNumber, this in processDisplayText()
399 IconId iconId = null; in processSetUpIdleModeText() local
409 iconId = ValueParser.retrieveIconId(ctlv); in processSetUpIdleModeText()
410 textMsg.iconSelfExplanatory = iconId.selfExplanatory; in processSetUpIdleModeText()
418 if (textMsg.text == null && iconId != null && !textMsg.iconSelfExplanatory) { in processSetUpIdleModeText()
423 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.java269 final int iconId = in parseAttributes() local
276 Log.d(TAG, "parsed title: " + title + ", iconId: " + iconId in parseAttributes()
283 .setIconId(iconId) in parseAttributes()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java78 final int iconId = (mSuppliedDialogInfo != null) ? mSuppliedDialogInfo.getIconResId() in resolveIcon() local
80 if (iconId != ID_NULL && mSuspendingAppResources != null) { in resolveIcon()
82 return mSuspendingAppResources.getDrawable(iconId, getTheme()); in resolveIcon()
84 Slog.e(TAG, "Could not resolve drawable resource id " + iconId); in resolveIcon()
DHeavyWeightSwitcherActivity.java98 void setIconAndText(int iconId, int actionId, int descriptionId, in setIconAndText() argument
112 setDrawable(iconId, appIcon); in setIconAndText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java151 final int iconId = intent.getIntExtra("iconId", 0); in handleUpdateState() local
152 if (iconId != 0) { in handleUpdateState()
155 state.icon = new PackageDrawableIcon(iconPackage, iconId); in handleUpdateState()
157 state.icon = ResourceIcon.get(iconId); in handleUpdateState()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java219 private static InputMethodSubtypeBuilder getBuilder(int nameId, int iconId, String locale, in getBuilder() argument
224 builder.mSubtypeIconResId = iconId; in getBuilder()
243 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
245 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
281 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
283 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()
DIStatusBarService.aidl46 …void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription… in setIcon() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountAuthenticatorCache.java66 final int iconId = sa.getResourceId( in parseServiceAttributes() local
77 return new AuthenticatorDescription(accountType, packageName, labelId, iconId, in parseServiceAttributes()
/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java149 final int iconId = XmlUtils.readIntAttribute(in, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml() local
157 if (iconId != ID_NULL) { in restoreFromXml()
158 dialogInfoBuilder.setIcon(iconId); in restoreFromXml()
/frameworks/base/core/java/com/android/internal/inputmethod/
DIInputMethodPrivilegedOperations.aidl38 void updateStatusIcon(String packageName, int iconId); in updateStatusIcon() argument
/frameworks/base/libs/input/
DPointerController.cpp463 void PointerController::updatePointerIcon(int32_t iconId) { in updatePointerIcon() argument
465 if (mLocked.requestedPointerType != iconId) { in updatePointerIcon()
466 mLocked.requestedPointerType = iconId; in updatePointerIcon()
475 const int32_t iconId = mPolicy->getCustomPointerIconId(); in setCustomPointerIcon() local
476 mLocked.additionalMouseResources[iconId] = icon; in setCustomPointerIcon()
477 mLocked.requestedPointerType = iconId; in setCustomPointerIcon()
DPointerController.h108 void updatePointerIcon(int32_t iconId);
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java231 void setIcon(int iconId) { in setIcon() argument
232 tab.setImageResource(iconId); in setIcon()
775 public void setLeftTabResources(int iconId, int targetId, int barId, int tabId) {
776 mLeftSlider.setIcon(iconId);
807 public void setRightTabResources(int iconId, int targetId, int barId, int tabId) {
808 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/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/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp227 void setPointerIconType(int32_t iconId);
929 void NativeInputManager::setPointerIconType(int32_t iconId) { in setPointerIconType() argument
933 controller->updatePointerIcon(iconId); in setPointerIconType()
1259 for (int iconId = POINTER_ICON_STYLE_CONTEXT_MENU; iconId <= POINTER_ICON_STYLE_GRABBING; in loadAdditionalMouseResources() local
1260 ++iconId) { in loadAdditionalMouseResources()
1263 env, displayContext.get(), iconId, &pointerIcon, &((*outResources)[iconId])); in loadAdditionalMouseResources()
1265 PointerAnimation& animationData = (*outAnimationResources)[iconId]; in loadAdditionalMouseResources()
1687 static void nativeSetPointerIconType(JNIEnv* /* env */, jclass /* clazz */, jlong ptr, jint iconId)… in nativeSetPointerIconType() argument
1690 im->setPointerIconType(iconId); in nativeSetPointerIconType()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java343 private void showNotification(@DrawableRes final int iconId, @NonNull final String title, in showNotification() argument
348 .setSmallIcon(iconId) in showNotification()
/frameworks/base/core/java/android/app/
DStatusBarManager.java328 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { in setIcon() argument
332 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, in setIcon()
DAlertDialog.java583 public Builder setIcon(@DrawableRes int iconId) { in setIcon() argument
584 P.mIconId = iconId; in setIcon()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt152 private fun verifyNotification(iconId: Int, title: String, text: String, id: Int) { in title()
160 assertEquals(iconId, notification.smallIcon.resId) in title()

12