Home
last modified time | relevance | path

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

1234567

/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/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()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DListMenuItemView.java119 if (mTitleView.getVisibility() != VISIBLE) mTitleView.setVisibility(VISIBLE); in setTitle()
121 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
157 if (compoundButton.getVisibility() != newVisibility) { in setCheckable()
162 if (otherCompoundButton != null && otherCompoundButton.getVisibility() != GONE) { in setCheckable()
201 if (mShortcutView.getVisibility() != newVisibility) { in setShortcut()
223 if (mIconView.getVisibility() != VISIBLE) { in setIcon()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java119 if (mTitleView.getVisibility() != VISIBLE) mTitleView.setVisibility(VISIBLE); in setTitle()
121 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
157 if (compoundButton.getVisibility() != newVisibility) { in setCheckable()
162 if (otherCompoundButton != null && otherCompoundButton.getVisibility() != GONE) { in setCheckable()
197 if (mShortcutView.getVisibility() != newVisibility) { in setShortcut()
219 if (mIconView.getVisibility() != VISIBLE) { in setIcon()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java241 return view == null || view.getVisibility() == GONE || view.getMeasuredHeight() == 0; in isCollapsed()
261 if (mTabContainer != null && mTabContainer.getVisibility() != GONE in onMeasure()
284 final boolean hasTabs = tabContainer != null && tabContainer.getVisibility() != GONE; in onLayout()
286 if (tabContainer != null && tabContainer.getVisibility() != GONE) { in onLayout()
302 if (mActionBarView.getVisibility() == View.VISIBLE) { in onLayout()
306 mContextView.getVisibility() == View.VISIBLE) { in onLayout()
DActionBarOverlayLayout.java126 if (mActionBarBottom != null && mActionBarBottom.getVisibility() != GONE) {
139 if (mActionBarBottom != null && mActionBarBottom.getVisibility() != GONE) {
412 } else if (mActionBarTop.getVisibility() != GONE) { in onMeasure()
488 if (child.getVisibility() != GONE) { in onLayout()
511 final int top = mActionBarTop.getVisibility() == VISIBLE ? in draw()
527 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) { in onStartNestedScroll()
625 if (mActionBarBottom != null && mActionBarBottom.getVisibility() != GONE) { in setActionBarHideOffset()
DAbsActionBarView.java130 return getVisibility(); in getAnimatedVisibility()
138 if (getVisibility() != VISIBLE) { in animateToVisibility()
217 return isOverflowReserved() && getVisibility() == VISIBLE; in canShowOverflowMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DIconMerger.java68 if (getChildAt(i).getVisibility() != GONE) visibleChildren++; in checkOverflow()
70 final boolean overflowShown = (mMoreView.getVisibility() == View.VISIBLE); in checkOverflow()
DKeyguardBouncer.java68 if (mRoot.getVisibility() == View.VISIBLE || mShowingSoon) { in show()
138 if (mKeyguardView != null && mRoot != null && mRoot.getVisibility() == View.VISIBLE) { in onScreenTurnedOff()
154 return mShowingSoon || (mRoot != null && mRoot.getVisibility() == View.VISIBLE); in isShowing()
DNotificationsQuickSettingsContainer.java65 boolean userSwitcherVisible = mInflated && mUserSwitcher.getVisibility() == View.VISIBLE; in drawChild()
66 boolean statusBarVisible = mKeyguardStatusBar.getVisibility() == View.VISIBLE; in drawChild()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java263 return view == null || view.getVisibility() == GONE || view.getMeasuredHeight() == 0; in isCollapsed()
282 if (mTabContainer != null && mTabContainer.getVisibility() != GONE) { in onMeasure()
307 final boolean hasTabs = tabContainer != null && tabContainer.getVisibility() != GONE; in onLayout()
309 if (tabContainer != null && tabContainer.getVisibility() != GONE) { in onLayout()
325 if (mActionBarView.getVisibility() == View.VISIBLE) { in onLayout()
329 mActionContextView.getVisibility() == View.VISIBLE) { in onLayout()
DAbsActionBarView.java136 return getVisibility(); in getAnimatedVisibility()
144 if (getVisibility() != VISIBLE) { in animateToVisibility()
184 if (visibility != getVisibility()) { in setVisibility()
233 return isOverflowReserved() && getVisibility() == VISIBLE; in canShowOverflowMenu()
DActionBarOverlayLayout.java126 if (mActionBarBottom != null && mActionBarBottom.getVisibility() != GONE) {
139 if (mActionBarBottom != null && mActionBarBottom.getVisibility() != GONE) {
407 } else if (mActionBarTop.getVisibility() != GONE) {
480 if (child.getVisibility() != GONE) {
503 final int top = mActionBarTop.getVisibility() == VISIBLE ?
518 if ((axes & SCROLL_AXIS_VERTICAL) == 0 || mActionBarTop.getVisibility() != VISIBLE) {
616 if (mActionBarBottom != null && mActionBarBottom.getVisibility() != GONE) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java295 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical()
323 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal()
568 if (getChildAt(i).getVisibility() != GONE) { in hasDividerBeforeChildAt()
620 if (child.getVisibility() == View.GONE) { in measureVertical()
740 if (child.getVisibility() == GONE) { in measureVertical()
778 if (child.getVisibility() == View.GONE) { in measureVertical()
852 if (child == null || child.getVisibility() == View.GONE) { in measureVertical()
894 if (child.getVisibility() != GONE) { in forceUniformWidth()
966 if (child.getVisibility() == GONE) { in measureHorizontal()
1120 if (child.getVisibility() == GONE) { in measureHorizontal()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSearchPanelView.java174 if (getVisibility() != View.VISIBLE) { in show()
254 return getVisibility() == View.VISIBLE && !mCircle.isAnimatingOut(); in isShowing()
281 if (getVisibility() == View.VISIBLE && !mDragging && in onTouchEvent()
319 if (mLaunching || getVisibility() != View.VISIBLE) { in startExitAnimation()
/frameworks/base/core/java/android/widget/
DLinearLayout.java349 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical()
377 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal()
634 if (getChildAt(i).getVisibility() != GONE) { in hasDividerBeforeChildAt()
686 if (child.getVisibility() == View.GONE) { in measureVertical()
805 if (child.getVisibility() == GONE) { in measureVertical()
843 if (child.getVisibility() == View.GONE) { in measureVertical()
916 if (child == null || child.getVisibility() == View.GONE) { in measureVertical()
958 if (child.getVisibility() != GONE) { in forceUniformWidth()
1030 if (child.getVisibility() == GONE) { in measureHorizontal()
1183 if (child.getVisibility() == GONE) { in measureHorizontal()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java68 viewState.gone = child.getVisibility() == View.GONE; in resetViewStates()
126 int oldVisibility = child.getVisibility(); in apply()
219 if (child.getVisibility() != View.GONE) {
DNotificationStackScrollLayout.java538 if (veto != null && veto.getVisibility() != View.GONE) { in onChildDismissed()
605 if (slidingChild.getVisibility() == GONE in getClosestChildAtRawPosition()
633 if (slidingChild.getVisibility() == GONE in getChildAtPosition()
700 return (veto != null && veto.getVisibility() != View.GONE); in canChildBeDismissed()
1255 if (child.getVisibility() != View.GONE) { in getFirstChildNotGone()
1270 if (child.getVisibility() != View.GONE && child.getTranslationY() >= translationY) { in getFirstChildBelowTranlsationY()
1284 if (child.getVisibility() != View.GONE) { in getLastChildNotGone()
1299 if (child.getVisibility() != View.GONE) { in getNotGoneChildCount()
1328 if (child.getVisibility() != View.GONE) { in updateContentHeight()
1624 if (child.getVisibility() != View.GONE) { in getPositionInLinearLayout()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseCardView.java354 if (mainView.getVisibility() != View.GONE) { in onMeasure()
371 if (infoView.getVisibility() != View.GONE) { in onMeasure()
383 if (extraView.getVisibility() != View.GONE) { in onMeasure()
411 if (mainView.getVisibility() != View.GONE) { in onLayout()
442 if (infoView.getVisibility() != View.GONE) { in onLayout()
462 if (extraView.getVisibility() != View.GONE) { in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java230 if (visibility == v.getVisibility()) return; in handleSetTileVisibility()
391 if (tileRecord.tileView.getVisibility() != GONE) { in setGridContentVisibility()
410 if (record.tileView.getVisibility() == GONE) continue; in onMeasure()
429 if (record.tileView.getVisibility() == GONE) continue; in onMeasure()
458 if (record.tileView.getVisibility() == GONE) continue; in onLayout()
492 if (record.tileView.getVisibility() == GONE) continue; in getColumnCount()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java227 if (mSummaryContent.getVisibility() != View.GONE) { in onMeasure()
275 if (mSummaryContent.getVisibility() != View.GONE) { in onLayout()
361 if (mMoreOptionsButton.getVisibility() != View.GONE) { in onDragProgress()
371 if (mMoreOptionsButton.getVisibility() != View.GONE) { in onDragProgress()
DPrintOptionsLayout.java80 if (child.getVisibility() == GONE) { in onMeasure()
145 if (child.getVisibility() == GONE) { in onLayout()

1234567