Home
last modified time | relevance | path

Searched refs:getVisibility (Results 1 – 25 of 100) 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/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java89 mLargeView.getVisibility()); in testOpenLarge()
92 mSmallView.getVisibility()); in testOpenLarge()
106 mSmallView.getVisibility()); in testOpenSmall()
109 mLargeView.getVisibility()); in testOpenSmall()
123 mSmallView.getVisibility()); in testOpenTooSmall()
126 mLargeView.getVisibility()); in testOpenTooSmall()
142 mLargeView.getVisibility()); in testOpenTooBig()
145 mSmallView.getVisibility()); in testOpenTooBig()
175 mSmallView.getVisibility()); in testOpenOneUOnlySmall()
191 mSmallView.getVisibility()); in testOpenOneUOnlyLarge()
[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()
/frameworks/base/policy/tests/src/com/android/internal/policy/impl/
DLockPatternKeyguardViewTest.java245 assertEquals(View.VISIBLE, lockScreen.getVisibility()); in testWokenByNonMenuKey()
246 assertEquals(View.GONE, unlockScreen.getVisibility()); in testWokenByNonMenuKey()
284 assertEquals(View.GONE, lockScreen.getVisibility()); in testWokenByMenuKeyWhenPatternSet()
285 assertEquals(View.VISIBLE, unlockScreen.getVisibility()); in testWokenByMenuKeyWhenPatternSet()
332 assertEquals(View.VISIBLE, lockScreen.getVisibility()); in testMenuDoesntGoToUnlockScreenOnWakeWhenPukLocked()
333 assertEquals(View.GONE, unlockScreen.getVisibility()); in testMenuDoesntGoToUnlockScreenOnWakeWhenPukLocked()
348 assertEquals(View.VISIBLE, lockScreen.getVisibility()); in testMenuGoesToLockScreenWhenDeviceNotSecure()
349 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.java114 if (mTitleView.getVisibility() != VISIBLE) mTitleView.setVisibility(VISIBLE); in setTitle()
116 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
152 if (compoundButton.getVisibility() != newVisibility) { in setCheckable()
157 if (otherCompoundButton != null && otherCompoundButton.getVisibility() != GONE) { in setCheckable()
192 if (mShortcutView.getVisibility() != newVisibility) { in setShortcut()
214 if (mIconView.getVisibility() != VISIBLE) { in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java292 if (lowLights.getVisibility() == View.GONE) { in setLowProfile()
436 + " " + visibilityToString(getVisibility()))); in dump()
449 visibilityToString(mCurrentView.getVisibility()))); in dump()
465 + " " + visibilityToString(back.getVisibility()) in dump()
469 + " " + visibilityToString(home.getVisibility()) in dump()
473 + " " + visibilityToString(recent.getVisibility()) in dump()
477 + " " + visibilityToString(menu.getVisibility()) in dump()
DIconMerger.java73 if (getChildAt(i).getVisibility() != GONE) visibleChildren++; in checkOverflow()
75 final boolean overflowShown = (mMoreView.getVisibility() == View.VISIBLE); in checkOverflow()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java177 if (stable || mActionBarTop.getVisibility() == VISIBLE) { in fitSystemWindows()
184 if (stable || (tabs != null && tabs.getVisibility() == VISIBLE)) { in fitSystemWindows()
192 && mActionBarBottom.getVisibility() == VISIBLE)) { in fitSystemWindows()
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()
DAbsActionBarView.java116 return getVisibility(); in getAnimatedVisibility()
124 if (getVisibility() != VISIBLE) { in animateToVisibility()
164 if (visibility != getVisibility()) { in setVisibility()
DActionBarView.java821 if (child.getVisibility() != GONE && in onMeasure()
865 if (homeLayout.getVisibility() != GONE) { in onMeasure()
887 mIndeterminateProgressView.getVisibility() != GONE) { in onMeasure()
894 final boolean showTitle = mTitleLayout != null && mTitleLayout.getVisibility() != GONE && in onMeasure()
1004 if (mProgressView != null && mProgressView.getVisibility() != GONE) { in onMeasure()
1026 if (homeLayout.getVisibility() != GONE) { in onLayout()
1034 … final boolean showTitle = mTitleLayout != null && mTitleLayout.getVisibility() != GONE && in onLayout()
1067 mIndeterminateProgressView.getVisibility() != GONE) { in onLayout()
1294 return mUpView.getVisibility() == GONE ? mUpWidth : 0; in getLeftOffset()
1302 int width = mUpView.getVisibility() == GONE ? 0 : mUpWidth; in onMeasure()
[all …]
/frameworks/base/core/java/android/widget/
DLinearLayout.java324 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical()
351 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal()
595 if (getChildAt(i).getVisibility() != GONE) { in hasDividerBeforeChildAt()
646 if (child.getVisibility() == View.GONE) { in measureVertical()
764 if (child.getVisibility() == GONE) { in measureVertical()
801 if (child.getVisibility() == View.GONE) { in measureVertical()
874 if (child == null || child.getVisibility() == View.GONE) { in measureVertical()
916 if (child.getVisibility() != GONE) { in forceUniformWidth()
987 if (child.getVisibility() == GONE) { in measureHorizontal()
1138 if (child.getVisibility() == GONE) { in measureHorizontal()
[all …]
DAbsoluteLayout.java68 if (child.getVisibility() != GONE) { in onMeasure()
113 if (child.getVisibility() != GONE) { in onLayout()
DRelativeLayout.java395 if (child.getVisibility() != GONE) { in onMeasure()
411 if (child.getVisibility() != GONE) { in onMeasure()
443 if (child.getVisibility() != GONE) { in onMeasure()
475 if (child.getVisibility() != GONE) { in onMeasure()
505 if (child.getVisibility() != GONE) { in onMeasure()
535 if (child.getVisibility() != GONE && child != ignore) { in onMeasure()
889 while (v.getVisibility() == View.GONE) { in getRelatedView()
945 if (child.getVisibility() != GONE) { in onLayout()
992 if (view.getVisibility() == View.VISIBLE in dispatchPopulateAccessibilityEvent()
DSpace.java35 if (getVisibility() == VISIBLE) { in Space()
DTabWidget.java185 if (child.getVisibility() == GONE) continue; in measureHorizontal()
195 if (child.getVisibility() == GONE) continue; in measureHorizontal()
407 if (tabView != null && tabView.getVisibility() == VISIBLE) { in dispatchPopulateAccessibilityEvent()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewManager.java232 if (mKeyguardHost.getVisibility() == View.VISIBLE) { in onScreenTurnedOn()
237 if (mKeyguardHost.getVisibility() == View.VISIBLE) { in onScreenTurnedOn()
309 return (mKeyguardHost != null && mKeyguardHost.getVisibility() == View.VISIBLE); in isShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNotificationRowLayout.java153 return (veto != null && veto.getVisibility() != View.GONE); in canChildBeDismissed()
166 if (veto != null && veto.getVisibility() != View.GONE && mRemoveViews) { in onChildDismissed()
198 if (slidingChild.getVisibility() == GONE) { in getChildAtPosition()
/frameworks/base/core/java/android/inputmethodservice/
DExtractButton.java44 return isEnabled() && getVisibility() == VISIBLE ? true : false; in hasWindowFocus()
/frameworks/compile/linkloader/include/impl/
DELFSymbol.hxx99 PRINT_LINT("Visibility", getVisibilityStr(getVisibility()) ); in print()
113 setw(15) << getVisibilityStr(getVisibility()) << in print()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DSpace.java35 if (getVisibility() == VISIBLE) { in Space()
/frameworks/base/core/java/android/webkit/
DViewManager.java205 if (sView.getVisibility() == View.VISIBLE) { in requestLayout()
287 if (v.mView.getVisibility() == View.VISIBLE) { in hitTest()

1234