Searched refs:when (Results 1 – 13 of 13) sorted by relevance
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
| D | SwitchCompatEmojiTest.java | 24 import static org.mockito.Mockito.when; 50 when(mEmojiCompatMock.getLoadState()).thenReturn(EmojiCompat.LOAD_STATE_LOADING); in setupCallbacks_whenLoading() 64 when(mEmojiCompatMock.getLoadState()).thenReturn(EmojiCompat.LOAD_STATE_LOADING); in dontSetupCallbacks_whenDisabled() 78 when(mEmojiCompatMock.getLoadState()).thenReturn(EmojiCompat.LOAD_STATE_LOADING); in noInteractions_whenDisnabled_andRepeatedShowText() 95 when(mEmojiCompatMock.getLoadState()).thenReturn(EmojiCompat.LOAD_STATE_LOADING); in setupCallbacks_whenLoading_andEnabledLate()
|
| D | AppCompatEditTextReceiveContentTest.java | 34 import static org.mockito.Mockito.when; 214 when(mMockReceiver.onReceiveContent(eq(mEditText), any(ContentInfoCompat.class))) in testPaste_withReceiver_resultBoolean() 219 when(mMockReceiver.onReceiveContent(eq(mEditText), any(ContentInfoCompat.class))) in testPaste_withReceiver_resultBoolean() 346 when(mMockReceiver.onReceiveContent(eq(mEditText), any(ContentInfoCompat.class))) in testImeCommitContent_withReceiver_resultBoolean() 352 when(mMockReceiver.onReceiveContent(eq(mEditText), any(ContentInfoCompat.class))) in testImeCommitContent_withReceiver_resultBoolean() 560 when(dragEvent.getAction()).thenReturn(action); in createDragEvent() 561 when(dragEvent.getX()).thenReturn(x); in createDragEvent() 562 when(dragEvent.getY()).thenReturn(y); in createDragEvent() 563 when(dragEvent.getClipData()).thenReturn(clip); in createDragEvent()
|
| D | SearchView_CursorTest.java | 27 import static org.mockito.Mockito.when; 155 when(mockQueryTextListener.onQueryTextChange(anyString())).thenCallRealMethod(); in testSuggestionFiltering() 177 when(mockSuggestionListener.onSuggestionClick(anyInt())).thenCallRealMethod(); in testSuggestionSelection() 181 when(mockQueryTextListener.onQueryTextChange(anyString())).thenCallRealMethod(); in testSuggestionSelection()
|
| D | SearchViewTest.java | 28 import static org.mockito.Mockito.when; 151 when(mockDenyCloseListener.onClose()).thenReturn(Boolean.TRUE); in testDenyIconifyingInconifiableView() 181 when(mockAllowCloseListener.onClose()).thenReturn(Boolean.FALSE); in testAllowIconifyingInconifiableView() 241 when(mockQueryTextListener.onQueryTextSubmit(anyString())).thenReturn(Boolean.TRUE); in testAccessQuery()
|
| D | AppCompatBaseTextViewEmojiTest.java | 27 import static org.mockito.Mockito.when; 76 when(mEmojiCompatMock.getLoadState()).thenReturn(EmojiCompat.LOAD_STATE_FAILED); in resetEmojiCompatToNewMock()
|
| D | ListPopupWindowTest.java | 565 doCallRealMethod().when(mOnItemClickListener).onItemClick( in configure()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/ |
| D | BaseBasicsTestCase.java | 33 import static org.mockito.Mockito.when; 279 when(callback.onCreateActionMode(any(ActionMode.class), any(Menu.class))).thenReturn(true); in testSupportActionModeCallbacks() 303 when(callback.onCreateActionMode(any(ActionMode.class), any(Menu.class))).thenReturn(true); in testSupportActionModeCallbacksInvalidate() 327 when(callback.onCreateActionMode(any(ActionMode.class), any(Menu.class))).thenReturn(false); in testSupportActionModeCallbacksWithFalseOnCreate() 357 when(amCallback.onCreateActionMode(any(ActionMode.class), any(Menu.class))) in testSupportActionModeAppCompatCallbacks() 363 when(apCallback.onWindowStartingSupportActionMode(any(ActionMode.Callback.class))) in testSupportActionModeAppCompatCallbacks()
|
| /appcompat/appcompat-resources/src/main/java/androidx/appcompat/graphics/drawable/ |
| D | DrawableWrapperCompat.java | 171 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument 172 scheduleSelf(what, when); in scheduleDrawable()
|
| D | DrawableContainerCompat.java | 377 public void scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when) { in scheduleDrawable() argument 379 getCallback().scheduleDrawable(this, what, when); in scheduleDrawable() 1189 public void scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when) { in scheduleDrawable() argument 1191 mCallback.scheduleDrawable(who, what, when); in scheduleDrawable()
|
| /appcompat/appcompat/ |
| D | build.gradle | 5 * Please use that script when creating a new project, rather than copying an existing project and 111 //TODO(b/407507716): Target Kotlin 2 when support for it is stable in kapt
|
| /appcompat/appcompat-lint/integration-tests/ |
| D | build.gradle | 5 * Please use that script when creating a new project, rather than copying an existing project and
|
| /appcompat/appcompat-lint/ |
| D | build.gradle | 21 * Please use that script when creating a new project, rather than copying an existing project and
|
| /appcompat/appcompat-resources/ |
| D | build.gradle | 21 * Please use that script when creating a new project, rather than copying an existing project and
|