Home
last modified time | relevance | path

Searched refs:isVisible (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/app/src/android/app/cts/
DToolbarActionBarTest.java47 isVisible -> menuIsVisible[0] = isVisible); in testOptionsMenuKey()
64 isVisible -> menuIsVisible[0] = isVisible); in testOpenOptionsMenu()
DActionBarTest.java100 isVisible -> menuIsVisible[0] = isVisible); in testOptionsMenuKey()
121 isVisible -> menuIsVisible[0] = isVisible); in testOpenOptionsMenu()
/cts/tests/app/app/src/android/app/stubs/
DSearchManagerStubActivity.java167 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/
DDrawableContainerTest.java693 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 …]
DDrawableContainerStateTest.java72 assertTrue(dr0.isVisible()); in testAddChild()
80 assertFalse(dr0.isVisible()); in testAddChild()
84 assertTrue(dr1.isVisible()); in testAddChild()
93 assertFalse(dr1.isVisible()); in testAddChild()
DAnimationDrawableTest.java111 assertTrue(mAnimationDrawable.isVisible()); in testSetVisible()
119 assertFalse(mAnimationDrawable.isVisible()); in testSetVisible()
125 assertTrue(mAnimationDrawable.isVisible()); in testSetVisible()
285 assertFalse(dr.isVisible()); in testInflateCorrect()
DRotateDrawableTest.java244 assertTrue(mRotateDrawable.isVisible()); in testSetVisible()
247 assertFalse(mRotateDrawable.isVisible()); in testSetVisible()
250 assertFalse(mRotateDrawable.isVisible()); in testSetVisible()
253 assertTrue(mRotateDrawable.isVisible()); in testSetVisible()
DDrawableWrapperTest.java231 assertTrue(wrapper.isVisible()); in testSetVisible()
235 assertFalse(wrapper.isVisible()); in testSetVisible()
240 assertFalse(wrapper.isVisible()); in testSetVisible()
245 assertTrue(wrapper.isVisible()); in testSetVisible()
DClipDrawableTest.java356 assertTrue(clipDrawable.isVisible()); in testSetVisible()
359 assertFalse(clipDrawable.isVisible()); in testSetVisible()
362 assertFalse(clipDrawable.isVisible()); in testSetVisible()
365 assertTrue(clipDrawable.isVisible()); in testSetVisible()
DStateListDrawableTest.java270 assertFalse(mMockDrawable.isVisible()); in testInflate()
288 assertTrue(mMockDrawable.isVisible()); in testInflate()
292 assertTrue(mMockDrawable.isVisible()); in testInflate()
DScaleDrawableTest.java210 assertTrue(scaleDrawable.isVisible()); in testSetVisible()
213 assertFalse(scaleDrawable.isVisible()); in testSetVisible()
218 assertFalse(scaleDrawable.isVisible()); in testSetVisible()
223 assertTrue(scaleDrawable.isVisible()); in testSetVisible()
DDrawableTest.java613 assertFalse(mockDrawable.isVisible()); in testInflate()
638 assertTrue(mockDrawable.isVisible()); in testVisible()
641 assertFalse(mockDrawable.isVisible()); in testVisible()
644 assertFalse(mockDrawable.isVisible()); in testVisible()
647 assertTrue(mockDrawable.isVisible()); in testVisible()
DLayerDrawableTest.java500 assertFalse(layerDrawable.isVisible()); in testSetVisible()
501 assertFalse(layerDrawable.getDrawable(0).isVisible()); in testSetVisible()
502 assertFalse(layerDrawable.getDrawable(1).isVisible()); in testSetVisible()
507 assertTrue(layerDrawable.isVisible()); in testSetVisible()
508 assertTrue(layerDrawable.getDrawable(0).isVisible()); in testSetVisible()
509 assertTrue(layerDrawable.getDrawable(1).isVisible()); in testSetVisible()
/cts/tests/tests/transition/src/android/transition/cts/
DVisibilityTest.java101 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/fragment/src/android/fragment/cts/
DFragmentTestUtil.java201 public static boolean isVisible(Fragment fragment) { in isVisible() method in FragmentTestUtil
204 boolean isVisible = accessibilityNodeInfo.isVisibleToUser(); in isVisible()
206 return isVisible; in isVisible()
DFragmentAnimatorTest.java340 assertTrue(FragmentTestUtil.isVisible(fragment1)); in postponedAddRemove()
378 assertTrue(FragmentTestUtil.isVisible(fragment1)); in popPostponed()
553 assertFalse(FragmentTestUtil.isVisible(fragment)); in assertPostponed()
DPostponedTransitionTest.java682 assertTrue(FragmentTestUtil.isVisible(mBeginningFragment)); in popPostponedTransaction()
773 assertTrue(FragmentTestUtil.isVisible(fromFragment)); in assertPostponedTransition()
775 assertFalse(FragmentTestUtil.isVisible(toFragment)); in assertPostponedTransition()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestCtsActivity.java29 public boolean isVisible() { in isVisible() method in AnimationTestCtsActivity
/cts/tests/autofillservice/src/android/autofillservice/cts/
DVirtualContainerView.java272 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/tests/view/src/android/view/cts/
DMockView.java637 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument
638 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated()
640 mLastAggregatedVisibility = isVisible; in onVisibilityAggregated()
DMenuInflaterTest.java107 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/admin/src/android/admin/cts/
DDeviceAdminInfoTest.java183 assertThat(deviceAdminInfo.isVisible()).isTrue(); in testIsVisible_visibleComponent_returnsTrue()
194 assertThat(deviceAdminInfo.isVisible()).isFalse(); in testIsVisible_invisibleComponent_returnsFalse()
/cts/tests/tests/widget/src/android/widget/cts/
DCompoundButtonTest.java225 assertFalse(firstDrawable.isVisible()); in testSetButtonDrawableByDrawable()
235 assertTrue(secondDrawable.isVisible()); in testSetButtonDrawableByDrawable()
237 assertFalse(firstDrawable.isVisible()); in testSetButtonDrawableByDrawable()
DFrameLayoutTest.java114 assertTrue(foreground.isVisible()); in testSetForegroundGravity()
133 assertTrue(newForeground.isVisible()); in testSetForegroundGravity()
DCheckedTextViewTest.java215 assertFalse(firstDrawable.isVisible());
232 assertTrue(secondDrawable.isVisible());

12