/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListEmptyViewTest.java | 50 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/ |
D | ListMenuItemView.java | 96 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()
|
D | ActionMenuItemView.java | 90 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/ |
D | VisibilityCallbackTest.java | 92 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()
|
D | VisibilityTest.java | 94 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/ |
D | ActionBarView.java | 330 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 …]
|
D | ActionBarContainer.java | 181 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/ |
D | SignalClusterView.java | 135 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/ |
D | AlertController.java | 338 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/ |
D | NotificationRowLayout.java | 117 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/ |
D | NotificationPanel.java | 136 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/ |
D | UsbStorageActivity.java | 157 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/ |
D | ViewSwitcher.java | 112 v.setVisibility(View.GONE); in reset() 116 v.setVisibility(View.GONE); in reset()
|
D | LinearLayout.java | 307 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/ |
D | ZoomControlExternal.java | 128 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/ |
D | IconMerger.java | 70 if (child.getVisibility() != GONE) { in onLayout() 85 else if (child.getVisibility() != GONE) { in onLayout() 115 if (child.getVisibility() != GONE) { in onLayout()
|
D | NavigationBarView.java | 162 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/ |
D | FocusAfterRemoval.java | 45 left.setVisibility(View.GONE); in onCreate() 64 topRightButton.setVisibility(View.GONE); in onCreate()
|
D | FocusAfterRemovalTest.java | 77 assertEquals(View.GONE, mLeftLayout.getVisibility()); in testFocusLeavesWhenParentLayoutIsGone() 109 assertEquals(View.GONE, mTopRightButton.getVisibility()); in testFocusLeavesWhenFocusedViewBecomesGone()
|
/frameworks/base/docs/html/resources/articles/ |
D | layout-tricks-efficiency.jd | 140 {@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/ |
D | FragmentBreadCrumbs.java | 185 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()
|
D | ListFragment.java | 356 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/ |
D | ListFragment.java | 100 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/ |
D | LockPatternKeyguardViewTest.java | 245 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/ |
D | BackupRestoreConfirmation.java | 192 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()
|