Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
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()
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()
DInsetsFlags.java69 public @Appearance int appearance; field in InsetsFlags
DWindowInsetsController.java219 void setSystemBarsAppearance(@Appearance int appearance, @Appearance int mask); in setSystemBarsAppearance() argument
DWindowManager.java3810 out.writeInt(insetsFlags.appearance); in writeToParcel()
3882 insetsFlags.appearance = in.readInt(); in LayoutParams()
4160 if (insetsFlags.appearance != o.insetsFlags.appearance) { in copyFrom()
4161 insetsFlags.appearance = o.insetsFlags.appearance; in copyFrom()
4353 if (insetsFlags.appearance != 0) { in toString()
4356 InsetsFlags.class, "appearance", insetsFlags.appearance)); in toString()
4420 proto.write(APPEARANCE, insetsFlags.appearance); in dumpDebug()
/frameworks/base/core/java/com/android/internal/view/
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()
/frameworks/base/core/java/com/android/internal/statusbar/
DRegisterStatusBarResult.java46 int appearance, AppearanceRegion[] appearanceRegions, int imeWindowVis, in RegisterStatusBarResult() argument
52 mAppearance = appearance; in RegisterStatusBarResult()
97 final int appearance = source.readInt();
109 return new RegisterStatusBarResult(icons, disabledFlags1, appearance,
DIStatusBar.aidl196 void onSystemBarAttributesChanged(int displayId, int appearance, in onSystemBarAttributesChanged() argument
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java2517 final int appearance = updateLightNavigationBarLw(
2518 win.mAttrs.insetsFlags.appearance, mTopFullscreenOpaqueWindowState,
2525 && mLastAppearance == appearance
2535 && ((mLastAppearance ^ appearance) & APPEARANCE_LOW_PROFILE_BARS) != 0) {
2537 isFullscreen || (appearance & APPEARANCE_LOW_PROFILE_BARS) != 0);
2540 mLastAppearance = appearance;
2561 statusBar.onSystemBarAttributesChanged(displayId, appearance, appearanceRegions,
2573 ? (colorWin.mAttrs.insetsFlags.appearance & APPEARANCE_LIGHT_STATUS_BARS)
2620 int updateLightNavigationBarLw(int appearance, WindowState opaque,
2626 appearance &= ~APPEARANCE_LIGHT_NAVIGATION_BARS;
[all …]
DTaskSnapshotSurface.java174 final int appearance; in create() local
188 appearance = attrs.insetsFlags.appearance; in create()
207 layoutParams.insetsFlags.appearance = appearance; in create()
240 appearance, windowFlags, windowPrivateFlags, taskBounds, currentOrientation, in create()
260 TaskDescription taskDescription, int appearance, int windowFlags, in TaskSnapshotSurface() argument
275 windowPrivateFlags, appearance, taskDescription, 1f, insetsState); in TaskSnapshotSurface()
545 SystemBarBackgroundPainter(int windowFlags, int windowPrivateFlags, int appearance, in SystemBarBackgroundPainter() argument
554 semiTransparent, taskDescription.getStatusBarColor(), appearance, in SystemBarBackgroundPainter()
559 taskDescription.getNavigationBarColor(), appearance, in SystemBarBackgroundPainter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java129 public void onNavigationBarAppearanceChanged(@Appearance int appearance, boolean nbModeChanged, in onNavigationBarAppearanceChanged() argument
131 int diff = appearance ^ mAppearance; in onNavigationBarAppearanceChanged()
134 mHasLightNavigationBar = isLight(appearance, navigationBarMode, in onNavigationBarAppearanceChanged()
143 mAppearance = appearance; in onNavigationBarAppearanceChanged()
190 private static boolean isLight(int appearance, int barMode, int flag) { in isLight() argument
193 final boolean light = (appearance & flag) != 0; in isLight()
DLightsOutNotifController.java150 public void onSystemBarAttributesChanged(int displayId, @Appearance int appearance,
156 mAppearance = appearance;
/frameworks/base/core/tests/coretests/src/android/text/
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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DTaskSnapshotWindow.java170 final int appearance = attrs.insetsFlags.appearance; in create() local
189 layoutParams.insetsFlags.appearance = appearance; in create()
223 surfaceControl, snapshot, layoutParams.getTitle(), taskDescription, appearance, in create()
262 int appearance, int windowFlags, int windowPrivateFlags, Rect taskBounds, in TaskSnapshotWindow() argument
277 windowPrivateFlags, appearance, taskDescription, 1f, topWindowInsetsState); in TaskSnapshotWindow()
561 SystemBarBackgroundPainter(int windowFlags, int windowPrivateFlags, int appearance, in SystemBarBackgroundPainter() argument
570 semiTransparent, taskDescription.getStatusBarColor(), appearance, in SystemBarBackgroundPainter()
575 taskDescription.getNavigationBarColor(), appearance, in SystemBarBackgroundPainter()
/frameworks/base/core/java/android/window/
DTaskSnapshot.java71 int windowingMode, @WindowInsetsController.Appearance int appearance, in TaskSnapshot() argument
85 mAppearance = appearance; in TaskSnapshot()
353 public Builder setAppearance(@WindowInsetsController.Appearance int appearance) {
354 mAppearance = appearance;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java47 public @Appearance int appearance; field in ThumbnailData
95 appearance = snapshot.getAppearance(); in ThumbnailData()
/frameworks/base/core/tests/coretests/src/android/view/
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()
/frameworks/base/core/java/android/text/style/
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()
/frameworks/base/core/java/android/widget/
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()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java142 final int appearance = APPEARANCE_LIGHT_STATUS_BARS; in testSnapshotBuilder() local
154 builder.setAppearance(appearance); in testSnapshotBuilder()
171 assertEquals(appearance, snapshot.getAppearance()); in testSnapshotBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java985 public void onSystemBarAttributesChanged(int displayId, @Appearance int appearance, in onSystemBarAttributesChanged() argument
992 if (mAppearance != appearance) { in onSystemBarAttributesChanged()
993 mAppearance = appearance; in onSystemBarAttributesChanged()
994 nbModeChanged = updateBarMode(barMode(mTransientShown, appearance)); in onSystemBarAttributesChanged()
997 mLightBarController.onNavigationBarAppearanceChanged(appearance, nbModeChanged, in onSystemBarAttributesChanged()
1060 private static @TransitionMode int barMode(boolean isTransient, int appearance) { in barMode() argument
1064 } else if ((appearance & lightsOutOpaque) == lightsOutOpaque) { in barMode()
1066 } else if ((appearance & APPEARANCE_LOW_PROFILE_BARS) != 0) { in barMode()
1068 } else if ((appearance & APPEARANCE_OPAQUE_NAVIGATION_BARS) != 0) { in barMode()
1070 } else if ((appearance & APPEARANCE_SEMI_TRANSPARENT_NAVIGATION_BARS) != 0) { in barMode()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerInternal.java133 void onSystemBarAttributesChanged(int displayId, @Appearance int appearance, in onSystemBarAttributesChanged() argument
/frameworks/base/proto/src/
Dtask_snapshot.proto43 int32 appearance = 16; field
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java137 private void doTestOnSystemBarAttributesChanged(int displayId, @Appearance int appearance, in doTestOnSystemBarAttributesChanged() argument
140 mCommandQueue.onSystemBarAttributesChanged(displayId, appearance, appearanceRegions, in doTestOnSystemBarAttributesChanged()
143 verify(mCallbacks).onSystemBarAttributesChanged(eq(displayId), eq(appearance), in doTestOnSystemBarAttributesChanged()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1032 public void onSystemBarAppearanceChanged(@WindowInsetsController.Appearance int appearance) {
1116 final @Appearance int appearance = viewRoot != null in updateColorViews() local
1117 ? viewRoot.mWindowAttributes.insetsFlags.appearance in updateColorViews()
1159 updateColorViewInt(mNavigationColorViewState, calculateNavigationBarColor(appearance), in updateColorViews()
1179 int statusBarColor = calculateStatusBarColor(appearance); in updateColorViews()
1381 private int calculateStatusBarColor(@Appearance int appearance) { in calculateStatusBarColor() argument
1384 appearance, APPEARANCE_LIGHT_STATUS_BARS, in calculateStatusBarColor()
1388 private int calculateNavigationBarColor(@Appearance int appearance) { in calculateNavigationBarColor() argument
1391 appearance, APPEARANCE_LIGHT_NAVIGATION_BARS, in calculateNavigationBarColor()
1397 int barColor, @Appearance int appearance, @Appearance int lightAppearanceFlag, in calculateBarColor() argument
[all …]

12