Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DSlidingDrawerTest.java122 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose()
126 assertEquals(View.VISIBLE, content.getVisibility()); in testOpenAndClose()
130 assertEquals(View.GONE, content.getVisibility()); in testOpenAndClose()
138 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
142 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
146 assertEquals(View.VISIBLE, content.getVisibility()); in testAnimateOpenAndClose()
150 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
154 assertEquals(View.GONE, content.getVisibility()); in testAnimateOpenAndClose()
162 assertEquals(View.GONE, content.getVisibility()); in testAnimateToggle()
166 assertEquals(View.GONE, content.getVisibility()); in testAnimateToggle()
[all …]
DViewFlipperTest.java106 assertEquals(View.VISIBLE, iv1.getVisibility()); in testViewFlipper()
107 assertEquals(View.GONE, iv2.getVisibility()); in testViewFlipper()
120 assertEquals(View.GONE, iv1.getVisibility()); in testViewFlipper()
121 assertEquals(View.VISIBLE, iv2.getVisibility()); in testViewFlipper()
133 assertEquals(View.VISIBLE, iv1.getVisibility()); in testViewFlipper()
134 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.java97 assertEquals(View.VISIBLE, zoomControls.getVisibility()); in testShowAndHide()
100 assertEquals(View.GONE, zoomControls.getVisibility()); in testShowAndHide()
103 assertEquals(View.VISIBLE, zoomControls.getVisibility()); in testShowAndHide()
DAdapterViewTest.java177 assertEquals(View.INVISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
182 assertEquals(View.VISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
189 assertEquals(View.VISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
193 assertEquals(View.GONE, emptyView.getVisibility()); in testAccessEmptyView()
199 assertEquals(View.INVISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
203 assertEquals(View.VISIBLE, emptyView.getVisibility()); in testAccessEmptyView()
DProgressBarTest.java366 assertEquals(visibility, mProgressBarHorizontal.getVisibility()); in testSetVisibility()
370 assertEquals(visibility, mProgressBarHorizontal.getVisibility()); in testSetVisibility()
375 int expected = (mProgressBarHorizontal.getVisibility() & ~mask) | (visibility & mask); in testSetVisibility()
377 assertEquals(expected, mProgressBarHorizontal.getVisibility()); in testSetVisibility()
380 expected = (mProgressBarHorizontal.getVisibility() & ~mask) | (visibility & mask); in testSetVisibility()
382 assertEquals(expected, mProgressBarHorizontal.getVisibility()); in testSetVisibility()
DRemoteViewsTest.java182 assertEquals(View.VISIBLE, view.getVisibility()); in testSetViewVisibility()
186 assertEquals(View.INVISIBLE, view.getVisibility()); in testSetViewVisibility()
190 assertEquals(View.GONE, view.getVisibility()); in testSetViewVisibility()
194 assertEquals(View.VISIBLE, view.getVisibility()); in testSetViewVisibility()
458 assertEquals(View.GONE, result.findViewById(R.id.remoteView_frame).getVisibility()); in testWriteToParcel()
553 assertEquals(View.VISIBLE, view.getVisibility()); in testSetInt()
557 assertEquals(View.INVISIBLE, view.getVisibility()); in testSetInt()
561 assertEquals(View.GONE, view.getVisibility()); in testSetInt()
565 assertEquals(View.VISIBLE, view.getVisibility()); in testSetInt()
/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.java161 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped()
162 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped()
163 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped()
195 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped()
196 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped()
197 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped()
234 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsStripped()
235 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsStripped()
236 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsStripped()
266 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.java191 assertThat(node.getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
192 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
195 assertThat(node.getVisibility()).isEqualTo(View.GONE); in testVisibility()
196 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.GONE); in testVisibility()
199 assertThat(node.getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
200 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.VISIBLE); in testVisibility()
203 assertThat(node.getVisibility()).isEqualTo(View.INVISIBLE); in testVisibility()
204 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.INVISIBLE); in testVisibility()
207 assertThat(node.getVisibility()).isEqualTo(View.INVISIBLE | View.GONE); in testVisibility()
208 assertThat(cloneThroughParcel(node).getVisibility()).isEqualTo(View.INVISIBLE | View.GONE); in testVisibility()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
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/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java222 assertEquals(View.VISIBLE, greenSquare.getVisibility());
223 assertEquals(View.VISIBLE, hello.getVisibility());
255 assertEquals(View.VISIBLE, greenSquare.getVisibility());
256 assertEquals(View.VISIBLE, hello.getVisibility());
290 assertEquals(View.VISIBLE, greenSquare.getVisibility());
291 assertEquals(View.VISIBLE, hello.getVisibility());
324 assertEquals(View.VISIBLE, greenSquare.getVisibility());
325 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/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()
DFragmentTransitionTest.java562 assertEquals(View.GONE, fragment1.getView().getVisibility()); in showHideTransition()
563 assertEquals(View.VISIBLE, startGreen.getVisibility()); in showHideTransition()
564 assertEquals(View.VISIBLE, startBlue.getVisibility()); in showHideTransition()
581 assertEquals(View.VISIBLE, fragment1.getView().getVisibility()); in showHideTransition()
582 assertEquals(View.VISIBLE, startGreen.getVisibility()); in showHideTransition()
583 assertEquals(View.VISIBLE, startBlue.getVisibility()); in showHideTransition()
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationIncidentTest.java121 assertTrue("Record visibility is an invalid value: " + rp.getVisibility(), in verifyRecordProto()
122 rp.getVisibility() == VISIBILITY_NO_OVERRIDE || in verifyRecordProto()
123 (rp.getVisibility() >= VISIBILITY_SECRET && in verifyRecordProto()
124 rp.getVisibility() <= VISIBILITY_PUBLIC)); in verifyRecordProto()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java424 assertEquals(View.VISIBLE, mWarningTextView.getVisibility()); in testSetupListeners()
440 assertEquals(View.VISIBLE, v1.getVisibility()); in testSetVisibility()
441 assertEquals(View.INVISIBLE, v2.getVisibility()); in testSetVisibility()
442 assertEquals(View.GONE, v3.getVisibility()); in testSetVisibility()
445 assertEquals(View.GONE, v1.getVisibility()); in testSetVisibility()
448 assertEquals(View.VISIBLE, v2.getVisibility()); in testSetVisibility()
451 assertEquals(View.INVISIBLE, v3.getVisibility()); in testSetVisibility()
474 } else if (View.VISIBLE == mWarningTextView.getVisibility()) { in onClick()
DViewStubTest.java102 assertEquals(View.GONE, viewStub1.getVisibility()); in testSetVisibility()
109 assertEquals(View.VISIBLE, viewStub1.getVisibility()); in testSetVisibility()
126 assertEquals(View.INVISIBLE, viewStub2.getVisibility()); in testSetVisibility()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiMethod.java92 public String getVisibility() { return mVisibility; } in getVisibility() method in ApiMethod
DTextReport.java107 .append(method.getVisibility()).append(" "); in printMethod()
DXmlReport.java116 + "\" visibility=\"" + method.getVisibility() in printXmlReport()

12