Home
last modified time | relevance | path

Searched refs:SEARCH_DELAY_MS (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java236 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testIsSearching_TrueAfterOnQueryTextChangeAndWait()
244 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS - 1); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
246 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testIsSearching_FalseWhenSecondOnQueryTextChangeResetsTimer()
254 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS - 1); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
256 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS * 2); in testIsSearching_TrueAfterSecondOnQueryTextChangeResetsTimer()
265 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testIsSearching_FalseIfSearchCanceled()
287 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testOnSearchChanged_CalledAfterOnQueryTextChangedAndWait()
299 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testOnSearchChanged_CalledOnlyOnceAfterOnQueryTextSubmit()
308 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testOnSearchChanged_NotCalledForOnQueryTextSubmitIfSearchAlreadyFinished()
336 fastForwardTo(SearchViewManager.SEARCH_DELAY_MS); in testCheckedChipItems_IsEmptyIfSearchCanceled()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java69 public static final int SEARCH_DELAY_MS = 750; field in SearchViewManager
543 mTimer.schedule(mQueuedSearchTask, SEARCH_DELAY_MS);