Searched refs:willGoToSleep (Results 1 – 2 of 2) sorted by relevance
39 fun onFoldStateChanged(folded: Boolean, willGoToSleep: Boolean) in onFoldStateChanged()55 val willGoToSleep = goToSleepDeviceStates.contains(state.identifier) in onFoldStateChanged() constant56 listener.onFoldStateChanged(isFolded, willGoToSleep) in onFoldStateChanged()
1115 private void onFoldedStateChanged(boolean isFolded, boolean willGoToSleep) { in onFoldedStateChanged() argument1117 onFoldedStateChangedInternal(isFolded, willGoToSleep); in onFoldedStateChanged()1121 private void onFoldedStateChangedInternal(boolean isFolded, boolean willGoToSleep) { in onFoldedStateChangedInternal() argument1127 boolean leaveOpen = isShadeOpen && !willGoToSleep && mState == SHADE; in onFoldedStateChangedInternal()1136 isFolded, willGoToSleep, isShadeOpen, isShadeExpandingOrCollapsing, leaveOpen)); in onFoldedStateChangedInternal()