Home
last modified time | relevance | path

Searched refs:vis (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/policy/
DBarController.java113 public void adjustSystemUiVisibilityLw(int oldVis, int vis) { in adjustSystemUiVisibilityLw() argument
115 (vis & mTransientFlag) == 0) { in adjustSystemUiVisibilityLw()
119 } else if (mWin != null && (oldVis & mUnhideFlag) != 0 && (vis & mUnhideFlag) == 0) { in adjustSystemUiVisibilityLw()
125 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw() argument
131 vis |= mTranslucentFlag; in applyTranslucentFlagLw()
133 vis &= ~mTranslucentFlag; in applyTranslucentFlagLw()
136 vis |= mTransparentFlag; in applyTranslucentFlagLw()
138 vis &= ~mTransparentFlag; in applyTranslucentFlagLw()
141 vis = (vis & ~mTranslucentFlag) | (oldVis & mTranslucentFlag); in applyTranslucentFlagLw()
142 vis = (vis & ~mTransparentFlag) | (oldVis & mTransparentFlag); in applyTranslucentFlagLw()
[all …]
DPolicyControl.java67 int vis = win != null ? win.getSystemUiVisibility() : attrs.systemUiVisibility; in getSystemUiVisibility() local
69 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY in getSystemUiVisibility()
72 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in getSystemUiVisibility()
76 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY in getSystemUiVisibility()
79 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in getSystemUiVisibility()
82 return vis; in getSystemUiVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DUtil.java159 public static final void setVisOrGone(View v, boolean vis) { in setVisOrGone() argument
160 if (v == null || (v.getVisibility() == View.VISIBLE) == vis) return; in setVisOrGone()
161 v.setVisibility(vis ? View.VISIBLE : View.GONE); in setVisOrGone()
164 public static final void setVisOrInvis(View v, boolean vis) { in setVisOrInvis() argument
165 if (v == null || (v.getVisibility() == View.VISIBLE) == vis) return; in setVisOrInvis()
166 v.setVisibility(vis ? View.VISIBLE : View.INVISIBLE); in setVisOrInvis()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java147 final int vis = view.getSystemUiVisibility(); in addVisibilityFlag() local
148 view.setSystemUiVisibility(vis | flag); in addVisibilityFlag()
169 final int vis = view.getSystemUiVisibility(); in removeVisibilityFlag() local
170 view.setSystemUiVisibility(vis & ~flag); in removeVisibilityFlag()
221 private static void addImmersiveFlagsToDecorView(final Window window, final int vis) { in addImmersiveFlagsToDecorView() argument
225 addVisibilityFlag(decorView, vis); in addImmersiveFlagsToDecorView()
231 private static void removeImmersiveFlagsFromDecorView(final Window window, final int vis) { in removeImmersiveFlagsFromDecorView() argument
235 removeVisibilityFlag(decorView, vis); in removeImmersiveFlagsFromDecorView()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java175 public void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis,
178 StatusBarManagerService.this.setSystemUiVisibility(vis, fullscreenStackVis,
569 public void setImeWindowStatus(final IBinder token, final int vis, final int backDisposition, in setImeWindowStatus() argument
574 Slog.d(TAG, "swetImeWindowStatus vis=" + vis + " backDisposition=" + backDisposition); in setImeWindowStatus()
581 mImeWindowVis = vis; in setImeWindowStatus()
589 mBar.setImeWindowStatus(token, vis, backDisposition, showImeSwitcher); in setImeWindowStatus()
599 public void setSystemUiVisibility(int vis, int mask, String cause) { in setSystemUiVisibility() argument
600 setSystemUiVisibility(vis, 0, 0, mask, mFullscreenStackBounds, mDockedStackBounds, cause); in setSystemUiVisibility()
603 … private void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, int mask, in setSystemUiVisibility() argument
608 if (SPEW) Slog.d(TAG, "setSystemUiVisibility(0x" + Integer.toHexString(vis) + ")"); in setSystemUiVisibility()
[all …]
DStatusBarManagerInternal.java71 void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, int mask, in setSystemUiVisibility() argument
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java213 private View createViewWithSystemUiVisibility(int vis) { in createViewWithSystemUiVisibility() argument
216 view.setSystemUiVisibility(vis); in createViewWithSystemUiVisibility()
221 private Window createWindowWithSystemUiVisibility(int vis) { in createWindowWithSystemUiVisibility() argument
223 createViewWithSystemUiVisibility(vis)); in createWindowWithSystemUiVisibility()
226 attrs.systemUiVisibility = vis; in createWindowWithSystemUiVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java112 public void onNavigationVisibilityChanged(int vis, int mask, boolean nbModeChanged, in onNavigationVisibilityChanged() argument
115 int newVis = (oldVis & ~mask) | (vis & mask); in onNavigationVisibilityChanged()
120 mHasLightNavigationBar = isLight(vis, navigationBarMode, in onNavigationVisibilityChanged()
148 private boolean isLight(int vis, int barMode, int flag) {
152 boolean light = (vis & flag) != 0;
DNavigationBarFragment.java264 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
266 boolean imeShown = (vis & InputMethodService.IME_VISIBLE) != 0; in setImeWindowStatus()
318 public void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, in setSystemUiVisibility() argument
321 final int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility()
342 mLightBarController.onNavigationVisibilityChanged(vis, mask, nbModeChanged, in setSystemUiVisibility()
DStatusBarKeyguardViewManager.java517 int vis = mContainer.getSystemUiVisibility(); in updateStates() local
528 mContainer.setSystemUiVisibility(vis & ~View.STATUS_BAR_DISABLE_BACK); in updateStates()
530 mContainer.setSystemUiVisibility(vis | View.STATUS_BAR_DISABLE_BACK); in updateStates()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java377 Map<String, Integer> vis = mAccountsDb.findAllVisibilityValuesForAccount(account); in testVisibilityFindSetDelete() local
378 assertEquals(vis.size(), 2); in testVisibilityFindSetDelete()
379 assertEquals(vis.get(packageName1), Integer.valueOf(1)); in testVisibilityFindSetDelete()
380 assertEquals(vis.get(packageName2), Integer.valueOf(3)); in testVisibilityFindSetDelete()
406 Map<Account, Map<String, Integer>> vis = mAccountsDb.findAllVisibilityValues(); in testFindAllVisibilityValues() local
407 assertEquals(vis.size(), 2); in testFindAllVisibilityValues()
408 Map<String, Integer> accnt1Visibility = vis.get(account); in testFindAllVisibilityValues()
412 Map<String, Integer> accnt2Visibility = vis.get(account2); in testFindAllVisibilityValues()
417 vis = mAccountsDb.findAllVisibilityValues(); in testFindAllVisibilityValues()
418 accnt2Visibility = vis.get(account2); in testFindAllVisibilityValues()
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java86 public void visibility(int category, int vis) in visibility() argument
88 visibility(category, vis == View.VISIBLE); in visibility()
166 public static void visibility(Context context, int category, int vis) in visibility() argument
168 visibility(context, category, vis == View.VISIBLE); in visibility()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl49 void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, int mask, in setSystemUiVisibility() argument
53 void setImeWindowStatus(in IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
DIStatusBarService.aidl41 void setImeWindowStatus(in IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
64 void setSystemUiVisibility(int vis, int mask, String cause); in setSystemUiVisibility() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DAnimatedImageView.java96 protected void onVisibilityChanged(View changedView, int vis) { in onVisibilityChanged() argument
97 super.onVisibilityChanged(changedView, vis); in onVisibilityChanged()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DExplodeUsage.java69 int vis = mViews.get(0).getVisibility() == View.VISIBLE ? View.GONE : View.VISIBLE; in onCreate()
71 view.setVisibility(vis); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java114 protected void onVisibilityChanged(View changedView, int vis) { in onVisibilityChanged() argument
115 super.onVisibilityChanged(changedView, vis); in onVisibilityChanged()
DCommandQueue.java108 default void setSystemUiVisibility(int vis, int fullscreenStackVis, in setSystemUiVisibility() argument
112 default void setImeWindowStatus(IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
221 public void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, in setSystemUiVisibility() argument
227 args.argi1 = vis; in setSystemUiVisibility()
245 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
249 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token); in setImeWindowStatus()
/frameworks/base/core/tests/coretests/src/android/view/
DStubbedView.java34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { in onCreate()
DVisibility.java40 Button visibleButton = findViewById(R.id.vis); in onCreate()
DVisibilityCallback.java48 Button visibleButton = findViewById(R.id.vis); in onCreate()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1188 final int vis; in updateExtractFrameVisibility() local
1190 vis = mExtractViewHidden ? View.INVISIBLE : View.VISIBLE; in updateExtractFrameVisibility()
1192 mExtractFrame.setVisibility(vis); in updateExtractFrameVisibility()
1194 vis = View.VISIBLE; in updateExtractFrameVisibility()
1198 if (mWindowWasVisible && mFullscreenArea.getVisibility() != vis) { in updateExtractFrameVisibility()
1199 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility()
1208 mFullscreenArea.setVisibility(vis); in updateExtractFrameVisibility()
1330 int vis = shown ? View.VISIBLE : getCandidatesHiddenVisibility(); in updateCandidatesVisibility() local
1331 if (mCandidatesVisibility != vis) { in updateCandidatesVisibility()
1332 mCandidatesFrame.setVisibility(vis); in updateCandidatesVisibility()
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java188 private void setContextGroupVisible(final CatHolder holder, boolean vis) { in setContextGroupVisible() argument
190 if (vis && group.getVisibility() != View.VISIBLE) { in setContextGroupVisible()
202 } else if (!vis && group.getVisibility() == View.VISIBLE) { in setContextGroupVisible()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarOverlayLayout.java288 final int vis = ViewCompat.getWindowSystemUiVisibility(this);
289 final boolean stable = (vis & SYSTEM_UI_FLAG_LAYOUT_STABLE) != 0;
356 final int vis = ViewCompat.getWindowSystemUiVisibility(this);
357 final boolean stable = (vis & SYSTEM_UI_FLAG_LAYOUT_STABLE) != 0;
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp529 ResolveInfo::Visibility vis = ResolveInfo::Default; in addScriptSymbols() local
537 vis = old_info->visibility(); in addScriptSymbols()
546 vis = ResolveInfo::Hidden; in addScriptSymbols()
557 vis); in addScriptSymbols()
560 vis = ResolveInfo::Hidden; in addScriptSymbols()
572 vis); in addScriptSymbols()

12