Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/
DUserRecord.kt33 @JvmField val isCurrent: Boolean = false, constant in com.android.systemui.user.data.source.UserRecord
55 fun copyWithIsCurrent(isCurrent: Boolean): UserRecord { in copyWithIsCurrent()
56 return copy(isCurrent = isCurrent) in copyWithIsCurrent()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DClockRegistry.kt506 val isCurrent = currentClockId == info.metadata.clockId in onConnected() constant
508 if (isCurrent) LogLevel.INFO else LogLevel.DEBUG, in onConnected()
513 bool1 = isCurrent in onConnected()
518 val isCurrent = currentClockId == info.metadata.clockId in onLoaded() constant
520 if (isCurrent) LogLevel.INFO else LogLevel.DEBUG, in onLoaded()
525 bool1 = isCurrent in onLoaded()
528 if (isCurrent) { in onLoaded()
534 val isCurrent = currentClockId == info.metadata.clockId in onUnloaded() constant
536 if (isCurrent) LogLevel.WARNING else LogLevel.DEBUG, in onUnloaded()
541 bool1 = isCurrent in onUnloaded()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt45 isCurrent: Boolean, in createRecord()
59 isCurrent = isCurrent, in createRecord()
60 isSwitchToEnabled = canSwitchUsers || (isCurrent && !isGuest), in createRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
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()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditModeViewModelTest.kt257 assertThat(tiles!!.filter { it.isCurrent }.map { it.tileSpec }) in <lambda>()
282 assertThat(tiles!!.filterNot { it.isCurrent }.map { it.tileSpec }) in <lambda>()
308 assertThat(tiles!!.filter { it.isCurrent }.map { it.tileSpec }) in <lambda>()
330 val nonCurrentSpecs = tiles!!.filterNot { it.isCurrent }.map { it.tileSpec } in <lambda>()
334 assertThat(tiles!!.filterNot { it.isCurrent }.map { it.tileSpec }) in <lambda>()
357 .filterNot { it.isCurrent } in <lambda>()
383 .filter { it.isCurrent } in <lambda>()
407 .filter { it.isCurrent } in <lambda>()
431 .filter { it.isCurrent } in <lambda>()
456 .filter { it.isCurrent } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherAdapterTest.kt183 assertTrue("Expected current user to be first in list", adapter.getItem(0).isCurrent) in testCurrentUserIsAlwaysFirst()
184 assertFalse("Did not expect current user in position 1", adapter.getItem(1).isCurrent) in testCurrentUserIsAlwaysFirst()
185 assertFalse("Did not expect current user in position 2", adapter.getItem(2).isCurrent) in testCurrentUserIsAlwaysFirst()
187 assertFalse("Did not expect current user in position 3", adapter.getItem(3).isCurrent) in testCurrentUserIsAlwaysFirst()
DBaseUserSwitcherAdapterTest.kt169 assertThat(underTest.getItem(0).isCurrent).isTrue() in <lambda>()
273 isCurrent = isSelected, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/
DRenderNotificationListInteractor.kt163 it.isCurrent( in createOrReuse()
202 private fun ActiveNotificationModel.isCurrent( in ActiveNotificationModel() method
246 return groups[key]?.takeIf { it.isCurrent(key, summary, children) } in createOrReuse()
250 private fun ActiveNotificationGroupModel.isCurrent( in ActiveNotificationGroupModel() method
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java584 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
635 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
661 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
705 if (!isCurrent(callback, "onDisconnectRequest")) { in onDisconnectRequested()
716 private boolean isCurrent(IMediaBrowserServiceCallbacks callback, String funcName) { in isCurrent() method in MediaBrowser
1011 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1060 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1086 private boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowser.MediaServiceConnection
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java287 if (userTag.isCurrent) { in refreshUserList()
466 if (record.isCurrent) { in refreshUserOrder()
510 v.setActivated(item.isCurrent); in createUserDetailItemView()
515 if (item.isCurrent) { in createUserDetailItemView()
524 if (item.isCurrent && item.isGuest) { in getDrawable()
552 if (!user.isCurrent || user.isGuest) { in onClick()
DCastControllerImpl.java229 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection()
230 if (started && !isCurrent) { in setProjection()
233 } else if (!started && isCurrent) { in setProjection()
DBaseUserSwitcherAdapter.kt40 (controller.isUserSwitcherEnabled || it.isCurrent) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditTileViewModel.kt34 val isCurrent: Boolean, constant in com.android.systemui.qs.panels.ui.viewmodel.EditTileViewModel
/frameworks/av/media/libstagefright/renderfright/include/renderengine/mock/
DRenderEngine.h43 MOCK_CONST_METHOD0(isCurrent, bool());
/frameworks/base/libs/hwui/renderthread/
DEglManager.h57 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent() function
DRenderThread.h182 static bool isCurrent();
DRenderProxy.cpp478 if (RenderThread::isCurrent()) { in copyHWBitmapInto()
489 if (RenderThread::isCurrent()) { in copyImageInto()
DEglManager.cpp524 if (isCurrent(surface)) { in destroySurface()
550 if (!force && isCurrent(surface)) return false; in makeCurrent()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp59 bool wasSurfaceless = mEglManager.isCurrent(EGL_NO_SURFACE); in makeCurrent()
229 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
DVkFunctorDrawable.cpp59 if (!renderthread::RenderThread::isCurrent()) in draw()
/frameworks/base/libs/hwui/platform/host/renderthread/
DRenderThread.cpp131 bool RenderThread::isCurrent() { in isCurrent() function in android::uirenderer::renderthread::RenderThread
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.cpp87 if (!RenderThread::isCurrent()) { in unref()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/ui/
DLegacyUserUiHelper.kt94 record.isGuest && record.isCurrent -> in getGuestUserRecordNameResourceId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorTest.kt841 isCurrent = true, in <lambda>()
1235 isCurrent = userIndex == selectedUserIndex, in <lambda>()
1256 isCurrent: Boolean = false, in <lambda>()
1263 assertThat(record.isCurrent).isEqualTo(isCurrent) in <lambda>()
/frameworks/base/libs/hwui/effects/
DGainmapRenderer.cpp60 } else if (RenderThread::isCurrent()) { in getTargetHdrSdrRatio()

12