Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListEmptyViewTest.java50 assertTrue("Empty view not shown", mListView.getVisibility() == View.GONE); in testPreconditions()
59 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOne()
60 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToOne()
69 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack()
70 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToOneForwardBack()
80 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack()
81 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToOneForwardBack()
95 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero()
96 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToManyToZero()
104 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java79 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testVisibleToInvisible()
94 assertEquals(View.GONE, mVictim.getVisibility()); in testVisibleToGone()
108 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToVisible()
114 assertEquals(View.VISIBLE, mVictim.getVisibility()); in testGoneToVisible()
128 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToInvisible()
134 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testGoneToInvisible()
148 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testInvisibleToVisible()
154 assertEquals(View.VISIBLE, mVictim.getVisibility()); in testInvisibleToVisible()
168 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testInvisibleToGone()
174 assertEquals(View.GONE, mVictim.getVisibility()); in testInvisibleToGone()
DVisibilityCallbackTest.java77 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testSetUpConditions()
78 assertEquals(View.VISIBLE, mParent.getVisibility()); in testSetUpConditions()
DIncludeTest.java66 … assertEquals("Included button should be invisible", View.INVISIBLE, button1.getVisibility()); in testIncludedWithVisibility()
/frameworks/base/policy/tests/src/com/android/internal/policy/impl/
DLockPatternKeyguardViewTest.java244 assertEquals(View.VISIBLE, lockScreen.getVisibility()); in testWokenByNonMenuKey()
245 assertEquals(View.GONE, unlockScreen.getVisibility()); in testWokenByNonMenuKey()
283 assertEquals(View.GONE, lockScreen.getVisibility()); in testWokenByMenuKeyWhenPatternSet()
284 assertEquals(View.VISIBLE, unlockScreen.getVisibility()); in testWokenByMenuKeyWhenPatternSet()
331 assertEquals(View.VISIBLE, lockScreen.getVisibility()); in testMenuDoesntGoToUnlockScreenOnWakeWhenPukLocked()
332 assertEquals(View.GONE, unlockScreen.getVisibility()); in testMenuDoesntGoToUnlockScreenOnWakeWhenPukLocked()
347 assertEquals(View.VISIBLE, lockScreen.getVisibility()); in testMenuGoesToLockScreenWhenDeviceNotSecure()
348 assertEquals(View.GONE, unlockScreen.getVisibility()); in testMenuGoesToLockScreenWhenDeviceNotSecure()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusAfterRemovalTest.java77 assertEquals(View.GONE, mLeftLayout.getVisibility()); in testFocusLeavesWhenParentLayoutIsGone()
94 getActivity().findViewById(R.id.leftLayout).getVisibility()); in testFocusLeavesWhenParentLayoutInvisible()
109 assertEquals(View.GONE, mTopRightButton.getVisibility()); in testFocusLeavesWhenFocusedViewBecomesGone()
125 assertEquals(View.INVISIBLE, mBottomRightButton.getVisibility()); in testFocusLeavesWhenFocusedViewBecomesInvisible()
DGoneParentFocusedChildTest.java46 getActivity().getGoneGroup().getVisibility()); in testPreconditinos()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java113 if (mTitleView.getVisibility() != VISIBLE) mTitleView.setVisibility(VISIBLE); in setTitle()
115 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
153 if (compoundButton.getVisibility() != newVisibility) { in setCheckable()
158 if (otherCompoundButton.getVisibility() != GONE) { in setCheckable()
193 if (mShortcutView.getVisibility() != newVisibility) { in setShortcut()
215 if (mIconView.getVisibility() != VISIBLE) { in setIcon()
DActionMenuView.java139 if (child.getVisibility() == GONE) continue; in onMeasureExactFormat()
376 if (v.getVisibility() == GONE) { in onLayout()
426 if (v.getVisibility() == GONE || lp.isOverflowButton) { in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNotificationRowLayout.java117 return (veto != null && veto.getVisibility() != View.GONE); in canChildBeDismissed()
122 if (veto != null && veto.getVisibility() != View.GONE && mRemoveViews) { in onChildDismissed()
145 if (slidingChild.getVisibility() == GONE) { in getChildAtPosition()
288 if (child.getVisibility() == GONE) { in onMeasure()
323 if (child.getVisibility() == GONE) { in onMeasure()
346 if (child.getVisibility() == GONE) { in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DIconMerger.java70 if (child.getVisibility() != GONE) { in onLayout()
85 else if (child.getVisibility() != GONE) { in onLayout()
115 if (child.getVisibility() != GONE) { in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java181 if (mTabContainer != null && mTabContainer.getVisibility() != GONE) { in onMeasure()
196 final boolean hasTabs = mTabContainer != null && mTabContainer.getVisibility() != GONE; in onLayout()
198 if (mTabContainer != null && mTabContainer.getVisibility() != GONE) { in onLayout()
DActionBarView.java781 if (child.getVisibility() != GONE && in onMeasure()
825 if (homeLayout.getVisibility() != GONE) { in onMeasure()
847 mIndeterminateProgressView.getVisibility() != GONE) { in onMeasure()
854 final boolean showTitle = mTitleLayout != null && mTitleLayout.getVisibility() != GONE && in onMeasure()
964 if (mProgressView != null && mProgressView.getVisibility() != GONE) { in onMeasure()
983 if (homeLayout.getVisibility() != GONE) { in onLayout()
989 … final boolean showTitle = mTitleLayout != null && mTitleLayout.getVisibility() != GONE && in onLayout()
1020 mIndeterminateProgressView.getVisibility() != GONE) { in onLayout()
1238 return mUpView.getVisibility() == GONE ? mUpWidth : 0; in getLeftOffset()
1246 int width = mUpView.getVisibility() == GONE ? 0 : mUpWidth; in onMeasure()
[all …]
DAbsActionBarView.java116 return getVisibility(); in getAnimatedVisibility()
124 if (getVisibility() != VISIBLE) { in animateToVisibility()
/frameworks/base/core/java/android/widget/
DLinearLayout.java307 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical()
334 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal()
574 if (getChildAt(i).getVisibility() != GONE) { in hasDividerBeforeChildAt()
625 if (child.getVisibility() == View.GONE) { in measureVertical()
743 if (child.getVisibility() == GONE) { in measureVertical()
780 if (child.getVisibility() == View.GONE) { in measureVertical()
853 if (child == null || child.getVisibility() == View.GONE) { in measureVertical()
895 if (child.getVisibility() != GONE) { in forceUniformWidth()
966 if (child.getVisibility() == GONE) { in measureHorizontal()
1117 if (child.getVisibility() == GONE) { in measureHorizontal()
[all …]
DAbsoluteLayout.java68 if (child.getVisibility() != GONE) { in onMeasure()
113 if (child.getVisibility() != GONE) { in onLayout()
DTabWidget.java187 if (child.getVisibility() == GONE) continue; in measureHorizontal()
197 if (child.getVisibility() == GONE) continue; in measureHorizontal()
409 if (tabView != null && tabView.getVisibility() == VISIBLE) { in dispatchPopulateAccessibilityEvent()
DSpace.java35 if (getVisibility() == VISIBLE) { in Space()
DRelativeLayout.java372 if (child.getVisibility() != GONE) { in onMeasure()
388 if (child.getVisibility() != GONE) { in onMeasure()
420 if (child.getVisibility() != GONE) { in onMeasure()
452 if (child.getVisibility() != GONE) { in onMeasure()
482 if (child.getVisibility() != GONE) { in onMeasure()
512 if (child.getVisibility() != GONE && child != ignore) { in onMeasure()
866 while (v.getVisibility() == View.GONE) { in getRelatedView()
922 if (child.getVisibility() != GONE) { in onLayout()
969 if (view.getVisibility() == View.VISIBLE in dispatchPopulateAccessibilityEvent()
DDialerFilter.java299 if (mLetters.getVisibility() == View.VISIBLE) { in getLetters()
307 if (mDigits.getVisibility() == View.VISIBLE) { in getDigits()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewManager.java230 if (mKeyguardHost.getVisibility() == View.VISIBLE) { in onScreenTurnedOn()
235 if (mKeyguardHost.getVisibility() == View.VISIBLE) { in onScreenTurnedOn()
307 return (mKeyguardHost != null && mKeyguardHost.getVisibility() == View.VISIBLE); in isShowing()
/frameworks/base/core/java/android/inputmethodservice/
DExtractButton.java44 return isEnabled() && getVisibility() == VISIBLE ? true : false; in hasWindowFocus()
/frameworks/compile/linkloader/include/impl/
DELFSymbol.hxx104 PRINT_LINT("Visibility", getVisibilityStr(getVisibility()) ); in print()
118 setw(15) << getVisibilityStr(getVisibility()) << in print()
/frameworks/base/core/java/android/webkit/
DViewManager.java205 if (sView.getVisibility() == View.VISIBLE) { in requestLayout()
287 if (v.mView.getVisibility() == View.VISIBLE) { in hitTest()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java798 if (child.getVisibility() != GONE) {
858 if (child.getVisibility() != GONE) {
911 if (child.getVisibility() != GONE && (ii=infoForChild(child)) != null) {
1473 if (child.getVisibility() != GONE) { in setScrollingCacheEnabled()
1618 if (child.getVisibility() == VISIBLE) { in addFocusables()
1660 if (child.getVisibility() == VISIBLE) { in addTouchables()
1690 if (child.getVisibility() == VISIBLE) { in onRequestFocusInDescendants()
1712 if (child.getVisibility() == VISIBLE) { in dispatchPopulateAccessibilityEvent()

1234