Home
last modified time | relevance | path

Searched refs:GONE (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/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()
69 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack()
80 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack()
95 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero()
104 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero()
111 mActivity.getListView().getVisibility() == View.GONE); in testZeroToManyToZero()
124 assertTrue("List still shown", mActivity.getListView().getVisibility() == View.GONE); in testZeroToManyToZero()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DListMenuItemView.java112 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE); in initialize()
134 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
171 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable()
177 if (otherCompoundButton != null && otherCompoundButton.getVisibility() != GONE) { in setCheckable()
178 otherCompoundButton.setVisibility(GONE); in setCheckable()
182 mCheckBox.setVisibility(GONE); in setCheckable()
185 mRadioButton.setVisibility(GONE); in setCheckable()
211 mSubMenuArrowView.setVisibility(hasSubmenu ? View.VISIBLE : View.GONE); in setSubMenuArrowVisible()
218 ? VISIBLE : GONE; in setShortcut()
251 mIconView.setVisibility(GONE); in setIcon()
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java109 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE); in initialize()
130 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
165 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable()
171 if (otherCompoundButton != null && otherCompoundButton.getVisibility() != GONE) { in setCheckable()
172 otherCompoundButton.setVisibility(GONE); in setCheckable()
175 if (mCheckBox != null) mCheckBox.setVisibility(GONE); in setCheckable()
176 if (mRadioButton != null) mRadioButton.setVisibility(GONE); in setCheckable()
200 mSubMenuArrowView.setVisibility(hasSubmenu ? View.VISIBLE : View.GONE); in setSubMenuArrowVisible()
206 ? VISIBLE : GONE; in setShortcut()
238 mIconView.setVisibility(GONE); in setIcon()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTwoWayBindingAdapterTest.java777 mBinder.calendarView.setVisibility(View.GONE); in makeVisible()
778 mBinder.listView.setVisibility(View.GONE); in makeVisible()
779 mBinder.checkBox.setVisibility(View.GONE); in makeVisible()
780 mBinder.numberPicker.setVisibility(View.GONE); in makeVisible()
781 mBinder.ratingBar.setVisibility(View.GONE); in makeVisible()
782 mBinder.seekBar.setVisibility(View.GONE); in makeVisible()
783 mBinder.tabhost.setVisibility(View.GONE); in makeVisible()
784 mBinder.textView.setVisibility(View.GONE); in makeVisible()
785 mBinder.timePicker.setVisibility(View.GONE); in makeVisible()
786 mBinder.datePicker.setVisibility(View.GONE); in makeVisible()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DProgressBarWrapper.java48 if (visibility == View.INVISIBLE || visibility == View.GONE) { in setVisibility()
57 mIndeterminate.setVisibility(isIndeterminate ? View.VISIBLE : View.GONE); in setVisibility()
58 mDeterminate.setVisibility(isIndeterminate ? View.GONE : View.VISIBLE); in setVisibility()
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java54 mMessageView.setVisibility(View.GONE); in setupContent()
92 contentPanel.setVisibility(View.GONE); in setupContent()
100 if (topPanel.getVisibility() == View.GONE) { in setupTitle()
108 if (buttonPanel.getVisibility() == View.GONE) { in setupButtons()
DAlertController.java388 mIconView.setVisibility(View.GONE); in setIcon()
407 mIconView.setVisibility(View.GONE); in setIcon()
516 && customPanel.getVisibility() != View.GONE; in setupView()
518 && topPanel.getVisibility() != View.GONE; in setupView()
520 && buttonPanel.getVisibility() != View.GONE; in setupView()
617 customPanel.setVisibility(View.GONE); in setupCustomContent()
631 titleTemplate.setVisibility(View.GONE); in setupTitle()
655 mIconView.setVisibility(View.GONE); in setupTitle()
660 titleTemplate.setVisibility(View.GONE); in setupTitle()
661 mIconView.setVisibility(View.GONE); in setupTitle()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DMediaNowPlayingView.java96 if (visibility == View.GONE) { in setVisibility()
129 mImage1.setVisibility(View.GONE); in stopAnimation()
130 mImage2.setVisibility(View.GONE); in stopAnimation()
131 mImage3.setVisibility(View.GONE); in stopAnimation()
DBaseCardView.java386 if (mainView.getVisibility() != View.GONE) { in onMeasure()
403 if (infoView.getVisibility() != View.GONE) { in onMeasure()
415 if (extraView.getVisibility() != View.GONE) { in onMeasure()
443 if (mainView.getVisibility() != View.GONE) { in onLayout()
474 if (infoView.getVisibility() != View.GONE) { in onLayout()
494 if (extraView.getVisibility() != View.GONE) { in onLayout()
583 child.setVisibility(infoVisible ? View.VISIBLE : View.GONE); in findChildrenViews()
586 child.setVisibility(extraVisible ? View.VISIBLE : View.GONE); in findChildrenViews()
638 mInfoViewList.get(i).setVisibility(View.GONE); in setInfoViewVisibility()
641 mExtraViewList.get(i).setVisibility(View.GONE); in setInfoViewVisibility()
[all …]
DTitleView.java198 mBadgeView.setVisibility(View.GONE); in updateComponentsVisibility()
199 mTextView.setVisibility(View.GONE); in updateComponentsVisibility()
214 mTextView.setVisibility(View.GONE); in updateBadgeVisibility()
216 mBadgeView.setVisibility(View.GONE); in updateBadgeVisibility()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityCallbackTest.java92 mVictim.setVisibility(View.GONE); in testDirect()
93 assertEquals(View.GONE, mVictim.getLastChangedVisibility()); in testDirect()
104 mParent.setVisibility(View.GONE); in testChild()
105 assertEquals(View.GONE, mVictim.getLastChangedVisibility()); in testChild()
DVisibilityTest.java94 assertEquals(View.GONE, mVictim.getVisibility()); in testVisibleToGone()
108 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToVisible()
128 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToInvisible()
174 assertEquals(View.GONE, mVictim.getVisibility()); in testInvisibleToGone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java464 mVpn.setVisibility(View.GONE); in apply()
479 mEthernetGroup.setVisibility(View.GONE); in apply()
497 mWifiGroup.setVisibility(View.GONE); in apply()
505 mWifiActivityIn.setVisibility(mWifiIn ? View.VISIBLE : View.GONE); in apply()
506 mWifiActivityOut.setVisibility(mWifiOut ? View.VISIBLE : View.GONE); in apply()
534 mAirplane.setVisibility(View.GONE); in apply()
540 mWifiAirplaneSpacer.setVisibility(View.GONE); in apply()
546 mWifiSignalSpacer.setVisibility(View.GONE); in apply()
571 mNoSimsCombo.setVisibility(View.GONE); in apply()
697 mMobileGroup.setVisibility(View.GONE); in apply()
[all …]
DNotificationHeaderUtil.java114 return parent.getVisibility() != View.GONE; in NotificationHeaderUtil()
192 && child.getVisibility() != View.GONE in sanitizeHeader()
202 ? View.VISIBLE : View.GONE; in sanitizeHeader()
217 } else if (right.getVisibility() != View.GONE && right instanceof TextView) { in sanitizeHeader()
223 child.setVisibility(visible ? View.VISIBLE : View.GONE); in sanitizeHeader()
224 } else if (child.getVisibility() != View.GONE && child instanceof TextView) { in sanitizeHeader()
371 view.setVisibility(apply ? View.GONE : View.VISIBLE); in apply()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java287 mProgressView.setVisibility(GONE); in initProgress()
295 mIndeterminateProgressView.setVisibility(GONE); in initIndeterminateProgress()
319 mSplitView.setVisibility(splitActionBar ? VISIBLE : GONE); in setSplitToolbar()
506 mTitleLayout.setVisibility(visible ? VISIBLE : GONE); in setTitleImpl()
522 mSubtitleView.setVisibility(subtitle != null ? VISIBLE : GONE); in setSubtitle()
526 mTitleLayout.setVisibility(visible ? VISIBLE : GONE); in setSubtitle()
636 VISIBLE : GONE; in setDisplayOptions()
837 mTitleLayout.setVisibility(GONE); in initTitle()
880 if (child.getVisibility() != GONE && in onMeasure()
890 if (child.getVisibility() != GONE) { in onMeasure()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java72 detail_header.getChildAt(0).setVisibility(View.GONE); in init()
108 setVisibility(View.GONE); in onClick()
137 mZenModePanel.setVisibility(zenOn ? View.VISIBLE : View.GONE); in updatePanel()
138 mButtons.setVisibility(zenOn ? View.VISIBLE : View.GONE); in updatePanel()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java356 mIconView.setVisibility(View.GONE); in setIcon()
375 mIconView.setVisibility(View.GONE); in setIcon()
480 && customPanel.getVisibility() != View.GONE; in setupView()
482 && topPanel.getVisibility() != View.GONE; in setupView()
484 && buttonPanel.getVisibility() != View.GONE; in setupView()
657 customPanel.setVisibility(View.GONE); in setupCustomContent()
671 titleTemplate.setVisibility(View.GONE); in setupTitle()
695 mIconView.setVisibility(View.GONE); in setupTitle()
700 titleTemplate.setVisibility(View.GONE); in setupTitle()
701 mIconView.setVisibility(View.GONE); in setupTitle()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java81 mItemList.setVisibility(GONE); in onFinishInflate()
84 mEmpty.setVisibility(GONE); in onFinishInflate()
148 mEmpty.setVisibility(itemCount == 0 ? VISIBLE : GONE); in handleSetItems()
149 mItemList.setVisibility(itemCount == 0 ? GONE : VISIBLE); in handleSetItems()
203 summary.setVisibility(twoLines ? VISIBLE : GONE); in getView()
232 icon2.setVisibility(GONE); in getView()
DQSSecurityFooter.java113 return mRootView.getVisibility() != View.GONE; in hasFooter()
267 dialogView.findViewById(R.id.device_management_disclosures).setVisibility(View.GONE); in createDialog()
280 dialogView.findViewById(R.id.ca_certs_disclosures).setVisibility(View.GONE); in createDialog()
292 dialogView.findViewById(R.id.network_logging_disclosures).setVisibility(View.GONE); in createDialog()
304 dialogView.findViewById(R.id.vpn_disclosures).setVisibility(View.GONE); in createDialog()
344 dialogView.findViewById(R.id.ca_certs_subtitle).setVisibility(View.GONE); in configSubtitleVisibility()
347 dialogView.findViewById(R.id.network_logging_subtitle).setVisibility(View.GONE); in configSubtitleVisibility()
350 dialogView.findViewById(R.id.vpn_subtitle).setVisibility(View.GONE); in configSubtitleVisibility()
444 mRootView.setVisibility(mIsVisible ? View.VISIBLE : View.GONE);
445 if (mDivider != null) mDivider.setVisibility(mIsVisible ? View.GONE : View.VISIBLE);
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java150 viewHolder.topDivider.setVisibility(position == 0 ? View.VISIBLE : View.GONE); in bindView()
188 setViewVisibility(viewHolder.permissionViewGroup, View.GONE); in bindView()
189 setViewVisibility(viewHolder.permissionBottomDivider, View.GONE); in bindView()
191 setViewVisibility(viewHolder.personViewGroup, View.GONE); in bindView()
234 view.setVisibility(View.GONE); in bindTextToView()
276 view.setVisibility(View.GONE); in bindIconToView()
286 view.setVisibility(View.GONE); in bindDrawableToDeleteView()
321 view.setVisibility(View.GONE); in bindIndicatorToView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java67 setVisibility(GONE); in EmergencyCryptkeeperText()
97 setVisibility(GONE); in update()
139 setVisibility(TextUtils.isEmpty(displayText) ? GONE : VISIBLE); in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataUsageDetailView.java113 infoTop.setVisibility(top != null ? View.VISIBLE : View.GONE); in bind()
116 infoBottom.setVisibility(bottom != null ? View.VISIBLE : View.GONE); in bind()
119 graph.setVisibility(showLevel ? View.VISIBLE : View.GONE); in bind()
121 infoTop.setVisibility(View.GONE); in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DConnectedDeviceSignalController.java127 mNetworkSignalView.setVisibility(View.GONE); in onBluetoothStateChange()
128 mSignalsView.setVisibility(View.GONE); in onBluetoothStateChange()
235 mNetworkSignalView.setVisibility(View.GONE); in updateViewVisibility()
236 mSignalsView.setVisibility(View.GONE); in updateViewVisibility()
/frameworks/support/core-ui/java/android/support/v4/widget/
DContentLoadingProgressBar.java48 setVisibility(View.GONE);
102 setVisibility(View.GONE); in hide()
/frameworks/base/core/java/android/widget/
DViewSwitcher.java117 v.setVisibility(View.GONE); in reset()
121 v.setVisibility(View.GONE); in reset()

12345678910>>...15