Home
last modified time | relevance | path

Searched refs:iconState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java361 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance() local
365 if (iconState != null && iconState.clampedAppearAmount == 1.0f) { in updateAppearance()
551 NotificationIconContainer.IconState iconState = getIconState(icon);
552 if (iconState == null) {
570 && !mAmbientState.isOnKeyguard() && !iconState.isLastExpandIcon) {
583 iconState.isLastExpandIcon = true;
584 iconState.customTransformHeight = NO_VALUE;
591 iconState.customTransformHeight = (int) (mMaxLayoutHeight
599 if (iconState.hasCustomTransformHeight()) {
600 fullHeight = iconState.customTransformHeight;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java360 ViewState iconState = mIconStates.get(view); in resetViewStates() local
361 iconState.initFrom(view); in resetViewStates()
362 iconState.alpha = mIsolatedIcon == null || view == mIsolatedIcon ? 1.0f : 0.0f; in resetViewStates()
363 iconState.hidden = false; in resetViewStates()
385 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
386 iconState.xTranslation = translationX; in calculateIconTranslations()
388 mFirstVisibleIconState = iconState; in calculateIconTranslations()
391 && iconState.iconAppearAmount > 0.0f || i >= maxVisibleIcons; in calculateIconTranslations()
399 iconState.visibleState = StatusBarIconView.STATE_ICON; in calculateIconTranslations()
411 translationX += iconState.iconAppearAmount * view.getWidth() * drawingScale; in calculateIconTranslations()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerEthernetTest.java48 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon() local
49 assertEquals("Ethernet visible, in status bar", visible, iconState.visible); in verifyLastEthernetIcon()
50 assertEquals("Ethernet icon, in status bar", icon, iconState.icon); in verifyLastEthernetIcon()
DNetworkControllerBaseTest.java353 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators() local
356 assertEquals("Visibility in, quick settings", visible, iconState.visible); in verifyLastQsMobileDataIndicators()
357 assertEquals("Signal icon in, quick settings", state, iconState.icon); in verifyLastQsMobileDataIndicators()
386 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() local
390 assertEquals("Signal icon in status bar", state, iconState.icon); in verifyLastMobileDataIndicators()
392 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
430 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() local
439 assertEquals("Signal icon in status bar", state, iconState.icon); in verifyLastMobileDataIndicators()
440 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
442 iconState = qsIconArg.getValue(); in verifyLastMobileDataIndicators()
[all …]
DNetworkControllerWifiTest.java226 IconState iconState = iconArg.getValue(); in verifyLastQsWifiIcon() local
228 assertEquals("WiFi connected, in quick settings", connected, iconState.visible); in verifyLastQsWifiIcon()
229 assertEquals("WiFi signal, in quick settings", icon, iconState.icon); in verifyLastQsWifiIcon()
239 IconState iconState = iconArg.getValue(); in verifyLastWifiIcon() local
240 assertEquals("WiFi visible, in status bar", visible, iconState.visible); in verifyLastWifiIcon()
241 assertEquals("WiFi signal, in status bar", icon, iconState.icon); in verifyLastWifiIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java226 private static String iconStateToString(int iconState) { in iconStateToString() argument
227 switch (iconState) { in iconStateToString()
231 default: return "unknown_state_" + iconState; in iconStateToString()
DVolumeDialogImpl.java432 Events.writeEvent(mContext, Events.EVENT_ICON_CLICK, row.stream, row.iconState); in initRow()
1030 row.iconState = in updateVolumeRowH()
1462 private int iconState; // from Events