Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java50 public static final int INVALID_ID = Integer.MIN_VALUE; field in ExploreByTouchHelper
86 private int mFocusedVirtualViewId = INVALID_ID;
89 private int mHoveredVirtualViewId = INVALID_ID;
149 return (virtualViewId != INVALID_ID); in dispatchHoverEvent()
151 if (mHoveredVirtualViewId != INVALID_ID) { in dispatchHoverEvent()
152 updateHoveredVirtualView(INVALID_ID); in dispatchHoverEvent()
179 if ((virtualViewId == INVALID_ID) || !mManager.isEnabled()) { in sendEventForVirtualView()
239 if (virtualViewId != INVALID_ID && mManager.isEnabled()) { in invalidateVirtualView()
618 if (mFocusedVirtualViewId != INVALID_ID) { in requestAccessibilityFocus()
644 mFocusedVirtualViewId = INVALID_ID; in clearAccessibilityFocus()
DLockPatternView.java1742 if (virtualViewId != ExploreByTouchHelper.INVALID_ID) {
1820 return ExploreByTouchHelper.INVALID_ID;
1824 int view = dotAvailable ? dotId : ExploreByTouchHelper.INVALID_ID;
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java70 private static final long INVALID_ID = -1; field in FrameTracker
121 private long mBeginVsyncId = INVALID_ID;
122 private long mEndVsyncId = INVALID_ID;
244 if (mBeginVsyncId != INVALID_ID) { in FrameTracker()
284 if (mBeginVsyncId == INVALID_ID) { in begin()
311 if (mCancelled || mEndVsyncId != INVALID_ID) { in beginInternal()
330 if (mCancelled || mEndVsyncId != INVALID_ID) return false; in end()
335 if (mBeginVsyncId == INVALID_ID) { in end()
390 if (mCancelled || (mEndVsyncId != INVALID_ID && !cancelFromEnd)) return false; in cancel()
512 if (mEndVsyncId == INVALID_ID) { in hasReceivedCallbacksAfterEnd()
/frameworks/base/libs/input/
DTouchSpotController.cpp125 if (spot->id != Spot::INVALID_ID && !spotIdBits.hasBit(spot->id)) { in setSpots()
185 if (spot->id == Spot::INVALID_ID) { in removeFirstFadingSpotLocked()
203 if (spot->id != Spot::INVALID_ID) { in fadeOutAndReleaseSpotLocked()
204 spot->id = Spot::INVALID_ID; in fadeOutAndReleaseSpotLocked()
244 if (spot->id == Spot::INVALID_ID) { in doFadingAnimationLocked()
DTouchSpotController.h45 static const uint32_t INVALID_ID = 0xffffffff; member
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallRepository.kt91 private var sessionId = SessionInfo.INVALID_ID in <lambda>()
96 var stagedSessionId = SessionInfo.INVALID_ID in <lambda>()
133 intent.getIntExtra(PackageInstaller.EXTRA_SESSION_ID, SessionInfo.INVALID_ID) in <lambda>()
134 else SessionInfo.INVALID_ID in <lambda>()
136 stagedSessionId = intent.getIntExtra(EXTRA_STAGED_SESSION_ID, SessionInfo.INVALID_ID) in <lambda>()
148 if (sessionId != SessionInfo.INVALID_ID) in <lambda>()
182 if ((sessionId != SessionInfo.INVALID_ID in <lambda>()
184 || (stagedSessionId != SessionInfo.INVALID_ID in <lambda>()
281 if (stagedSessionId != SessionInfo.INVALID_ID in <lambda>()
463 return if (sessionId == SessionInfo.INVALID_ID && in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java105 ? intent.getIntExtra(PackageInstaller.EXTRA_SESSION_ID, SessionInfo.INVALID_ID) in onCreate()
106 : SessionInfo.INVALID_ID); in onCreate()
107 if (sessionId != SessionInfo.INVALID_ID) { in onCreate()
DPackageInstallerActivity.java306 if (mSessionId == SessionInfo.INVALID_ID && in initiateInstall()
/frameworks/native/services/surfaceflinger/
DTransactionCallbackInvoker.h61 ReleaseCallbackId previousReleaseCallbackId = ReleaseCallbackId::INVALID_ID;
DLayer.h1262 ReleaseCallbackId mPreviousReleaseCallbackId = ReleaseCallbackId::INVALID_ID;
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h64 static const ReleaseCallbackId INVALID_ID;
79 if (*this == INVALID_ID) return "INVALID_ID"; in to_string()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelperTest.java74 "Virtual view ID should be INVALID_ID", ExploreByTouchHelper.INVALID_ID, virtualViewId); in testGetVirtualViewAtHost()
103 mHelper.onPopulateEventForVirtualView(ExploreByTouchHelper.INVALID_ID, event); in testOnPopulateEventForVirtualViewHost()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java168 return ExploreByTouchHelper.INVALID_ID; in getVirtualViewAt()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java995 sessionId = existingDraftSessionId != SessionInfo.INVALID_ID ? existingDraftSessionId
1034 null, null, false, false, false, false, null, SessionInfo.INVALID_ID,
1063 return SessionInfo.INVALID_ID;
1069 return SessionInfo.INVALID_ID;
1082 return SessionInfo.INVALID_ID;
1093 return SessionInfo.INVALID_ID;
DPackageInstallerSession.java4964 session.setParentSessionId(SessionInfo.INVALID_ID);
4979 if (parentSessionId != SessionInfo.INVALID_ID
4980 && mParentSessionId != SessionInfo.INVALID_ID) {
4990 return mParentSessionId != SessionInfo.INVALID_ID;
5796 SessionInfo.INVALID_ID);
5886 SessionInfo.INVALID_ID));
DPackageArchiver.java888 if (existingSessionId != PackageInstaller.SessionInfo.INVALID_ID) { in createDraftSession()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java1189 id = INVALID_ID; in getVirtualViewAt()
1258 if (nextId != INVALID_ID) { in onPopulateNodeForVirtualView()
1281 return INVALID_ID; in getVirtualViewIdAfter()
DSimpleMonthView.java1086 return ExploreByTouchHelper.INVALID_ID; in getVirtualViewAt()
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp408 const ReleaseCallbackId ReleaseCallbackId::INVALID_ID = ReleaseCallbackId(0, 0); member in android::ReleaseCallbackId
DSurfaceComposerClient.cpp437 if (surfaceStats.previousReleaseCallbackId != ReleaseCallbackId::INVALID_ID) { in onTransactionCompleted()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageInstallerSessionTest.kt152 parentSessionId: Int = PackageInstaller.SessionInfo.INVALID_ID, in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerTest.java109 private static final int INVALID_ID = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; field in AccessibilityWindowManagerTest
911 assertEquals(windowId, INVALID_ID); in getWindowIdLocked_windowIsNotRegistered_shouldReturnInvalidWindowId()
DAccessibilityWindowManagerWithAccessibilityWindowTest.java111 private static final int INVALID_ID = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; field in AccessibilityWindowManagerWithAccessibilityWindowTest
1074 assertEquals(windowId, INVALID_ID); in getWindowIdLocked_windowIsNotRegistered_shouldReturnInvalidWindowId()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java3705 public static final int INVALID_ID = -1; field in PackageInstaller.SessionInfo
3845 public int parentSessionId = INVALID_ID;
4374 return parentSessionId != INVALID_ID; in hasParentSessionId()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java214 PackageInstaller.SessionInfo.INVALID_ID); in setUp()

12