Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java136 int iconId = volume.equals("vibrate") ? R.drawable.stat_sys_ringer_vibrate in dispatchDemoCommand() local
138 updateSlot("volume", null, iconId); in dispatchDemoCommand()
142 int iconId = zen.equals("dnd") ? R.drawable.stat_sys_dnd : 0; in dispatchDemoCommand() local
143 updateSlot("zen", null, iconId); in dispatchDemoCommand()
147 int iconId = bt.equals("connected") in dispatchDemoCommand() local
149 updateSlot("bluetooth", null, iconId); in dispatchDemoCommand()
153 int iconId = location.equals("show") ? PhoneStatusBarPolicy.LOCATION_STATUS_ICON_ID in dispatchDemoCommand() local
155 updateSlot("location", null, iconId); in dispatchDemoCommand()
159 int iconId = alarm.equals("show") ? R.drawable.stat_sys_alarm in dispatchDemoCommand() local
161 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.java383 IconId iconId = null; in processDisplayText() local
403 iconId = ValueParser.retrieveIconId(ctlv); in processDisplayText()
404 textMsg.iconSelfExplanatory = iconId.selfExplanatory; in processDisplayText()
418 if (iconId != null) { in processDisplayText()
421 mIconLoader.loadIcon(iconId.recordNumber, this in processDisplayText()
444 IconId iconId = null; in processSetUpIdleModeText() local
454 iconId = ValueParser.retrieveIconId(ctlv); in processSetUpIdleModeText()
455 textMsg.iconSelfExplanatory = iconId.selfExplanatory; in processSetUpIdleModeText()
463 if (textMsg.text == null && iconId != null && !textMsg.iconSelfExplanatory) { in processSetUpIdleModeText()
468 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()
/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.kt34 val iconId: Int? constant
52 } else if (iconId != null) { in applyTo()
53 state.icon = QSTileImpl.ResourceIcon.get(iconId!!) in applyTo()
67 override val iconId: Int? = null, constant in com.android.systemui.statusbar.pipeline.shared.ui.model.InternetTileModel.Active
76 override val iconId: Int? = null, constant in com.android.systemui.statusbar.pipeline.shared.ui.model.InternetTileModel.Inactive
/frameworks/native/services/inputflinger/tests/
DFakePointerController.cpp67 void FakePointerController::updatePointerIcon(PointerIconStyle iconId) { in updatePointerIcon() argument
69 mIconStyle = iconId; in updatePointerIcon()
110 void FakePointerController::assertPointerIconSet(PointerIconStyle iconId) { in assertPointerIconSet() argument
112 ASSERT_EQ(iconId, mIconStyle); in assertPointerIconSet()
120 void FakePointerController::assertCustomPointerIconSet(PointerIconStyle iconId) { in assertCustomPointerIconSet() argument
122 ASSERT_EQ(iconId, mCustomIconStyle); in assertCustomPointerIconSet()
DFakePointerController.h46 void updatePointerIcon(PointerIconStyle iconId) override;
56 void assertPointerIconSet(PointerIconStyle iconId);
58 void assertCustomPointerIconSet(PointerIconStyle iconId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/model/
DInternetTileModel.kt27 val iconId: Int? constant
35 override val iconId: Int? = null, constant in com.android.systemui.qs.tiles.impl.internet.domain.model.InternetTileModel.Active
44 override val iconId: Int? = null, constant in com.android.systemui.qs.tiles.impl.internet.domain.model.InternetTileModel.Inactive
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/
DInternetTileMapper.kt56 iconRes = data.iconId in map()
59 } else if (data.iconId != null) { in map()
62 resources.getDrawable(data.iconId!!, theme), in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultDeviceEntrySection.kt198 val iconId = in <lambda>() constant
206 constrainWidth(iconId, sensorRect.right - sensorRect.left) in <lambda>()
207 constrainHeight(iconId, sensorRect.bottom - sensorRect.top) in <lambda>()
209 iconId, in <lambda>()
216 iconId, in <lambda>()
/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/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt154 iconId = signalIcon.icon.res, in <lambda>()
201 iconId = it.res, in <lambda>()
219 iconId = R.drawable.ic_qs_no_internet_unavailable, in <lambda>()
229 iconId = R.drawable.ic_qs_no_internet_available, in <lambda>()
267 iconId = R.drawable.ic_qs_no_internet_unavailable, in <lambda>()
/frameworks/base/libs/input/
DMouseCursorController.cpp282 void MouseCursorController::updatePointerIcon(PointerIconStyle iconId) { in updatePointerIcon() argument
285 if (mLocked.requestedPointerType != iconId) { in updatePointerIcon()
286 mLocked.requestedPointerType = iconId; in updatePointerIcon()
295 const PointerIconStyle iconId = mContext.getPolicy()->getCustomPointerIconId(); in setCustomPointerIcon() local
296 mLocked.additionalMouseResources[iconId] = icon; in setCustomPointerIcon()
297 mLocked.requestedPointerType = iconId; in setCustomPointerIcon()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt139 WifiIcons.WIFI_NO_INTERNET_ICONS.forEach { iconId -> in <lambda>() method
140 addOverride(iconId, TestStubDrawable()) in <lambda>()
169 assertThat(latest?.iconId).isEqualTo(R.drawable.ic_qs_no_internet_unavailable) in <lambda>()
207 assertThat(latest?.iconId).isNull() in <lambda>()
432 assertThat(latest?.iconId).isEqualTo(R.drawable.ic_qs_no_internet_available) in <lambda>()
497 assertThat(latest?.iconId).isNull() in <lambda>()
518 assertThat(latest?.iconId).isEqualTo(R.drawable.stat_sys_ethernet_fully) in <lambda>()
539 assertThat(latest?.iconId).isEqualTo(R.drawable.stat_sys_ethernet) in <lambda>()
566 iconId = R.drawable.ic_qs_no_internet_unavailable, in <lambda>()
/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/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt140 iconId = signalIcon.icon.res, in <lambda>()
187 iconId = it.res, in <lambda>()
215 iconId = R.drawable.ic_qs_no_internet_available, in <lambda>()
250 iconId = R.drawable.ic_qs_no_internet_unavailable, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterMessageViewModel.kt26 @DrawableRes val iconId: Int, constant in com.android.systemui.statusbar.notification.footer.ui.viewmodel.FooterMessageViewModel
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java68 int iconId, int iconLevel, int number, in StatusBarIcon() argument
70 this(user, iconPackage, Icon.createWithResource(iconPackage, iconId), in StatusBarIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt136 assertThat(latest?.iconId).isEqualTo(R.drawable.ic_qs_no_internet_unavailable) in noDefault_noNetworksAvailable()
168 assertThat(latest?.iconId).isNull() in wifiDefaultAndActive()
320 assertThat(latest?.iconId).isEqualTo(R.drawable.ic_qs_no_internet_available) in wifiDefaultAndNotActive_networksAvailable()
344 assertThat(latest?.iconId).isNull() in mobileDefault_usesNetworkNameAndIcon()
362 assertThat(latest?.iconId).isEqualTo(R.drawable.stat_sys_ethernet_fully) in ethernetDefault_validated_matchesInteractor()
380 assertThat(latest?.iconId).isEqualTo(R.drawable.stat_sys_ethernet) in ethernetDefault_notValidated_matchesInteractor()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java278 private static InputMethodSubtypeBuilder getBuilder(int nameId, int iconId, in getBuilder() argument
283 builder.mSubtypeIconResId = iconId; in getBuilder()
302 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
304 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
340 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, in InputMethodSubtype() argument
342 this(getBuilder(nameId, iconId, locale, mode, extraValue, isAuxiliary, in InputMethodSubtype()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/
DInternetTileMapperTest.kt60 iconId = wifiRes, in withActiveModel_mappedStateMatchesDataModel()
84 iconId = R.drawable.ic_qs_no_internet_unavailable, in withInactiveModel_mappedStateMatchesDataModel()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java134 final int iconId = (mSuppliedDialogInfo != null) ? mSuppliedDialogInfo.getIconResId() in resolveIcon() local
136 if (iconId != ID_NULL && mSuspendingAppResources != null) { in resolveIcon()
138 return mSuspendingAppResources.getDrawable(iconId, getTheme()); in resolveIcon()
140 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()

123