Loading core/java/com/android/internal/policy/PhoneWindow.java +2 −3 Original line number Diff line number Diff line Loading @@ -4208,10 +4208,9 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { boolean isApplication = attrs.type == TYPE_BASE_APPLICATION || attrs.type == TYPE_APPLICATION; mWorkspaceId = getWorkspaceId(); // Only a non floating application window on one of the allowed worksapces can get a non // Only a non floating application window on one of the allowed workspaces can get a non // client decor. if (!isFloating() && isApplication && mWorkspaceId != HOME_STACK_ID && mWorkspaceId < FIRST_DYNAMIC_STACK_ID) { if (!isFloating() && isApplication && mWorkspaceId < FIRST_DYNAMIC_STACK_ID) { // Dependent on the brightness of the used title we either use the // dark or the light button frame. if (nonClientDecorView == null) { Loading core/java/com/android/internal/widget/NonClientDecorView.java +2 −0 Original line number Diff line number Diff line Loading @@ -398,6 +398,8 @@ public class NonClientDecorView extends LinearLayout * It starts with the creation and it ends once someone calls destroy(). * Any size changes can be passed by a call to setTargetRect will passed to the thread and * executed via the Choreographer. * TODO(b/24810450): Separate functionality from non-client-decor so that it can be used * independently. */ private class ResizeFrameThread extends Thread implements Choreographer.FrameCallback { // This is containing the last requested size by a resize command. Note that this size might Loading Loading
core/java/com/android/internal/policy/PhoneWindow.java +2 −3 Original line number Diff line number Diff line Loading @@ -4208,10 +4208,9 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { boolean isApplication = attrs.type == TYPE_BASE_APPLICATION || attrs.type == TYPE_APPLICATION; mWorkspaceId = getWorkspaceId(); // Only a non floating application window on one of the allowed worksapces can get a non // Only a non floating application window on one of the allowed workspaces can get a non // client decor. if (!isFloating() && isApplication && mWorkspaceId != HOME_STACK_ID && mWorkspaceId < FIRST_DYNAMIC_STACK_ID) { if (!isFloating() && isApplication && mWorkspaceId < FIRST_DYNAMIC_STACK_ID) { // Dependent on the brightness of the used title we either use the // dark or the light button frame. if (nonClientDecorView == null) { Loading
core/java/com/android/internal/widget/NonClientDecorView.java +2 −0 Original line number Diff line number Diff line Loading @@ -398,6 +398,8 @@ public class NonClientDecorView extends LinearLayout * It starts with the creation and it ends once someone calls destroy(). * Any size changes can be passed by a call to setTargetRect will passed to the thread and * executed via the Choreographer. * TODO(b/24810450): Separate functionality from non-client-decor so that it can be used * independently. */ private class ResizeFrameThread extends Thread implements Choreographer.FrameCallback { // This is containing the last requested size by a resize command. Note that this size might Loading