Home
last modified time | relevance | path

Searched refs:isCurrent (Results 1 – 25 of 29) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/
H A DUserRecord.kt33 @JvmField val isCurrent: Boolean = false,
55 fun copyWithIsCurrent(isCurrent: Boolean): UserRecord {
56 return copy(isCurrent = isCurrent)
/aosp14/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
H A DClockRegistry.kt577 val isCurrent = currentClockId == info.metadata.clockId regex
580 if (isCurrent) LogLevel.INFO else LogLevel.DEBUG,
584 bool1 = isCurrent
591 val isCurrent = currentClockId == info.metadata.clockId regex
594 if (isCurrent) LogLevel.INFO else LogLevel.DEBUG,
598 bool1 = isCurrent
603 if (isCurrent) {
616 bool1 = isCurrent
621 if (isCurrent) {
630 if (isCurrent) LogLevel.INFO else LogLevel.DEBUG,
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
H A DLegacyUserDataHelper.kt45 isCurrent: Boolean,
59 isCurrent = isCurrent,
60 isSwitchToEnabled = canSwitchUsers || (isCurrent && !isGuest),
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailView.java130 if (!item.isCurrent || item.isGuest) { in createUserDetailItemView()
147 v.setActivated(item.isCurrent); in createUserDetailItemView()
152 if (item.isCurrent) { in createUserDetailItemView()
163 if (item.isCurrent) { in getDrawable()
172 int bgRes = item.isCurrent ? R.drawable.bg_avatar_selected : R.drawable.qs_bg_avatar; in getDrawable()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherAdapterTest.kt183 assertTrue("Expected current user to be first in list", adapter.getItem(0).isCurrent)
184 assertFalse("Did not expect current user in position 1", adapter.getItem(1).isCurrent)
185 assertFalse("Did not expect current user in position 2", adapter.getItem(2).isCurrent)
187 assertFalse("Did not expect current user in position 3", adapter.getItem(3).isCurrent)
H A DBaseUserSwitcherAdapterTest.kt169 assertThat(underTest.getItem(0).isCurrent).isTrue()
273 isCurrent = isSelected,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherController.java286 if (userTag.isCurrent) { in refreshUserList()
465 if (record.isCurrent) { in refreshUserOrder()
509 v.setActivated(item.isCurrent); in createUserDetailItemView()
514 if (item.isCurrent) { in createUserDetailItemView()
523 if (item.isCurrent && item.isGuest) { in getDrawable()
551 if (!user.isCurrent || user.isGuest) { in onClick()
H A DCastControllerImpl.java230 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection()
231 if (started && !isCurrent) { in setProjection()
234 } else if (!started && isCurrent) { in setProjection()
H A DBaseUserSwitcherAdapter.kt40 (controller.isUserSwitcherEnabled || it.isCurrent)
H A DKeyguardQsUserSwitchController.java279 if (r.isCurrent) { in updateCurrentUser()
/aosp14/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java584 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
635 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
661 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
703 private boolean isCurrent(IMediaBrowserServiceCallbacks callback, String funcName) { in isCurrent() method in MediaBrowser
985 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1034 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1060 private boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowser.MediaServiceConnection
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp56 bool wasSurfaceless = mEglManager.isCurrent(EGL_NO_SURFACE); in makeCurrent()
220 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
H A DVkFunctorDrawable.cpp59 if (!renderthread::RenderThread::isCurrent()) in draw()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h57 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent() function
H A DRenderThread.h185 static bool isCurrent();
H A DEglManager.cpp510 if (isCurrent(surface)) { in destroySurface()
536 if (!force && isCurrent(surface)) return false; in makeCurrent()
H A DRenderThread.cpp504 bool RenderThread::isCurrent() { in isCurrent() function in android::uirenderer::renderthread::RenderThread
/aosp14/frameworks/base/libs/hwui/
H A DAutoBackendTextureRelease.cpp49 if (!RenderThread::isCurrent()) { in unref()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/ui/
H A DLegacyUserUiHelper.kt94 record.isGuest && record.isCurrent ->
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
H A DUserInteractorTest.kt823 isCurrent = true,
1047 isCurrent = userIndex == selectedUserIndex,
1068 isCurrent: Boolean = false,
1075 assertThat(record.isCurrent).isEqualTo(isCurrent)
/aosp14/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java545 if (sessionState.isCurrent) { in releaseSessionOfUserLocked()
546 sessionState.isCurrent = false; in releaseSessionOfUserLocked()
621 if (state.isCurrent) { in removeUser()
622 state.isCurrent = false; in removeUser()
876 if (sessionState.isCurrent) { in releaseSessionLocked()
877 sessionState.isCurrent = false; in releaseSessionLocked()
1762 if (!sessionState.isCurrent in tune()
2903 if (state.isCurrent) { in getCurrentTunedInfosInternalLocked()
3170 private boolean isCurrent = false; field in TvInputManagerService.SessionState
3448 if (!mSessionState.isCurrent in onChannelRetuned()
[all …]
/aosp14/frameworks/base/libs/hwui/effects/
H A DGainmapRenderer.cpp58 } else if (RenderThread::isCurrent()) { in getTargetHdrSdrRatio()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java497 boolean isCurrent() { in isCurrent() method in ServiceRecord.ShortFgsInfo
677 if (mShortFgsInfo != null && mShortFgsInfo.isCurrent()) { in dumpDebug()
1584 || !mShortFgsInfo.isCurrent()) { in shouldTriggerShortFgsTimedEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java1159 if (item.isCurrent && item.isGuest) { in setupUserSwitcher()
1198 if (!user.isCurrent) { in setupUserSwitcher()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
H A DUserInteractor.kt574 isCurrent = userInfo.id == selectedUserId,

12