Home
last modified time | relevance | path

Searched refs:appearance (Results 1 – 25 of 67) sorted by relevance

123

/aosp12/frameworks/base/core/java/android/view/
H A DViewRootInsetsControllerHost.java171 public void setSystemBarsAppearance(int appearance, int mask) { in setSystemBarsAppearance() argument
174 if (insetsFlags.appearance != appearance) { in setSystemBarsAppearance()
175 insetsFlags.appearance = (insetsFlags.appearance & ~mask) | (appearance & mask); in setSystemBarsAppearance()
183 return mViewRoot.mWindowAttributes.insetsFlags.appearance; in getSystemBarsAppearance()
H A DPendingInsetsController.java67 public void setSystemBarsAppearance(int appearance, int mask) { in setSystemBarsAppearance() argument
69 mReplayedInsetsController.setSystemBarsAppearance(appearance, mask); in setSystemBarsAppearance()
71 mAppearance = (mAppearance & ~mask) | (appearance & mask); in setSystemBarsAppearance()
H A DInsetsFlags.java69 public @Appearance int appearance; field in InsetsFlags
H A DWindowInsetsController.java219 void setSystemBarsAppearance(@Appearance int appearance, @Appearance int mask); in setSystemBarsAppearance() argument
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DAppearanceRegion.java68 int appearance, in AppearanceRegion() argument
70 this.mAppearance = appearance; in AppearanceRegion()
109 int appearance = in.readInt(); in AppearanceRegion() local
112 this.mAppearance = appearance; in AppearanceRegion()
/aosp12/frameworks/base/core/java/com/android/internal/statusbar/
H A DRegisterStatusBarResult.java48 int appearance, AppearanceRegion[] appearanceRegions, int imeWindowVis, in RegisterStatusBarResult() argument
54 mAppearance = appearance; in RegisterStatusBarResult()
101 final int appearance = source.readInt();
115 return new RegisterStatusBarResult(icons, disabledFlags1, appearance,
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLightBarController.java138 public void onNavigationBarAppearanceChanged(@Appearance int appearance, boolean nbModeChanged, in onNavigationBarAppearanceChanged() argument
140 int diff = appearance ^ mAppearance; in onNavigationBarAppearanceChanged()
143 mHasLightNavigationBar = isLight(appearance, navigationBarMode, in onNavigationBarAppearanceChanged()
152 mAppearance = appearance; in onNavigationBarAppearanceChanged()
199 private static boolean isLight(int appearance, int barMode, int flag) { in isLight() argument
202 final boolean light = (appearance & flag) != 0; in isLight()
H A DLightsOutNotifController.java154 public void onSystemBarAttributesChanged(int displayId, @Appearance int appearance,
161 mAppearance = appearance;
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayPolicy.java2876 appearance |= navColorWin.mAttrs.insetsFlags.appearance
2878 return appearance;
2895 appearance = configureStatusBarOpacity(appearance);
2896 appearance = configureNavBarOpacity(appearance, multiWindowTaskVisible,
2931 return appearance;
3011 return appearance;
3024 appearance = clearNavBarOpaqueFlag(appearance);
3029 appearance = clearNavBarOpaqueFlag(appearance);
3032 appearance = clearNavBarOpaqueFlag(appearance);
3036 appearance = clearNavBarOpaqueFlag(appearance);
[all …]
H A DTaskSnapshotSurface.java176 final int appearance; in create() local
190 appearance = attrs.insetsFlags.appearance; in create()
209 layoutParams.insetsFlags.appearance = appearance; in create()
243 appearance, windowFlags, windowPrivateFlags, taskBounds, currentOrientation, in create()
263 TaskDescription taskDescription, int appearance, int windowFlags, in TaskSnapshotSurface() argument
278 windowPrivateFlags, appearance, taskDescription, 1f, insetsState); in TaskSnapshotSurface()
548 SystemBarBackgroundPainter(int windowFlags, int windowPrivateFlags, int appearance, in SystemBarBackgroundPainter() argument
557 semiTransparent, taskDescription.getStatusBarColor(), appearance, in SystemBarBackgroundPainter()
562 taskDescription.getNavigationBarColor(), appearance, in SystemBarBackgroundPainter()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DTaskSnapshotWindow.java174 final int appearance = attrs.insetsFlags.appearance; in create() local
193 layoutParams.insetsFlags.appearance = appearance; in create()
224 surfaceControl, snapshot, layoutParams.getTitle(), taskDescription, appearance, in create()
263 int appearance, int windowFlags, int windowPrivateFlags, Rect taskBounds, in TaskSnapshotWindow() argument
277 windowPrivateFlags, appearance, taskDescription, 1f, topWindowInsetsState); in TaskSnapshotWindow()
580 SystemBarBackgroundPainter(int windowFlags, int windowPrivateFlags, int appearance, in SystemBarBackgroundPainter() argument
589 semiTransparent, taskDescription.getStatusBarColor(), appearance, in SystemBarBackgroundPainter()
594 taskDescription.getNavigationBarColor(), appearance, in SystemBarBackgroundPainter()
/aosp12/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java103 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel() local
105 assertEquals(1, appearance.length); in testWrapParcel()
106 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel()
107 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel()
/aosp12/frameworks/base/core/java/android/window/
H A DTaskSnapshot.java73 @WindowInsetsController.Appearance int appearance, boolean isTranslucent, in TaskSnapshot() argument
88 mAppearance = appearance; in TaskSnapshot()
373 public Builder setAppearance(@WindowInsetsController.Appearance int appearance) {
374 mAppearance = appearance;
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DViewRootImplTest.java166 final int appearance = APPEARANCE_OPAQUE_STATUS_BARS; in adjustLayoutParamsForCompatibility_noAdjustAppearance() local
167 controller.setSystemBarsAppearance(appearance, 0xffffffff); in adjustLayoutParamsForCompatibility_noAdjustAppearance()
175 assertEquals(appearance, controller.getSystemBarsAppearance()); in adjustLayoutParamsForCompatibility_noAdjustAppearance()
180 assertEquals(appearance, controller.getSystemBarsAppearance()); in adjustLayoutParamsForCompatibility_noAdjustAppearance()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
H A DQueryStyle.java44 public QueryStyle(Context context, int appearance) { in QueryStyle() argument
45 mTextAppearanceSpan = new TextAppearanceSpan(context, appearance); in QueryStyle()
/aosp12/frameworks/base/core/java/android/widget/
H A DSwitch.java304 final int appearance = a.getResourceId( in Switch() local
306 if (appearance != 0) { in Switch()
307 setSwitchTextAppearance(context, appearance); in Switch()
330 TypedArray appearance = in setSwitchTextAppearance() local
337 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
346 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. in setSwitchTextAppearance()
357 typefaceIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
359 styleIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
364 boolean allCaps = appearance.getBoolean(com.android.internal.R.styleable. in setSwitchTextAppearance()
373 appearance.recycle(); in setSwitchTextAppearance()
/aosp12/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java90 public TextAppearanceSpan(Context context, int appearance) { in TextAppearanceSpan() argument
91 this(context, appearance, -1); in TextAppearanceSpan()
102 public TextAppearanceSpan(Context context, int appearance, int colorList) { in TextAppearanceSpan() argument
106 context.obtainStyledAttributes(appearance, in TextAppearanceSpan()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DThumbnailData.java50 public @Appearance int appearance; field in ThumbnailData
112 appearance = snapshot.getAppearance(); in ThumbnailData()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskSnapshotControllerTest.java142 final int appearance = APPEARANCE_LIGHT_STATUS_BARS; in testSnapshotBuilder() local
155 builder.setAppearance(appearance); in testSnapshotBuilder()
173 assertEquals(appearance, snapshot.getAppearance()); in testSnapshotBuilder()
/aosp12/bionic/libc/
H A DSECCOMP_PRIORITY.TXT7 # the order of appearance in this file.
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationBar.java974 public void onSystemBarAttributesChanged(int displayId, @Appearance int appearance, in onSystemBarAttributesChanged() argument
981 if (mAppearance != appearance) { in onSystemBarAttributesChanged()
982 mAppearance = appearance; in onSystemBarAttributesChanged()
983 nbModeChanged = updateBarMode(barMode(mTransientShown, appearance)); in onSystemBarAttributesChanged()
986 mLightBarController.onNavigationBarAppearanceChanged(appearance, nbModeChanged, in onSystemBarAttributesChanged()
1053 private static @TransitionMode int barMode(boolean isTransient, int appearance) { in barMode() argument
1057 } else if ((appearance & lightsOutOpaque) == lightsOutOpaque) { in barMode()
1059 } else if ((appearance & APPEARANCE_LOW_PROFILE_BARS) != 0) { in barMode()
1061 } else if ((appearance & APPEARANCE_OPAQUE_NAVIGATION_BARS) != 0) { in barMode()
1063 } else if ((appearance & APPEARANCE_SEMI_TRANSPARENT_NAVIGATION_BARS) != 0) { in barMode()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DCommandQueueTest.java140 private void doTestOnSystemBarAttributesChanged(int displayId, @Appearance int appearance, in doTestOnSystemBarAttributesChanged() argument
143 mCommandQueue.onSystemBarAttributesChanged(displayId, appearance, appearanceRegions, in doTestOnSystemBarAttributesChanged()
146 verify(mCallbacks).onSystemBarAttributesChanged(eq(displayId), eq(appearance), in doTestOnSystemBarAttributesChanged()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSysuiStatusBarStateController.java163 void setSystemBarAttributes(@Appearance int appearance, @Behavior int behavior, in setSystemBarAttributes() argument
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
H A DCarSystemBar.java460 @WindowInsetsController.Appearance int appearance, in onSystemBarAttributesChanged() argument
524 private static boolean isLight(int appearance) { in isLight() argument
525 return (appearance & APPEARANCE_LIGHT_STATUS_BARS) != 0; in isLight()
/aosp12/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerInternal.java134 void onSystemBarAttributesChanged(int displayId, @Appearance int appearance, in onSystemBarAttributesChanged() argument

123