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.java339 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance() local
343 if (iconState != null && iconState.clampedAppearAmount == 1.0f) { in updateAppearance()
537 NotificationIconContainer.IconState iconState = getIconState(icon);
538 if (iconState == null) {
556 && !mAmbientState.isOnKeyguard() && !iconState.isLastExpandIcon) {
569 iconState.isLastExpandIcon = true;
570 iconState.customTransformHeight = NO_VALUE;
577 iconState.customTransformHeight = (int) (mMaxLayoutHeight
585 if (iconState.hasCustomTransformHeight()) {
586 fullHeight = iconState.customTransformHeight;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java365 ViewState iconState = mIconStates.get(view); in resetViewStates() local
366 iconState.initFrom(view); in resetViewStates()
367 iconState.alpha = mIsolatedIcon == null || view == mIsolatedIcon ? 1.0f : 0.0f; in resetViewStates()
368 iconState.hidden = false; in resetViewStates()
390 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
391 iconState.xTranslation = translationX; in calculateIconTranslations()
393 mFirstVisibleIconState = iconState; in calculateIconTranslations()
396 && iconState.iconAppearAmount > 0.0f || i >= maxVisibleIcons; in calculateIconTranslations()
404 iconState.visibleState = StatusBarIconView.STATE_ICON; in calculateIconTranslations()
416 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.java369 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators() local
372 assertEquals("Visibility in, quick settings", visible, iconState.visible); in verifyLastQsMobileDataIndicators()
373 assertEquals("Signal icon in, quick settings", state, iconState.icon); in verifyLastQsMobileDataIndicators()
402 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() local
406 assertEquals("Signal icon in status bar", state, iconState.icon); in verifyLastMobileDataIndicators()
408 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
447 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() local
456 assertEquals("Signal icon in status bar", state, iconState.icon); in verifyLastMobileDataIndicators()
457 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
459 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