Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DBarController.java138 void adjustSystemUiVisibilityLw(int oldVis, int vis) { in adjustSystemUiVisibilityLw() argument
140 && (vis & mTransientFlag) == 0) { in adjustSystemUiVisibilityLw()
144 } else if (mWin != null && (oldVis & mUnhideFlag) != 0 && (vis & mUnhideFlag) == 0) { in adjustSystemUiVisibilityLw()
150 int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw() argument
155 vis |= mTranslucentFlag; in applyTranslucentFlagLw()
157 vis &= ~mTranslucentFlag; in applyTranslucentFlagLw()
161 vis |= mTransparentFlag; in applyTranslucentFlagLw()
163 vis &= ~mTransparentFlag; in applyTranslucentFlagLw()
166 vis = (vis & ~mTranslucentFlag) | (oldVis & mTranslucentFlag); in applyTranslucentFlagLw()
167 vis = (vis & ~mTransparentFlag) | (oldVis & mTransparentFlag); in applyTranslucentFlagLw()
[all …]
DPolicyControl.java69 int vis = win != null ? win.getSystemUiVisibility() in getSystemUiVisibility() local
72 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY in getSystemUiVisibility()
75 vis |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN; in getSystemUiVisibility()
77 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in getSystemUiVisibility()
81 vis |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY in getSystemUiVisibility()
84 vis |= View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION; in getSystemUiVisibility()
86 vis &= ~(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in getSystemUiVisibility()
89 return vis; in getSystemUiVisibility()
DDisplayPolicy.java3415 private static Pair<int[], int[]> getTransientState(int vis, int oldVis) {
3418 updateTransientState(vis, oldVis, View.STATUS_BAR_TRANSIENT, ITYPE_STATUS_BAR, typesToShow,
3420 updateTransientState(vis, oldVis, View.NAVIGATION_BAR_TRANSIENT,
3425 private static void updateTransientState(int vis, int oldVis, int transientFlag,
3428 final boolean isTransient = (vis & transientFlag) != 0;
3503 static int updateLightNavigationBarLw(int vis, WindowState opaque, WindowState opaqueOrDimming,
3509 vis &= ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR;
3510 vis |= PolicyControl.getSystemUiVisibility(navColorWin, null)
3514 vis &= ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR;
3517 return vis;
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java145 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/
DUtil.java45 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/core/java/com/android/internal/logging/
DMetricsLogger.java127 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/
DAccountsDbTest.java397 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/
DSystemBarHelperTest.java222 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/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowController.java228 int vis = mNotificationShadeView.getSystemUiVisibility(); in setKeyguardDark() local
230 vis = vis | View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in setKeyguardDark()
231 vis = vis | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in setKeyguardDark()
233 vis = vis & ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in setKeyguardDark()
234 vis = vis & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in setKeyguardDark()
236 mNotificationShadeView.setSystemUiVisibility(vis); in setKeyguardDark()
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifV3StyleTest.java46 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/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java126 protected void onVisibilityChanged(View changedView, int vis) { in onVisibilityChanged() argument
127 super.onVisibilityChanged(changedView, vis); in onVisibilityChanged()
/frameworks/base/core/tests/coretests/src/android/view/
DStubbedView.java33 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { in onCreate()
DVisibility.java39 Button visibleButton = findViewById(R.id.vis); in onCreate()
DVisibilityCallback.java47 Button visibleButton = findViewById(R.id.vis); in onCreate()
DVisibilityCallbackTest.java54 mVisible = (Button) a.findViewById(R.id.vis); in setUp()
/frameworks/base/core/java/com/android/internal/inputmethod/
DIInputMethodPrivilegedOperations.aidl30 void setImeWindowStatus(int vis, int backDisposition); in setImeWindowStatus() argument
DInputMethodPrivilegedOperations.java110 public void setImeWindowStatus(int vis, int backDisposition) { in setImeWindowStatus() argument
116 ops.setImeWindowStatus(vis, backDisposition); in setImeWindowStatus()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java192 private void setContextGroupVisible(final CatHolder holder, boolean vis) { in setContextGroupVisible() argument
194 if (vis && group.getVisibility() != View.VISIBLE) { in setContextGroupVisible()
206 } else if (!vis && group.getVisibility() == View.VISIBLE) { in setContextGroupVisible()
/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()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1653 final int vis; in updateExtractFrameVisibility() local
1655 vis = mExtractViewHidden ? View.INVISIBLE : View.VISIBLE; in updateExtractFrameVisibility()
1657 mExtractFrame.setVisibility(vis); in updateExtractFrameVisibility()
1659 vis = View.VISIBLE; in updateExtractFrameVisibility()
1663 if (mDecorViewWasVisible && mFullscreenArea.getVisibility() != vis) { in updateExtractFrameVisibility()
1664 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility()
1673 mFullscreenArea.setVisibility(vis); in updateExtractFrameVisibility()
1795 int vis = shown ? View.VISIBLE : getCandidatesHiddenVisibility(); in updateCandidatesVisibility() local
1796 if (mCandidatesVisibility != vis) { in updateCandidatesVisibility()
1797 mCandidatesFrame.setVisibility(vis); in updateCandidatesVisibility()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSizeCompatModeActivityController.java88 public void setImeWindowStatus(int displayId, IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
94 boolean imeShown = (vis & InputMethodService.IME_VISIBLE) != 0; in setImeWindowStatus()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java922 public void setImeWindowStatus(int displayId, final IBinder token, final int vis, in setImeWindowStatus() argument
928 Slog.d(TAG, "swetImeWindowStatus vis=" + vis + " backDisposition=" + backDisposition); in setImeWindowStatus()
935 getUiState(displayId).setImeWindowState(vis, backDisposition, showImeSwitcher, token); in setImeWindowStatus()
941 displayId, token, vis, backDisposition, showImeSwitcher, in setImeWindowStatus()
1054 private void setImeWindowState(final int vis, final int backDisposition, in setImeWindowState() argument
1056 mImeWindowVis = vis; in setImeWindowState()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl43 void setImeWindowStatus(int displayId, in IBinder token, int vis, int backDisposition, in setImeWindowStatus() argument
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java77 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { in onCreate()

12