/frameworks/base/services/core/java/com/android/server/wm/ |
D | BarController.java | 130 void adjustSystemUiVisibilityLw(int oldVis, int vis) { in adjustSystemUiVisibilityLw() argument 132 && (vis & mTransientFlag) == 0) { in adjustSystemUiVisibilityLw() 136 } else if (mWin != null && (oldVis & mUnhideFlag) != 0 && (vis & mUnhideFlag) == 0) { in adjustSystemUiVisibilityLw() 142 int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw() argument 148 vis |= mTranslucentFlag; in applyTranslucentFlagLw() 150 vis &= ~mTranslucentFlag; in applyTranslucentFlagLw() 154 vis |= mTransparentFlag; in applyTranslucentFlagLw() 156 vis &= ~mTransparentFlag; in applyTranslucentFlagLw() 159 vis = (vis & ~mTranslucentFlag) | (oldVis & mTranslucentFlag); in applyTranslucentFlagLw() 160 vis = (vis & ~mTransparentFlag) | (oldVis & mTransparentFlag); in applyTranslucentFlagLw() [all …]
|
D | PolicyControl.java | 66 int vis = win != null ? win.getSystemUiVisibility() in getSystemUiVisibility() local 69 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY in getSystemUiVisibility() 72 vis |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN; in getSystemUiVisibility() 74 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in getSystemUiVisibility() 78 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY in getSystemUiVisibility() 81 vis |= View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION; in getSystemUiVisibility() 83 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in getSystemUiVisibility() 86 return vis; in getSystemUiVisibility()
|
D | DisplayPolicy.java | 3215 private int updateLightStatusBarLw(int vis, WindowState opaque, WindowState opaqueOrDimming) { in updateLightStatusBarLw() argument 3221 vis &= ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in updateLightStatusBarLw() 3222 vis |= PolicyControl.getSystemUiVisibility(statusColorWin, null) in updateLightStatusBarLw() 3226 vis &= ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in updateLightStatusBarLw() 3228 return vis; in updateLightStatusBarLw() 3274 static int updateLightNavigationBarLw(int vis, WindowState opaque, WindowState opaqueOrDimming, in updateLightNavigationBarLw() argument 3280 vis &= ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in updateLightNavigationBarLw() 3281 vis |= PolicyControl.getSystemUiVisibility(navColorWin, null) in updateLightNavigationBarLw() 3285 vis &= ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in updateLightNavigationBarLw() 3288 return vis; in updateLightNavigationBarLw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoHideController.java | 97 public void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, in setSystemUiVisibility() argument 104 int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility() 111 if (hasStatusBar() && (vis & View.STATUS_BAR_UNHIDE) != 0) { in setSystemUiVisibility() 115 if (hasNavigationBar() && (vis & View.NAVIGATION_BAR_UNHIDE) != 0) { in setSystemUiVisibility() 131 void notifySystemUiVisibilityChanged(int vis) { in notifySystemUiVisibilityChanged() argument 133 if (mLastDispatchedSystemUiVisibility != vis) { in notifySystemUiVisibilityChanged() 134 mWindowManagerService.statusBarVisibilityChanged(mDisplayId, vis); in notifySystemUiVisibilityChanged() 135 mLastDispatchedSystemUiVisibility = vis; in notifySystemUiVisibilityChanged()
|
D | StatusBarWindowController.java | 206 int vis = mStatusBarView.getSystemUiVisibility(); in setKeyguardDark() local 208 vis = vis | View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in setKeyguardDark() 209 vis = vis | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in setKeyguardDark() 211 vis = vis & ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in setKeyguardDark() 212 vis = vis & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in setKeyguardDark() 214 mStatusBarView.setSystemUiVisibility(vis); in setKeyguardDark()
|
D | LightBarController.java | 133 public void onNavigationVisibilityChanged(int vis, int mask, boolean nbModeChanged, in onNavigationVisibilityChanged() argument 136 int newVis = (oldVis & ~mask) | (vis & mask); in onNavigationVisibilityChanged() 141 mHasLightNavigationBar = isLight(vis, navigationBarMode, in onNavigationVisibilityChanged() 194 private boolean isLight(int vis, int barMode, int flag) { in isLight() argument 197 boolean light = (vis & flag) != 0; in isLight()
|
D | NavigationBarFragment.java | 427 public void setImeWindowStatus(int displayId, IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument 432 boolean imeShown = (vis & InputMethodService.IME_VISIBLE) != 0; in setImeWindowStatus() 517 public void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, in setSystemUiVisibility() argument 524 final int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility() 550 vis, mask, nbModeChanged, mNavigationBarMode, navbarColorManagedByIme); in setSystemUiVisibility() 562 private @TransitionMode int barMode(int vis) { in barMode() argument 565 if ((vis & View.NAVIGATION_BAR_TRANSIENT) != 0) { in barMode() 567 } else if ((vis & View.NAVIGATION_BAR_TRANSLUCENT) != 0) { in barMode() 569 } else if ((vis & lightsOutTransparent) == lightsOutTransparent) { in barMode() 571 } else if ((vis & View.NAVIGATION_BAR_TRANSPARENT) != 0) { in barMode() [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 145 final int vis = view.getSystemUiVisibility(); in addVisibilityFlag() local 146 view.setSystemUiVisibility(vis | flag); in addVisibilityFlag() 165 final int vis = view.getSystemUiVisibility(); in removeVisibilityFlag() local 166 view.setSystemUiVisibility(vis & ~flag); in removeVisibilityFlag() 230 private static void addImmersiveFlagsToDecorView(final Window window, final int vis) { in addImmersiveFlagsToDecorView() argument 236 addVisibilityFlag(decorView, vis); in addImmersiveFlagsToDecorView() 242 private static void removeImmersiveFlagsFromDecorView(final Window window, final int vis) { in removeImmersiveFlagsFromDecorView() argument 248 removeVisibilityFlag(decorView, vis); in removeImmersiveFlagsFromDecorView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Util.java | 45 public static final void setVisOrGone(View v, boolean vis) { in setVisOrGone() argument 46 if (v == null || (v.getVisibility() == View.VISIBLE) == vis) return; in setVisOrGone() 47 v.setVisibility(vis ? View.VISIBLE : View.GONE); in setVisOrGone()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 263 public void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, 266 StatusBarManagerService.this.setSystemUiVisibility(displayId, vis, fullscreenStackVis, 843 public void setImeWindowStatus(int displayId, final IBinder token, final int vis, in setImeWindowStatus() argument 848 Slog.d(TAG, "swetImeWindowStatus vis=" + vis + " backDisposition=" + backDisposition); in setImeWindowStatus() 855 getUiState(displayId).setImeWindowState(vis, backDisposition, showImeSwitcher, token); in setImeWindowStatus() 861 displayId, token, vis, backDisposition, showImeSwitcher); in setImeWindowStatus() 868 public void setSystemUiVisibility(int displayId, int vis, int mask, String cause) { in setSystemUiVisibility() argument 870 setSystemUiVisibility(displayId, vis, 0, 0, mask, in setSystemUiVisibility() 875 private void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, in setSystemUiVisibility() argument 881 if (SPEW) Slog.d(TAG, "setSystemUiVisibility(0x" + Integer.toHexString(vis) + ")"); in setSystemUiVisibility() [all …]
|
D | StatusBarManagerInternal.java | 79 void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, int dockedStackVis, in setSystemUiVisibility() argument
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | MetricsLogger.java | 127 public void visibility(int category, int vis) in visibility() argument 129 visibility(category, vis == View.VISIBLE); in visibility() 183 public static void visibility(Context context, int category, int vis) in visibility() argument 185 visibility(context, category, vis == View.VISIBLE); in visibility()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountsDbTest.java | 397 Map<String, Integer> vis = mAccountsDb.findAllVisibilityValuesForAccount(account); in testVisibilityFindSetDelete() local 398 assertEquals(vis.size(), 2); in testVisibilityFindSetDelete() 399 assertEquals(vis.get(packageName1), Integer.valueOf(1)); in testVisibilityFindSetDelete() 400 assertEquals(vis.get(packageName2), Integer.valueOf(3)); in testVisibilityFindSetDelete() 426 Map<Account, Map<String, Integer>> vis = mAccountsDb.findAllVisibilityValues(); in testFindAllVisibilityValues() local 427 assertEquals(vis.size(), 2); in testFindAllVisibilityValues() 428 Map<String, Integer> accnt1Visibility = vis.get(account); in testFindAllVisibilityValues() 432 Map<String, Integer> accnt2Visibility = vis.get(account2); in testFindAllVisibilityValues() 437 vis = mAccountsDb.findAllVisibilityValues(); in testFindAllVisibilityValues() 438 accnt2Visibility = vis.get(account2); in testFindAllVisibilityValues()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SystemBarHelperTest.java | 222 private View createViewWithSystemUiVisibility(int vis) { in createViewWithSystemUiVisibility() argument 225 view.setSystemUiVisibility(vis); in createViewWithSystemUiVisibility() 230 private Window createWindowWithSystemUiVisibility(int vis) { in createWindowWithSystemUiVisibility() argument 232 new TestWindow(InstrumentationRegistry.getContext(), createViewWithSystemUiVisibility(vis)); in createWindowWithSystemUiVisibility() 235 attrs.systemUiVisibility = vis; in createWindowWithSystemUiVisibility()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
D | AnimatedImageView.java | 96 protected void onVisibilityChanged(View changedView, int vis) { in onVisibilityChanged() argument 97 super.onVisibilityChanged(changedView, vis); in onVisibilityChanged()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifV3StyleTest.java | 46 int vis = activity.getWindow().getDecorView().getSystemUiVisibility(); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove() local 47 assertThat((vis & View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR) != 0).isTrue(); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | IStatusBar.aidl | 55 void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, int dockedStackVis, in setSystemUiVisibility() argument 60 void setImeWindowStatus(int displayId, in IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
|
D | IStatusBarService.aidl | 51 void setImeWindowStatus(int displayId, in IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument 78 void setSystemUiVisibility(int displayId, int vis, int mask, String cause); in setSystemUiVisibility() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AnimatedImageView.java | 126 protected void onVisibilityChanged(View changedView, int vis) { in onVisibilityChanged() argument 127 super.onVisibilityChanged(changedView, vis); in onVisibilityChanged()
|
D | CommandQueue.java | 180 default void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, in setSystemUiVisibility() argument 194 default void setImeWindowStatus(int displayId, IBinder token, int vis, in setImeWindowStatus() argument 460 public void setSystemUiVisibility(int displayId, int vis, int fullscreenStackVis, in setSystemUiVisibility() argument 468 args.argi2 = vis; in setSystemUiVisibility() 483 public void setImeWindowStatus(int displayId, IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument 489 args.argi2 = vis; in setImeWindowStatus() 803 private void handleShowImeButton(int displayId, IBinder token, int vis, int backDisposition, in handleShowImeButton() argument 815 mCallbacks.get(i).setImeWindowStatus(displayId, token, vis, backDisposition, in handleShowImeButton()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | StubbedView.java | 33 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { in onCreate()
|
D | Visibility.java | 39 Button visibleButton = findViewById(R.id.vis); in onCreate()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodPrivilegedOperations.java | 109 public void setImeWindowStatus(int vis, int backDisposition) { in setImeWindowStatus() argument 115 ops.setImeWindowStatus(vis, backDisposition); in setImeWindowStatus()
|
D | IInputMethodPrivilegedOperations.aidl | 30 void setImeWindowStatus(int vis, int backDisposition); in setImeWindowStatus() argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1433 final int vis; in updateExtractFrameVisibility() local 1435 vis = mExtractViewHidden ? View.INVISIBLE : View.VISIBLE; in updateExtractFrameVisibility() 1437 mExtractFrame.setVisibility(vis); in updateExtractFrameVisibility() 1439 vis = View.VISIBLE; in updateExtractFrameVisibility() 1443 if (mDecorViewWasVisible && mFullscreenArea.getVisibility() != vis) { in updateExtractFrameVisibility() 1444 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility() 1453 mFullscreenArea.setVisibility(vis); in updateExtractFrameVisibility() 1575 int vis = shown ? View.VISIBLE : getCandidatesHiddenVisibility(); in updateCandidatesVisibility() local 1576 if (mCandidatesVisibility != vis) { in updateCandidatesVisibility() 1577 mCandidatesFrame.setVisibility(vis); in updateCandidatesVisibility() [all …]
|