Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java207 boolean isCurrent = currentId == info.id; in refreshUsers()
208 if (isCurrent) { in refreshUsers()
211 boolean switchToEnabled = canSwitchUsers || isCurrent; in refreshUsers()
217 true /* isGuest */, isCurrent, false /* isAddUser */, in refreshUsers()
231 int index = isCurrent ? 0 : records.size(); in refreshUsers()
233 isCurrent, false /* isAddUser */, false /* isRestricted */, in refreshUsers()
262 int index = guestRecord.isCurrent ? 0 : records.size(); in refreshUsers()
511 if (record.isCurrent != shouldBeCurrent) {
728 if (item.isCurrent) { in getName()
779 public final boolean isCurrent; field in UserSwitcherController.UserRecord
[all …]
DCastControllerImpl.java193 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection()
194 if (started && !isCurrent) { in setProjection()
197 } else if (!started && isCurrent) { in setProjection()
DKeyguardUserSwitcher.java286 convertView.setActivated(item.isCurrent); in getView()
294 if (user.isCurrent && !user.isGuest) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridView.java66 if (record.isCurrent) { in init()
84 if (record.isCurrent) { in init()
147 convertView.setActivated(record.isCurrent); in getView()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java576 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
627 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
653 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
694 private boolean isCurrent(IMediaBrowserServiceCallbacks callback, String funcName) { in isCurrent() method in MediaBrowser
976 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1025 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1051 private boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowser.MediaServiceConnection
/frameworks/base/libs/hwui/renderthread/
DEglManager.h47 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent() function
DEglManager.cpp239 if (isCurrent(surface)) { in destroySurface()
265 if (isCurrent(surface)) return false; in makeCurrent()
DVulkanManager.h95 bool isCurrent(VulkanSurface* surface) { return true; } in isCurrent() function
DOpenGLPipeline.cpp144 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java88 v.setActivated(item.isCurrent); in createUserDetailItemView()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp153 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
/frameworks/support/design/src/android/support/design/widget/
DSnackbarManager.java158 public boolean isCurrent(Callback callback) { in isCurrent() method in SnackbarManager
DBaseTransientBottomBar.java380 return SnackbarManager.getInstance().isCurrent(mManagerCallback); in isShown()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java1305 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
1351 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
1372 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
1432 private boolean isCurrent(Messenger callback, String funcName) { in isCurrent() method in MediaBrowserCompat.MediaBrowserImplBase
1480 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1531 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1558 boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowserCompat.MediaBrowserImplBase.MediaServiceConnection
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2241 public boolean isCurrent; in testLoadGroups() field in SupplicantP2pIfaceHalTest.P2pGroupInfo
2242 P2pGroupInfo(String ssid, byte[] bssid, boolean isGo, boolean isCurrent) { in testLoadGroups() argument
2246 this.isCurrent = isCurrent; in testLoadGroups()
2295 cb.onValues(mStatusSuccess, groups.get(networkId).isCurrent); in testLoadGroups()
2299 .isCurrent(any(ISupplicantP2pNetwork.isCurrentCallback.class)); in testLoadGroups()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java1794 network.isCurrent( in loadGroups()
1795 (SupplicantStatus status, boolean isCurrent) -> { in loadGroups() argument
1796 resultIsCurrent.setResult(status, isCurrent); in loadGroups()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java881 private void dumpUser(PrintWriter fout, UserInfo user, boolean isCurrent) {
889 if (isCurrent) {