Home
last modified time | relevance | path

Searched refs:newVisibility (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java194 final int newVisibility = checkable ? VISIBLE : GONE; in setCheckable() local
195 if (compoundButton.getVisibility() != newVisibility) { in setCheckable()
196 compoundButton.setVisibility(newVisibility); in setCheckable()
234 final int newVisibility = (showShortcut && mItemData.shouldShowShortcut()) in setShortcut() local
237 if (newVisibility == VISIBLE) { in setShortcut()
241 if (mShortcutView.getVisibility() != newVisibility) { in setShortcut()
242 mShortcutView.setVisibility(newVisibility); in setShortcut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DKeyguardMediaController.kt194 private fun setVisibility(view: ViewGroup?, newVisibility: Int) { in setVisibility()
196 view?.visibility = newVisibility in setVisibility()
197 if (previousVisibility != newVisibility) { in setVisibility()
198 visibilityChangedListener?.invoke(newVisibility == View.VISIBLE) in setVisibility()
DMediaHost.kt168 val newVisibility = if (visible) View.VISIBLE else View.GONE in <lambda>() constant
169 if (newVisibility != hostView.visibility) { in <lambda>()
170 hostView.visibility = newVisibility in <lambda>()
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java226 int newVisibility = View.GONE; in syncSummaryView() local
229 newVisibility = View.VISIBLE; in syncSummaryView()
231 if (newVisibility != summaryView.getVisibility()) { in syncSummaryView()
232 summaryView.setVisibility(newVisibility); in syncSummaryView()
DDialogPreference.java407 int newVisibility = View.GONE; in onBindDialogView() local
414 newVisibility = View.VISIBLE; in onBindDialogView()
417 if (dialogMessageView.getVisibility() != newVisibility) { in onBindDialogView()
418 dialogMessageView.setVisibility(newVisibility); in onBindDialogView()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUILayout.java209 final int newVisibility = isImeShowing ? View.GONE : View.VISIBLE; in updateImeVisibility() local
210 if (mButton.getVisibility() != newVisibility) { in updateImeVisibility()
211 mButton.setVisibility(newVisibility); in updateImeVisibility()
213 if (mHint != null && mHint.getVisibility() != newVisibility) { in updateImeVisibility()
214 mHint.setVisibility(newVisibility); in updateImeVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarTransitions.java75 public void onWallpaperVisibilityChanged(boolean newVisibility,
77 mWallpaperVisible = newVisibility;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarMobileView.java188 int newVisibility = state.visible && !mForceHidden ? View.VISIBLE : View.GONE; in updateState() local
189 if (newVisibility != mMobileGroup.getVisibility()) { in updateState()
190 mMobileGroup.setVisibility(newVisibility); in updateState()
DStatusBarIconView.java1022 void onVisibilityChanged(int newVisibility); in onVisibilityChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java224 int newVisibility = becomesInvisible ? View.INVISIBLE : View.VISIBLE; in applyToView() local
225 if (newVisibility != oldVisibility) { in applyToView()
228 view.setVisibility(newVisibility); in applyToView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java441 int newVisibility = visible ? View.VISIBLE : View.GONE; in setSeparatorVisibility() local
442 if (mClockIconsSeparator.getVisibility() == newVisibility) return; in setSeparatorVisibility()
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl111 boolean setAccountVisibility(in Account a, in String packageName, int newVisibility); in setAccountVisibility() argument
/frameworks/base/core/java/android/animation/
DLayoutTransition.java1426 public void hideChild(ViewGroup parent, View child, int newVisibility) { in hideChild() argument
1427 removeChild(parent, child, newVisibility == View.GONE); in hideChild()
/frameworks/base/media/java/android/media/
DMediaRouter.java1407 final boolean newVisibility = cbi.filterRouteEvent(newSupportedTypes); in dispatchRouteChanged()
1408 if (!oldVisibility && newVisibility) { in dispatchRouteChanged()
1414 if (oldVisibility || newVisibility) { in dispatchRouteChanged()
1417 if (oldVisibility && !newVisibility) { in dispatchRouteChanged()
/frameworks/base/core/java/android/widget/
DGridLayout.java1002 protected void onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) { in onChildVisibilityChanged() argument
1003 super.onChildVisibilityChanged(child, oldVisibility, newVisibility); in onChildVisibilityChanged()
1004 if (oldVisibility == GONE || newVisibility == GONE) { in onChildVisibilityChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1796 protected void onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) { in onChildVisibilityChanged() argument
1797 super.onChildVisibilityChanged(child, oldVisibility, newVisibility); in onChildVisibilityChanged()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java763 public boolean setAccountVisibility(Account account, String packageName, int newVisibility) { in setAccountVisibility() argument
779 return setAccountVisibility(account, packageName, newVisibility, true /* notify */, in setAccountVisibility()
802 private boolean setAccountVisibility(Account account, String packageName, int newVisibility, in setAccountVisibility() argument
836 if (!updateAccountVisibilityLocked(account, packageName, newVisibility, accounts)) { in setAccountVisibility()
862 int newVisibility, UserAccounts accounts) { in updateAccountVisibilityLocked() argument
871 newVisibility)) { in updateAccountVisibilityLocked()
879 accountVisibility.put(packageName, newVisibility); in updateAccountVisibilityLocked()
/frameworks/base/core/java/android/view/
DViewGroup.java1577 protected void onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) { in onChildVisibilityChanged() argument
1579 if (newVisibility == VISIBLE) { in onChildVisibilityChanged()
1582 mTransition.hideChild(this, child, newVisibility); in onChildVisibilityChanged()
1596 if (newVisibility == VISIBLE && mCurrentDragStartEvent != null) { in onChildVisibilityChanged()
DView.java16339 final int newVisibility = flags & VISIBILITY_MASK; in setFlags() local
16340 if (newVisibility == VISIBLE) { in setFlags()
16429 if (newVisibility != VISIBLE && mAttachInfo != null) { in setFlags()
16436 newVisibility); in setFlags()
16443 dispatchVisibilityChanged(this, newVisibility); in setFlags()
16452 dispatchVisibilityAggregated(newVisibility == VISIBLE); in setFlags()