Home
last modified time | relevance | path

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

12345

/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/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java96 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE); in initialize()
115 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle()
152 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable()
158 if (otherCompoundButton.getVisibility() != GONE) { in setCheckable()
159 otherCompoundButton.setVisibility(GONE); in setCheckable()
162 mCheckBox.setVisibility(GONE); in setCheckable()
163 mRadioButton.setVisibility(GONE); in setCheckable()
187 ? VISIBLE : GONE; in setShortcut()
219 mIconView.setVisibility(GONE); in setIcon()
DActionMenuItemView.java90 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE); in initialize()
137 mTextButton.setVisibility(visible ? VISIBLE : GONE); in updateTextButtonVisibility()
145 mImageButton.setVisibility(GONE); in setIcon()
152 return mTextButton.getVisibility() != GONE; in hasText()
/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/core/java/com/android/internal/widget/
DActionBarView.java330 mSplitView.setVisibility(splitActionBar ? VISIBLE : GONE); in setSplitActionBar()
496 mTitleLayout.setVisibility(visible ? VISIBLE : GONE); in setTitleImpl()
511 mSubtitleView.setVisibility(subtitle != null ? VISIBLE : GONE); in setSubtitle()
515 mTitleLayout.setVisibility(visible ? VISIBLE : GONE); in setSubtitle()
539 final int vis = showHome ? VISIBLE : GONE; in setDisplayOptions()
571 mTitleUpView.setVisibility(!showHome ? (homeAsUp ? VISIBLE : INVISIBLE) : GONE); in setDisplayOptions()
750 mTitleUpView.setVisibility(!showHome ? (homeAsUp ? VISIBLE : INVISIBLE) : GONE); in initTitle()
758 mTitleLayout.setVisibility(GONE); in initTitle()
781 if (child.getVisibility() != GONE && in onMeasure()
825 if (homeLayout.getVisibility() != GONE) { in onMeasure()
[all …]
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java135 mWifiGroup.setVisibility(View.GONE); in apply()
150 mMobileGroup.setVisibility(View.GONE); in apply()
156 mSpacer.setVisibility(View.GONE); in apply()
165 !mWifiVisible ? View.VISIBLE : View.GONE); in apply()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java338 mIconView.setVisibility(View.GONE); in setIcon()
393 buttonPanel.setVisibility(View.GONE); in setupView()
410 mWindow.findViewById(R.id.customPanel).setVisibility(View.GONE); in setupView()
445 titleTemplate.setVisibility(View.GONE); in setupTitle()
473 mIconView.setVisibility(View.GONE); in setupTitle()
479 titleTemplate.setVisibility(View.GONE); in setupTitle()
480 mIconView.setVisibility(View.GONE); in setupTitle()
481 topPanel.setVisibility(View.GONE); in setupTitle()
501 mMessageView.setVisibility(View.GONE); in setupContent()
510 contentPanel.setVisibility(View.GONE); in setupContent()
[all …]
/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/tablet/
DNotificationPanel.java136 setVisibility(show ? View.VISIBLE : View.GONE); in show()
229 mContentFrame.setVisibility(showing ? View.VISIBLE : View.GONE); in setContentFrameVisible()
254 mContentFrame.setVisibility(View.GONE); in setContentFrameVisible()
278 toHide.setVisibility(View.GONE); in swapPanels()
348 mSettingsView.setVisibility(View.GONE); in addSettingsView()
428 setVisibility(View.GONE); in onAnimationEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbStorageActivity.java157 mProgressBar.setVisibility(View.GONE); in switchDisplayAsync()
159 mMountButton.setVisibility(View.GONE); in switchDisplayAsync()
164 mProgressBar.setVisibility(View.GONE); in switchDisplayAsync()
165 mUnmountButton.setVisibility(View.GONE); in switchDisplayAsync()
259 mUnmountButton.setVisibility(View.GONE);
260 mMountButton.setVisibility(View.GONE);
/frameworks/base/core/java/android/widget/
DViewSwitcher.java112 v.setVisibility(View.GONE); in reset()
116 v.setVisibility(View.GONE); in reset()
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 …]
/frameworks/base/core/java/android/webkit/
DZoomControlExternal.java128 View.GONE); in ExtendedZoomControls()
132 mPlusMinusZoomControls.setVisibility(showZoom ? View.VISIBLE : View.GONE); in show()
137 fade(View.GONE, 1.0f, 0.0f); in hide()
/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()
DNavigationBarView.java162 lowLights.setVisibility(lightsOut ? View.VISIBLE : View.GONE); in setLowProfile()
170 if (lowLights.getVisibility() == View.GONE) { in setLowProfile()
182 lowLights.setVisibility(View.GONE); in setLowProfile()
221 mRotatedViews[i].setVisibility(View.GONE); in reorient()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusAfterRemoval.java45 left.setVisibility(View.GONE); in onCreate()
64 topRightButton.setVisibility(View.GONE); in onCreate()
DFocusAfterRemovalTest.java77 assertEquals(View.GONE, mLeftLayout.getVisibility()); in testFocusLeavesWhenParentLayoutIsGone()
109 assertEquals(View.GONE, mTopRightButton.getVisibility()); in testFocusLeavesWhenFocusedViewBecomesGone()
/frameworks/base/docs/html/resources/articles/
Dlayout-tricks-efficiency.jd140 {@link android.view.View#GONE}. This works perfectly with the <code>LinearLayout</code>
143 …n: center;"><img src="images/relativelayout_2.png" alt="RelativeLayout and description GONE"></div>
144 …nter;"><img src="images/relativelayout_wire_2.png" alt="RelativeLayout and description GONE"></div>
150 parent's top. With the description GONE, RelativeLayout doesn't know
158 view to the right of a GONE view and set <code>alignWithParentIfMissing</code>
164 …"><img src="images/relativelayout_3.png" alt="RelativeLayout, description GONE and alignWithParent…
165 …g src="images/relativelayout_wire_3.png" alt="RelativeLayout, description GONE and alignWithParent…
169 GONE. Even better, the hierarchy is simpler and because we are not
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java185 if (child.getVisibility() != GONE) { in onMeasure()
262 item.findViewById(com.android.internal.R.id.left_icon).setVisibility(View.GONE); in updateCrumbs()
281 child.setVisibility(i < numViews - mMaxVisible ? View.GONE : View.VISIBLE); in updateCrumbs()
285 : View.GONE); in updateCrumbs()
DListFragment.java356 mProgressContainer.setVisibility(View.GONE); in setListShown()
369 mListContainer.setVisibility(View.GONE); in setListShown()
396 mStandardEmptyView.setVisibility(View.GONE); in ensureList()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java100 pframe.setVisibility(View.GONE); in onCreateView()
298 mProgressContainer.setVisibility(View.GONE); in setListShown()
311 mListContainer.setVisibility(View.GONE); in setListShown()
337 mStandardEmptyView.setVisibility(View.GONE); in ensureList()
/frameworks/base/policy/tests/src/com/android/internal/policy/impl/
DLockPatternKeyguardViewTest.java245 assertEquals(View.GONE, unlockScreen.getVisibility()); in testWokenByNonMenuKey()
283 assertEquals(View.GONE, lockScreen.getVisibility()); in testWokenByMenuKeyWhenPatternSet()
332 assertEquals(View.GONE, unlockScreen.getVisibility()); in testMenuDoesntGoToUnlockScreenOnWakeWhenPukLocked()
348 assertEquals(View.GONE, unlockScreen.getVisibility()); in testMenuGoesToLockScreenWhenDeviceNotSecure()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java192 tv.setVisibility(View.GONE); in onCreate()
194 tv.setVisibility(View.GONE); in onCreate()
199 curPwDesc.setVisibility(View.GONE); in onCreate()
200 mCurPassword.setVisibility(View.GONE); in onCreate()

12345