/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsControllerTests.java | 125 if (rootView.getRootWindowInsets().isVisible(types)) { in testHideInternal() 129 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testHideInternal() 143 if (rootView.getRootWindowInsets().isVisible(types)) { in testShowInternal() 147 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(types)); in testShowInternal() 151 PollingCheck.waitFor(TIMEOUT, () -> rootView.getRootWindowInsets().isVisible(types)); in testShowInternal() 157 if (rootView.getRootWindowInsets().isVisible(statusBars())) { in testTopAppHidesStatusBarInternal() 162 () -> !rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal() 174 assertFalse(rootView.getRootWindowInsets().isVisible(statusBars())); in testTopAppHidesStatusBarInternal() 219 PollingCheck.waitFor(TIMEOUT, () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide() 221 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide() [all …]
|
D | WindowInsetsPolicyTest.java | 193 assertFalse(insets.isVisible(WindowInsets.Type.statusBars())); in testImmersiveFullscreenHidesSystemBars() 194 assertFalse(insets.isVisible(WindowInsets.Type.navigationBars())); in testImmersiveFullscreenHidesSystemBars() 197 assertFalse(rootInsets.isVisible(WindowInsets.Type.statusBars())); in testImmersiveFullscreenHidesSystemBars() 198 assertFalse(rootInsets.isVisible(WindowInsets.Type.navigationBars())); in testImmersiveFullscreenHidesSystemBars()
|
D | WindowInsetsTest.java | 269 assertTrue(insets.isVisible(navigationBars())); in testBuilder_visibility() 270 assertTrue(insets.isVisible(navigationBars() | ime())); in testBuilder_visibility() 271 assertFalse(insets.isVisible(navigationBars() | statusBars())); in testBuilder_visibility() 322 assertTrue(consumed.isVisible(ime())); in testConsume_doesntChangeVisibility()
|
/cts/tests/app/src/android/app/cts/ |
D | ToolbarActionBarTest.java | 47 isVisible -> menuIsVisible[0] = isVisible); in testOptionsMenuKey() 64 isVisible -> menuIsVisible[0] = isVisible); in testOpenOptionsMenu()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | SearchManagerStubActivity.java | 167 if (isVisible()) { in assertInVisible() 173 if (!isVisible()) { in assertVisible() 198 private boolean isVisible() { in isVisible() method in SearchManagerStubActivity 199 return mSearchManager.isVisible(); in isVisible()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerTest.java | 693 assertTrue(mDrawableContainer.isVisible()); in testSetVisible() 704 assertTrue(mDrawableContainer.isVisible()); in testSetVisible() 705 assertTrue(dr.isVisible()); in testSetVisible() 707 assertFalse(mDrawableContainer.isVisible()); in testSetVisible() 708 assertFalse(dr.isVisible()); in testSetVisible() 747 assertFalse(dr0.isVisible()); in testSelectDrawable() 751 assertFalse(dr1.isVisible()); in testSelectDrawable() 756 assertTrue(dr0.isVisible()); in testSelectDrawable() 762 assertTrue(dr1.isVisible()); in testSelectDrawable() 763 assertFalse(dr0.isVisible()); in testSelectDrawable() [all …]
|
D | DrawableContainerStateTest.java | 72 assertTrue(dr0.isVisible()); in testAddChild() 80 assertFalse(dr0.isVisible()); in testAddChild() 84 assertTrue(dr1.isVisible()); in testAddChild() 93 assertFalse(dr1.isVisible()); in testAddChild()
|
D | RotateDrawableTest.java | 244 assertTrue(mRotateDrawable.isVisible()); in testSetVisible() 247 assertFalse(mRotateDrawable.isVisible()); in testSetVisible() 250 assertFalse(mRotateDrawable.isVisible()); in testSetVisible() 253 assertTrue(mRotateDrawable.isVisible()); in testSetVisible()
|
D | AnimationDrawableTest.java | 111 assertTrue(mAnimationDrawable.isVisible()); in testSetVisible() 119 assertFalse(mAnimationDrawable.isVisible()); in testSetVisible() 125 assertTrue(mAnimationDrawable.isVisible()); in testSetVisible() 285 assertFalse(dr.isVisible()); in testInflateCorrect()
|
D | ClipDrawableTest.java | 356 assertTrue(clipDrawable.isVisible()); in testSetVisible() 359 assertFalse(clipDrawable.isVisible()); in testSetVisible() 362 assertFalse(clipDrawable.isVisible()); in testSetVisible() 365 assertTrue(clipDrawable.isVisible()); in testSetVisible()
|
D | DrawableWrapperTest.java | 231 assertTrue(wrapper.isVisible()); in testSetVisible() 235 assertFalse(wrapper.isVisible()); in testSetVisible() 240 assertFalse(wrapper.isVisible()); in testSetVisible() 245 assertTrue(wrapper.isVisible()); in testSetVisible()
|
D | StateListDrawableTest.java | 270 assertFalse(mMockDrawable.isVisible()); in testInflate() 288 assertTrue(mMockDrawable.isVisible()); in testInflate() 292 assertTrue(mMockDrawable.isVisible()); in testInflate()
|
D | ScaleDrawableTest.java | 210 assertTrue(scaleDrawable.isVisible()); in testSetVisible() 213 assertFalse(scaleDrawable.isVisible()); in testSetVisible() 218 assertFalse(scaleDrawable.isVisible()); in testSetVisible() 223 assertTrue(scaleDrawable.isVisible()); in testSetVisible()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | TestNotificationAssistant.java | 113 public void onNotificationVisibilityChanged(String key, boolean isVisible) { in onNotificationVisibilityChanged() argument 116 notificationVisible = isVisible; in onNotificationVisibilityChanged()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | VisibilityTest.java | 101 assertFalse(mVisibilityTransition.isVisible(null)); in testIsVisible() 108 assertTrue(mVisibilityTransition.isVisible(visibleValues)); in testIsVisible() 113 assertFalse(mVisibilityTransition.isVisible(invisibleValues)); in testIsVisible() 119 assertFalse(mVisibilityTransition.isVisible(goneValues)); in testIsVisible()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTestCtsActivity.java | 29 public boolean isVisible() { in isVisible() method in AnimationTestCtsActivity
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ImeInsetsVisibilityTest.java | 122 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup() 143 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup() 171 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() 192 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() 220 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps() 241 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps() 360 if (insets.isVisible(WindowInsets.Type.ime())) { in testEditorWontCoveredByImeWhenInputWindowBehindPanel() 408 return winInsets.isVisible(type); in isInsetsVisible()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTestUtil.java | 201 public static boolean isVisible(Fragment fragment) { in isVisible() method in FragmentTestUtil 204 boolean isVisible = accessibilityNodeInfo.isVisibleToUser(); in isVisible() 206 return isVisible; in isVisible()
|
D | FragmentAnimatorTest.java | 340 assertTrue(FragmentTestUtil.isVisible(fragment1)); in postponedAddRemove() 378 assertTrue(FragmentTestUtil.isVisible(fragment1)); in popPostponed() 553 assertFalse(FragmentTestUtil.isVisible(fragment)); in assertPostponed()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleControllerManagerTest.kt | 102 val isVisible = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in assertAppIsVisibleForRole() constant 103 assertThat(isVisible).isEqualTo(expectedIsVisible) in assertAppIsVisibleForRole()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerView.java | 272 final boolean isVisible; in isVisibleToUserForAutofill() 274 isVisible = super.isVisibleToUserForAutofill(virtualId); in isVisibleToUserForAutofill() 275 Log.d(TAG, "isVisibleToUserForAutofill(" + virtualId + ") using super: " + isVisible); in isVisibleToUserForAutofill() 278 isVisible = item.line.visible; in isVisibleToUserForAutofill() 279 Log.d(TAG, "isVisibleToUserForAutofill(" + virtualId + ") set by test: " + isVisible); in isVisibleToUserForAutofill() 281 return isVisible; in isVisibleToUserForAutofill()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DeviceAdminInfoTest.java | 183 assertThat(deviceAdminInfo.isVisible()).isTrue(); in testIsVisible_visibleComponent_returnsTrue() 194 assertThat(deviceAdminInfo.isVisible()).isFalse(); in testIsVisible_invisibleComponent_returnsFalse()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MockView.java | 637 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument 638 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated() 640 mLastAggregatedVisibility = isVisible; in onVisibilityAggregated()
|
D | MenuInflaterTest.java | 107 assertTrue(mMenu.findItem(R.id.visible_item).isVisible()); in testInflateAlphabeticShortcutFromXml() 110 assertFalse(mMenu.findItem(R.id.hidden_item).isVisible()); in testInflateAlphabeticShortcutFromXml() 114 assertFalse(mMenu.findItem(R.id.hidden_by_group).isVisible()); in testInflateAlphabeticShortcutFromXml()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CompoundButtonTest.java | 227 assertFalse(firstDrawable.isVisible()); in testSetButtonDrawableByDrawable() 237 assertTrue(secondDrawable.isVisible()); in testSetButtonDrawableByDrawable() 239 assertFalse(firstDrawable.isVisible()); in testSetButtonDrawableByDrawable()
|