Home
last modified time | relevance | path

Searched refs:isVisible (Results 1 – 25 of 27) 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.java97 isVisible -> menuIsVisible[0] = isVisible); in testOptionsMenuKey()
118 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/transition/src/android/transition/cts/
DVisibilityTest.java98 assertFalse(mVisibilityTransition.isVisible(null)); in testIsVisible()
106 assertTrue(mVisibilityTransition.isVisible(visibleValues)); in testIsVisible()
112 assertFalse(mVisibilityTransition.isVisible(invisibleValues)); in testIsVisible()
119 assertFalse(mVisibilityTransition.isVisible(goneValues)); in testIsVisible()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerTest.java681 assertTrue(mDrawableContainer.isVisible()); in testSetVisible()
692 assertTrue(mDrawableContainer.isVisible()); in testSetVisible()
693 assertTrue(dr.isVisible()); in testSetVisible()
695 assertFalse(mDrawableContainer.isVisible()); in testSetVisible()
696 assertFalse(dr.isVisible()); in testSetVisible()
735 assertFalse(dr0.isVisible()); in testSelectDrawable()
739 assertFalse(dr1.isVisible()); in testSelectDrawable()
744 assertTrue(dr0.isVisible()); in testSelectDrawable()
750 assertTrue(dr1.isVisible()); in testSelectDrawable()
751 assertFalse(dr0.isVisible()); in testSelectDrawable()
[all …]
DDrawableContainerStateTest.java71 assertTrue(dr0.isVisible()); in testAddChild()
79 assertFalse(dr0.isVisible()); in testAddChild()
83 assertTrue(dr1.isVisible()); in testAddChild()
92 assertFalse(dr1.isVisible()); in testAddChild()
DRotateDrawableTest.java243 assertTrue(mRotateDrawable.isVisible()); in testSetVisible()
246 assertFalse(mRotateDrawable.isVisible()); in testSetVisible()
249 assertFalse(mRotateDrawable.isVisible()); in testSetVisible()
252 assertTrue(mRotateDrawable.isVisible()); in testSetVisible()
DAnimationDrawableTest.java110 assertTrue(mAnimationDrawable.isVisible()); in testSetVisible()
118 assertFalse(mAnimationDrawable.isVisible()); in testSetVisible()
124 assertTrue(mAnimationDrawable.isVisible()); in testSetVisible()
284 assertFalse(dr.isVisible()); in testInflateCorrect()
DDrawableWrapperTest.java220 assertTrue(wrapper.isVisible()); in testSetVisible()
223 assertFalse(wrapper.isVisible()); in testSetVisible()
228 assertFalse(wrapper.isVisible()); in testSetVisible()
233 assertTrue(wrapper.isVisible()); in testSetVisible()
DClipDrawableTest.java355 assertTrue(clipDrawable.isVisible()); in testSetVisible()
358 assertFalse(clipDrawable.isVisible()); in testSetVisible()
361 assertFalse(clipDrawable.isVisible()); in testSetVisible()
364 assertTrue(clipDrawable.isVisible()); in testSetVisible()
DStateListDrawableTest.java268 assertFalse(mMockDrawable.isVisible()); in testInflate()
286 assertTrue(mMockDrawable.isVisible()); in testInflate()
290 assertTrue(mMockDrawable.isVisible()); in testInflate()
DDrawableTest.java542 assertFalse(mockDrawable.isVisible()); in testInflate()
567 assertTrue(mockDrawable.isVisible()); in testVisible()
570 assertFalse(mockDrawable.isVisible()); in testVisible()
573 assertFalse(mockDrawable.isVisible()); in testVisible()
576 assertTrue(mockDrawable.isVisible()); in testVisible()
DScaleDrawableTest.java209 assertTrue(scaleDrawable.isVisible()); in testSetVisible()
212 assertFalse(scaleDrawable.isVisible()); in testSetVisible()
217 assertFalse(scaleDrawable.isVisible()); in testSetVisible()
222 assertTrue(scaleDrawable.isVisible()); in testSetVisible()
DAnimatedStateListDrawableTest.java251 assertTrue(asld.isVisible()); in testInflate()
DLayerDrawableTest.java499 assertFalse(layerDrawable.isVisible()); in testSetVisible()
500 assertFalse(layerDrawable.getDrawable(0).isVisible()); in testSetVisible()
501 assertFalse(layerDrawable.getDrawable(1).isVisible()); in testSetVisible()
506 assertTrue(layerDrawable.isVisible()); in testSetVisible()
507 assertTrue(layerDrawable.getDrawable(0).isVisible()); in testSetVisible()
508 assertTrue(layerDrawable.getDrawable(1).isVisible()); in testSetVisible()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestCtsActivity.java29 public boolean isVisible() { in isVisible() method in AnimationTestCtsActivity
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestUtil.java200 public static boolean isVisible(Fragment fragment) { in isVisible() method in FragmentTestUtil
203 boolean isVisible = accessibilityNodeInfo.isVisibleToUser(); in isVisible()
205 return isVisible; in isVisible()
DFragmentAnimatorTest.java339 assertTrue(FragmentTestUtil.isVisible(fragment1)); in postponedAddRemove()
377 assertTrue(FragmentTestUtil.isVisible(fragment1)); in popPostponed()
552 assertFalse(FragmentTestUtil.isVisible(fragment)); in assertPostponed()
DPostponedTransitionTest.java681 assertTrue(FragmentTestUtil.isVisible(mBeginningFragment)); in popPostponedTransaction()
772 assertTrue(FragmentTestUtil.isVisible(fromFragment)); in assertPostponedTransition()
774 assertFalse(FragmentTestUtil.isVisible(toFragment)); in assertPostponedTransition()
/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.java624 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument
625 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated()
627 mLastAggregatedVisibility = isVisible; in onVisibilityAggregated()
DMenuInflaterTest.java106 assertTrue(mMenu.findItem(R.id.visible_item).isVisible()); in testInflateAlphabeticShortcutFromXml()
109 assertFalse(mMenu.findItem(R.id.hidden_item).isVisible()); in testInflateAlphabeticShortcutFromXml()
113 assertFalse(mMenu.findItem(R.id.hidden_by_group).isVisible()); in testInflateAlphabeticShortcutFromXml()
/cts/tests/tests/widget/src/android/widget/cts/
DCompoundButtonTest.java223 assertFalse(firstDrawable.isVisible()); in testSetButtonDrawableByDrawable()
233 assertTrue(secondDrawable.isVisible()); in testSetButtonDrawableByDrawable()
235 assertFalse(firstDrawable.isVisible()); in testSetButtonDrawableByDrawable()
DCheckedTextViewTest.java217 assertFalse(firstDrawable.isVisible());
234 assertTrue(secondDrawable.isVisible());
DFrameLayoutTest.java113 assertTrue(foreground.isVisible()); in testSetForegroundGravity()
133 assertTrue(newForeground.isVisible()); in testSetForegroundGravity()

12