Home
last modified time | relevance | path

Searched refs:getVisibility (Results 1 – 25 of 60) sorted by relevance

123

/cts/tests/tests/widget/src/android/widget/cts/
DSlidingDrawerTest.java130 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose()
134 assertEquals(View.VISIBLE, content.getVisibility()); in testOpenAndClose()
138 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose()
146 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
150 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
154 assertEquals(View.VISIBLE, content.getVisibility()); in testAnimateOpenAndClose()
158 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
162 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
170 assertEquals(View.GONE, content.getVisibility()); in testAnimateToggle()
174 assertEquals(View.GONE, content.getVisibility()); in testAnimateToggle()
[all …]
DViewFlipperTest.java115 assertEquals(View.VISIBLE, iv1.getVisibility()); in testViewFlipper()
116 assertEquals(View.GONE, iv2.getVisibility()); in testViewFlipper()
129 assertEquals(View.GONE, iv1.getVisibility()); in testViewFlipper()
130 assertEquals(View.VISIBLE, iv2.getVisibility()); in testViewFlipper()
142 assertEquals(View.VISIBLE, iv1.getVisibility()); in testViewFlipper()
143 assertEquals(View.GONE, iv2.getVisibility()); in testViewFlipper()
DViewSwitcherTest.java82 assertEquals(View.VISIBLE, lv1.getVisibility()); in testReset()
83 assertEquals(View.VISIBLE, lv2.getVisibility()); in testReset()
88 assertEquals(View.GONE, lv1.getVisibility()); in testReset()
89 assertEquals(View.GONE, lv2.getVisibility()); in testReset()
DZoomControlsTest.java98 assertEquals(View.VISIBLE, zoomControls.getVisibility()); in testShowAndHide()
101 assertEquals(View.GONE, zoomControls.getVisibility()); in testShowAndHide()
104 assertEquals(View.VISIBLE, zoomControls.getVisibility()); in testShowAndHide()
DAdapterViewTest.java191 assertEquals(View.INVISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
196 assertEquals(View.VISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
203 assertEquals(View.VISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
207 assertEquals(View.GONE, emptyView.getVisibility()); in testAccessEmptyView()
213 assertEquals(View.INVISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
217 assertEquals(View.VISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
/cts/tests/tests/transition/src/android/transition/cts/
DExplodeTest.java82 assertEquals(View.VISIBLE, redSquare.getVisibility()); in testExplode()
83 assertEquals(View.VISIBLE, greenSquare.getVisibility()); in testExplode()
84 assertEquals(View.VISIBLE, blueSquare.getVisibility()); in testExplode()
85 assertEquals(View.VISIBLE, yellowSquare.getVisibility()); in testExplode()
97 assertEquals(View.INVISIBLE, redSquare.getVisibility()); in testExplode()
98 assertEquals(View.INVISIBLE, greenSquare.getVisibility()); in testExplode()
99 assertEquals(View.INVISIBLE, blueSquare.getVisibility()); in testExplode()
100 assertEquals(View.INVISIBLE, yellowSquare.getVisibility()); in testExplode()
133 assertEquals(View.VISIBLE, redSquare.getVisibility()); in testImplode()
134 assertEquals(View.VISIBLE, greenSquare.getVisibility()); in testImplode()
[all …]
DSlideEdgeTest.java101 assertEquals(View.VISIBLE, redSquare.getVisibility()); in testSlideOut()
102 assertEquals(View.VISIBLE, greenSquare.getVisibility()); in testSlideOut()
103 assertEquals(View.VISIBLE, hello.getVisibility()); in testSlideOut()
121 assertEquals(View.INVISIBLE, redSquare.getVisibility()); in testSlideOut()
122 assertEquals(View.INVISIBLE, greenSquare.getVisibility()); in testSlideOut()
123 assertEquals(View.INVISIBLE, hello.getVisibility()); in testSlideOut()
166 assertEquals(View.VISIBLE, redSquare.getVisibility()); in testSlideIn()
167 assertEquals(View.VISIBLE, greenSquare.getVisibility()); in testSlideIn()
168 assertEquals(View.VISIBLE, hello.getVisibility()); in testSlideIn()
186 assertEquals(View.VISIBLE, redSquare.getVisibility()); in testSlideIn()
[all …]
DActivityTransitionTest.java163 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped()
164 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped()
165 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped()
197 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped()
198 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped()
199 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped()
236 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsStripped()
237 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsStripped()
238 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsStripped()
268 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsStripped()
[all …]
DTargetActivity.java94 startVisibility = excludedView.getVisibility(); in onCreate()
99 endVisibility = excludedView.getVisibility(); in onCreate()
DChangeTransformTest.java144 assertTrue(mActivity.findViewById(R.id.text).getVisibility() != View.VISIBLE); in testReparentWithOverlay()
161 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.text).getVisibility()); in testReparentWithOverlay()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DViewNodeTest.java194 assertThat(node.getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
195 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
198 assertThat(node.getVisibility()).isEqualTo(View.GONE); in testVisibility()
199 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.GONE); in testVisibility()
202 assertThat(node.getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
203 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
206 assertThat(node.getVisibility()).isEqualTo(View.INVISIBLE); in testVisibility()
207 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.INVISIBLE); in testVisibility()
210 assertThat(node.getVisibility()).isEqualTo(View.INVISIBLE | View.GONE); in testVisibility()
211 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.INVISIBLE | View.GONE); in testVisibility()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DVisibilitySetterActionTest.java74 assertThat(view.getVisibility()).isEqualTo(View.VISIBLE); in testOneChild()
89 assertThat(view.getVisibility()).isEqualTo(View.INVISIBLE); in testOneChildAddedTwice()
109 assertThat(view1.getVisibility()).isEqualTo(View.VISIBLE); in testMultipleChildren()
110 assertThat(view2.getVisibility()).isEqualTo(View.INVISIBLE); in testMultipleChildren()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentViewTests.java247 assertEquals(View.GONE, replacement1.getView().getVisibility()); in removeHiddenView()
323 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in hideFragment()
330 assertEquals(View.GONE, fragment.getView().getVisibility()); in hideFragment()
337 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in hideFragment()
382 assertEquals(View.GONE, fragment.getView().getVisibility()); in showFragment()
389 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in showFragment()
396 assertEquals(View.GONE, fragment.getView().getVisibility()); in showFragment()
440 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in detachFragment()
453 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in detachFragment()
471 assertEquals(View.GONE, fragment.getView().getVisibility()); in detachHiddenFragment()
[all …]
DFragmentAnimatorTest.java116 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsReordered()
127 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in showAnimatorsReordered()
132 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsReordered()
152 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsOrdered()
164 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in showAnimatorsOrdered()
169 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsOrdered()
339 assertEquals(View.VISIBLE, fragment1.getView().getVisibility()); in postponedAddRemove()
552 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in assertPostponed()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java220 assertEquals(View.VISIBLE, greenSquare.getVisibility());
221 assertEquals(View.VISIBLE, hello.getVisibility());
255 assertEquals(View.VISIBLE, greenSquare.getVisibility());
256 assertEquals(View.VISIBLE, hello.getVisibility());
289 assertEquals(View.VISIBLE, greenSquare.getVisibility());
290 assertEquals(View.VISIBLE, hello.getVisibility());
DActivityTransitionActivity.java173 … result.putInt(ARRIVE_ENTER_START_VISIBILITY, sharedElements.get(0).getVisibility()); in startTest()
185 sharedElements.get(0).getVisibility()); in startTest()
312 data.putInt(mPropertyName, view.getVisibility()); in onTransitionEnd()
316 mVisibility.set(view.getVisibility()); in onTransitionEnd()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java445 assertEquals(View.VISIBLE, mWarningTextView.getVisibility()); in testSetupListeners()
461 assertEquals(View.VISIBLE, v1.getVisibility()); in testSetVisibility()
462 assertEquals(View.INVISIBLE, v2.getVisibility()); in testSetVisibility()
463 assertEquals(View.GONE, v3.getVisibility()); in testSetVisibility()
466 assertEquals(View.GONE, v1.getVisibility()); in testSetVisibility()
469 assertEquals(View.VISIBLE, v2.getVisibility()); in testSetVisibility()
472 assertEquals(View.INVISIBLE, v3.getVisibility()); in testSetVisibility()
495 } else if (View.VISIBLE == mWarningTextView.getVisibility()) { in onClick()
DViewStubTest.java113 assertEquals(View.GONE, viewStub1.getVisibility()); in testSetVisibility()
120 assertEquals(View.VISIBLE, viewStub1.getVisibility()); in testSetVisibility()
137 assertEquals(View.INVISIBLE, viewStub2.getVisibility()); in testSetVisibility()
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/
DApiMethod.java96 public String getVisibility() { in getVisibility() method in ApiMethod
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/
DPocService.java59 mButton.setTag(mButton.getVisibility()); in onStartCommand()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/
DPocService.java85 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/
DPocService.java86 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/
DPocService.java89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/
DPocService.java88 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/
DOverlayService.java89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()

123