/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarWifiView.java | 125 mDotView.setVisibility(View.GONE); in setVisibleState() 128 mWifiGroup.setVisibility(View.GONE); in setVisibleState() 133 mWifiGroup.setVisibility(View.GONE); in setVisibleState() 134 mDotView.setVisibility(View.GONE); in setVisibleState() 181 requestLayout = getVisibility() != View.GONE; in applyWifiState() 182 setVisibility(View.GONE); in applyWifiState() 203 mIn.setVisibility(state.activityIn ? View.VISIBLE : View.GONE); in updateState() 204 mOut.setVisibility(state.activityOut ? View.VISIBLE : View.GONE); in updateState() 206 (state.activityIn || state.activityOut) ? View.VISIBLE : View.GONE); in updateState() 207 mAirplaneSpacer.setVisibility(state.airplaneSpacerVisible ? View.VISIBLE : View.GONE); in updateState() [all …]
|
D | StatusBarMobileView.java | 132 requestLayout = getVisibility() != View.GONE; in applyMobileState() 133 setVisibility(View.GONE); in applyMobileState() 151 mMobileGroup.setVisibility(View.GONE); in initViewState() 161 mMobileType.setVisibility(View.GONE); in initViewState() 164 mMobileRoaming.setVisibility(mState.roaming ? View.VISIBLE : View.GONE); in initViewState() 165 mMobileRoamingSpace.setVisibility(mState.roaming ? View.VISIBLE : View.GONE); in initViewState() 166 mIn.setVisibility(mState.activityIn ? View.VISIBLE : View.GONE); in initViewState() 167 mOut.setVisibility(mState.activityOut ? View.VISIBLE : View.GONE); in initViewState() 169 ? View.VISIBLE : View.GONE); in initViewState() 177 mMobileGroup.setVisibility(state.visible ? View.VISIBLE : View.GONE); in updateState() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListEmptyViewTest.java | 51 assertTrue("Empty view not shown", mListView.getVisibility() == View.GONE); in testPreconditions() 60 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOne() 70 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack() 81 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack() 96 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero() 105 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero() 112 mActivity.getListView().getVisibility() == View.GONE); in testZeroToManyToZero() 125 assertTrue("List still shown", mActivity.getListView().getVisibility() == View.GONE); in testZeroToManyToZero()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | CrossFadeDarkController.java | 47 mFadeInView.setVisibility(View.GONE); in setDarkAmount() 49 if (mFadeInView.getVisibility() == View.GONE) { in setDarkAmount() 55 mFadeOutView.setVisibility(View.GONE); in setDarkAmount() 57 if (mFadeOutView.getVisibility() == View.GONE) { in setDarkAmount()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionButtonsPreferenceTest.java | 99 .isEqualTo(View.GONE); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault() 101 .isEqualTo(View.GONE); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault() 103 .isEqualTo(View.GONE); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault() 105 .isEqualTo(View.GONE); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault() 118 .isEqualTo(View.GONE); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 120 .isEqualTo(View.GONE); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 122 .isEqualTo(View.GONE); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 124 .isEqualTo(View.GONE); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton() 137 .isEqualTo(View.GONE); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton() 139 .isEqualTo(View.GONE); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ListMenuItemView.java | 126 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE); in initialize() 159 if (mTitleView.getVisibility() != GONE) mTitleView.setVisibility(GONE); in setTitle() 194 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable() 200 if (otherCompoundButton != null && otherCompoundButton.getVisibility() != GONE) { in setCheckable() 201 otherCompoundButton.setVisibility(GONE); in setCheckable() 204 if (mCheckBox != null) mCheckBox.setVisibility(GONE); in setCheckable() 205 if (mRadioButton != null) mRadioButton.setVisibility(GONE); in setCheckable() 229 mSubMenuArrowView.setVisibility(hasSubmenu ? View.VISIBLE : View.GONE); in setSubMenuArrowVisible() 235 ? VISIBLE : GONE; in setShortcut() 267 mIconView.setVisibility(GONE); in setIcon() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfo.java | 334 findViewById(R.id.inline_controls).setVisibility(GONE); in bindBlockingHelper() 341 turnOffButton.setVisibility(turnOffButton.hasOnClickListeners() ? VISIBLE : GONE); in bindBlockingHelper() 352 findViewById(R.id.blocking_helper).setVisibility(GONE); in bindInlineControls() 356 findViewById(R.id.non_configurable_multichannel_text).setVisibility(GONE); in bindInlineControls() 357 findViewById(R.id.interruptiveness_settings).setVisibility(GONE); in bindInlineControls() 359 findViewById(R.id.turn_off_notifications).setVisibility(GONE); in bindInlineControls() 361 findViewById(R.id.non_configurable_text).setVisibility(GONE); in bindInlineControls() 362 findViewById(R.id.interruptiveness_settings).setVisibility(GONE); in bindInlineControls() 365 findViewById(R.id.non_configurable_text).setVisibility(GONE); in bindInlineControls() 366 findViewById(R.id.non_configurable_multichannel_text).setVisibility(GONE); in bindInlineControls() [all …]
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | TemperatureBackgroundAnimator.java | 62 @IntDef({CircleState.GONE, CircleState.ENTERING, CircleState.OVERSHOT, CircleState.RESTING, 65 int GONE = 0; field 130 return mCircleState != CircleState.GONE; in isOpen() 145 case CircleState.GONE: { in animateOpen() 232 mCircleState = CircleState.GONE; in animateOpen() 233 mAnimatedView.setVisibility(View.GONE); in animateOpen() 263 if (!mAnimationsReady || mCircleState == CircleState.GONE in hideCircle() 274 case CircleState.GONE: in hideCircle() 319 mCircleState = CircleState.GONE; in hideCircle() 320 mAnimatedView.setVisibility(View.GONE); in hideCircle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 19 import static android.view.View.GONE; 98 verify(mClockView).setVisibility(GONE); in onPluginConnected_showPluginClock() 105 mBigClockContainer.setVisibility(GONE); in onPluginConnected_showPluginBigClock() 124 verify(mClockView, never()).setVisibility(GONE); in onPluginConnected_nullView() 158 mClockView.setVisibility(GONE); in onPluginDisconnected_showDefaultClock() 184 assertThat(bigClockContainer.getVisibility()).isEqualTo(GONE); in onPluginDisconnected_hidePluginBigClock() 193 verify(mClockView, never()).setVisibility(GONE); in onPluginDisconnected_nullView() 278 assertThat(mBigClockContainer.getVisibility()).isEqualTo(View.GONE); in onStateChanged_GoneInShade() 284 mBigClockContainer.setVisibility(View.GONE); in onStateChanged_VisibleInKeyguard() 315 mBigClockContainer.setVisibility(View.GONE); in setBigClockContainer_gone()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgressFragment.java | 52 mDeviceManagerButton.setVisibility(View.GONE); in onCreateView() 64 mUsersButton.setVisibility(View.GONE); in onCreateView() 92 mUsersButton.setVisibility(visible ? View.VISIBLE : View.GONE); in setUsersButtonVisible() 97 mDeviceManagerButton.setVisibility(visible ? View.VISIBLE : View.GONE); in setDeviceManagerButtonVisible() 103 root.findViewById(R.id.progress_view).setVisibility(View.GONE); in showCompletion()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | ProgressBarWrapper.java | 48 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/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/ |
D | AppEntitiesHeaderController.java | 240 TextUtils.isEmpty(titleText) ? View.GONE : View.VISIBLE); in bindHeaderTitleView() 254 TextUtils.isEmpty(detailsText) ? View.GONE : View.VISIBLE); in bindHeaderDetailsView() 260 mAppEntityViews[index].setVisibility(appEntityInfo != null ? View.VISIBLE : View.GONE); in bindAppEntityView() 283 mHeaderEmptyView.setVisibility(visible ? View.VISIBLE : View.GONE); in setEmptyViewVisible() 284 mHeaderDetailsView.setVisibility(visible ? View.GONE : View.VISIBLE); in setEmptyViewVisible() 285 mAppViewsContainer.setVisibility(visible ? View.GONE : View.VISIBLE); in setEmptyViewVisible()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MicroAlertController.java | 54 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()
|
D | AlertController.java | 420 mIconView.setVisibility(View.GONE); in setIcon() 440 mIconView.setVisibility(View.GONE); in setIcon() 553 && customPanel.getVisibility() != View.GONE; in setupView() 555 && topPanel.getVisibility() != View.GONE; in setupView() 557 && buttonPanel.getVisibility() != View.GONE; in setupView() 654 customPanel.setVisibility(View.GONE); in setupCustomContent() 668 titleTemplate.setVisibility(View.GONE); in setupTitle() 692 mIconView.setVisibility(View.GONE); in setupTitle() 697 titleTemplate.setVisibility(View.GONE); in setupTitle() 698 mIconView.setVisibility(View.GONE); in setupTitle() [all …]
|
/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 | 92 assertEquals(View.GONE, mVictim.getVisibility()); in testVisibleToGone() 106 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToVisible() 126 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToInvisible() 172 assertEquals(View.GONE, mVictim.getVisibility()); in testInvisibleToGone()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickQSPanel.java | 168 setVisibility(disabled ? View.GONE : View.VISIBLE); in setDisabledByPolicy() 181 if (getVisibility() == View.GONE) { in setVisibility() 184 visibility = View.GONE; in setVisibility() 234 mRecords.get(i).tileView.setVisibility( i < mColumns ? View.VISIBLE : View.GONE); in onLayout() 278 if (record.tileView.getVisibility() == GONE) continue; in setAccessibilityOrder() 290 if (record.tileView.getVisibility() == GONE) continue; in onMeasure()
|
D | QSDetailItems.java | 82 mItemList.setVisibility(GONE); in onFinishInflate() 85 mEmpty.setVisibility(GONE); in onFinishInflate() 149 mEmpty.setVisibility(itemCount == 0 ? VISIBLE : GONE); in handleSetItems() 150 mItemList.setVisibility(itemCount == 0 ? GONE : VISIBLE); in handleSetItems() 204 summary.setVisibility(twoLines ? VISIBLE : GONE); in getView() 233 icon2.setVisibility(GONE); in getView()
|
D | QSSecurityFooter.java | 114 return mRootView.getVisibility() != View.GONE; in hasFooter() 276 dialogView.findViewById(R.id.device_management_disclosures).setVisibility(View.GONE); in createDialog() 289 dialogView.findViewById(R.id.ca_certs_disclosures).setVisibility(View.GONE); in createDialog() 301 dialogView.findViewById(R.id.network_logging_disclosures).setVisibility(View.GONE); in createDialog() 313 dialogView.findViewById(R.id.vpn_disclosures).setVisibility(View.GONE); in createDialog() 353 dialogView.findViewById(R.id.ca_certs_subtitle).setVisibility(View.GONE); in configSubtitleVisibility() 356 dialogView.findViewById(R.id.network_logging_subtitle).setVisibility(View.GONE); in configSubtitleVisibility() 359 dialogView.findViewById(R.id.vpn_subtitle).setVisibility(View.GONE); in configSubtitleVisibility() 453 mRootView.setVisibility(mIsVisible ? View.VISIBLE : View.GONE); 454 if (mDivider != null) mDivider.setVisibility(mIsVisible ? View.GONE : View.VISIBLE);
|
D | QSCarrierGroup.java | 145 mInfos[0].visible && mInfos[1].visible ? View.VISIBLE : View.GONE); in handleUpdateState() 151 || (mInfos[0].visible && mInfos[2].visible) ? View.VISIBLE : View.GONE); in handleUpdateState() 161 mNoSimTextView.setVisibility(View.GONE); in updateCarrierInfo() 186 mCarrierGroups[i].setVisibility(View.GONE); in updateCarrierInfo() 198 mCarrierGroups[i].setVisibility(View.GONE); in updateCarrierInfo()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarView.java | 287 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/ |
D | TunerZenModePanel.java | 72 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/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/ |
D | BarChartPreference.java | 199 detailsView.setVisibility(View.GONE); in bindChartDetailsView() 217 barView.setVisibility(View.GONE); in updateBarChart() 253 emptyView.setVisibility(visible ? View.VISIBLE : View.GONE); in setEmptyViewVisible() 254 barViewsContainer.setVisibility(visible ? View.GONE : View.VISIBLE); in setEmptyViewVisible()
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 141 if (child.getVisibility() == GONE) { in onMeasure() 183 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow() 205 if (child.getVisibility() == GONE) { in onLayout() 344 ? View.VISIBLE : View.GONE); in showAppOpsIcons() 346 ? View.VISIBLE : View.GONE); in showAppOpsIcons() 348 ? View.VISIBLE : View.GONE); in showAppOpsIcons() 353 mAudiblyAlertedIcon.setVisibility(audiblyAlerted ? View.VISIBLE : View.GONE); in setRecentlyAudiblyAlerted() 460 if (view.getVisibility() == GONE) { in getRectAroundView() 528 if (child.getVisibility() != GONE) { in getFirstChildNotGone()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | DropdownChipLayouter.java | 150 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()
|