History log of /frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe836fabd9c6d3a3a7aaa51db7bb9bd6c9239833 12-Aug-2015 Adrian Roos <roosa@google.com> Prevent overlap of color views in landscape

Removes overlap from the color views which resulted in subotimal looks
when both color views were translucent and the nav bar was on the right
edge.

Also fixes a bug introduced in I2df7092a91eceeb815367ef917dd7289f4f2b27e
where the navigation-bar-on-right-side case got forgotten and caused
flickering in landscape when IMMERSIVE_STICKY was set but the navigation bar
was visible.

Bug: 22876533
Change-Id: I449a82eb3dc3f7b5051f26b37b362a196b4ff63a
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
0e3de6cacaffcfeda4d6353be61e2f1f9ed80705 30-Jul-2015 Dianne Hackborn <hackbod@google.com> Change MNC codename to just M.

Change-Id: I4281d200ff6560791c47cf9073ceea1cb509361e
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
c3cb6c9b22ffd9907fd602fcace763c4ba9525e9 15-Jul-2015 Adam Powell <adamp@google.com> Relax strict ActionMode instance checking when finishing action modes

In previous platform versions, finishing an action mode would clean up
the current action mode even if it was not the same ActionMode
instance. Some common shared code inadvertently relied on this
behavior, so stay bug-compatible with it based on targetSdkVersion.
New apps will get the stricter behavior.

Bug 22265882

Change-Id: Id5d6341aefc07a3cb788d5d6d0b531816f761e42
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
165ce066b701ba0153000f0692bfc7032655d17d 07-Jul-2015 Jorim Jaggi <jjaggi@google.com> Fix assist for hardware long-press

Activating the assistant will now route through SysUI, so
we have the logic whether to start an activity or to start a voice
interaction session in one single place.

Bug: 22201770
Change-Id: I0f4699533aea2a1e595ee25a844434c82f548c01
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
0ab731340b162a14eb49b8df78a0e96eb6e3a934 24-Jun-2015 Doris Liu <tianliu@google.com> Merge "Add enter/exit animation for window provided CAB" into mnc-dev
169f87a04bf05c114efb2c66a56bf83173c638b7 23-Jun-2015 Doris Liu <tianliu@google.com> Add enter/exit animation for window provided CAB

Bug: 21886856
Change-Id: I6b20901c51ce7d74058f6ef866334f622a1fa3a4
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
972ab4f8588c365cf9c06e1f22b30a96fb0a06fc 17-Jun-2015 Abodunrinwa Toki <toki@google.com> Fix FloatingToolbar flickers.

This is fixed by avoiding calling toolbar.show() in PhoneWindow.
FloatingActionMode coordinates whether or not the toolbar should be
visible. PhoneWindow differs to it.

This CL also adds a new API:
ActionMode#onWindowFocusChanged(boolean)

Bug: 21617792
Change-Id: Ic49ce1000ce9c782d0f9e17e3d024d462c7b758b
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
41607d5a2b8cc4a3fde4a2f75e33a00e8d957b1d 17-Jun-2015 Adam Powell <adamp@google.com> Request application of WindowInsets when setting a content view

For both PhoneWindow and VoiceInteractionSession, call
requestApplyInsets when the content view(s) change. This is generally
what the developer expects if the new view tree responds to insets in
any way.

Bug 21620924

Change-Id: I60a88af55bf85217c3587aa37f03fdc3fdce686d
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
0f925d0def01d586108c6ef0683efd8d9bbe1737 09-Jun-2015 Clara Bayarri <clarabayarri@google.com> Merge "Fallback to old Window.Callback#onWindowStartingActionMode" into mnc-dev
9f8f6e4e1c93025892bb5d8005725bcbdab5830b 09-Jun-2015 Clara Bayarri <clarabayarri@google.com> Fallback to old Window.Callback#onWindowStartingActionMode

Some custom implementations of Window.Callback might not have the new
typed method, fallback to typeless if it is implemented and the type
was Primary.

Change-Id: Ie98f9a57354363f1b9f8e48f889298f3ee4b59e2
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
0e5f110fc915a9b044eb04cd07ae7ac588eacc8f 06-Jun-2015 Tim Kilbourn <tkilbourn@google.com> Pass an args bundle to launchAssistAction.

In order to track the input device that was used to trigger assist, the
input device id is sent as an extra in the assist intent whenever it is
available. This is particularly useful on TVs, when an app may want to
know whether the input device has a microphone.

Bug: 21666123
Change-Id: I0f8c09e2f617606bef481bdff924cb6b9b47dd12
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
a16cc15f6cf24b3ab30636476c4fa632265e44f1 02-Jun-2015 Jorim Jaggi <jjaggi@google.com> Make sure starting windows only draw once

The panel menu was invalidated, and thus a runnable was posted for
the next frame, to update the panel menu, and invalidate the view. We
avoid this by not invalidating the panel menu for starting windows.

Bug: 20949632
Change-Id: I67ca47e3a7ce3ba1d685c2313efa66fb1cdee312
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
8a8ffd4e9b15a04d2af0909205658f08c76bd6b2 27-May-2015 Adrian Roos <roosa@google.com> Translucent bars in landscape

Bug: 18739556
Change-Id: Ib9602a9d1f09e6bd6c1306927990676120dff012
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
2217f61e51ba4b19c56b19297c1e9cf74d7d860f 26-May-2015 Filip Gruszczynski <gruszczy@google.com> Revert "Revert "resolved conflicts for merge of 47249f2a to mnc-dev""

This includes the fix for the broken dialog windows. The outsets will
only be calculated and applied if the window is full screen, since
they don't make much sense otherwise.

This reverts commit 4bb6b751fbbb218e8a298db4aa008472a0aa8d31.

Change-Id: I977a85a78c990c1840784dc0be0dddd5a6d84e6b
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
4bb6b751fbbb218e8a298db4aa008472a0aa8d31 23-May-2015 Dianne Hackborn <hackbod@google.com> Revert "resolved conflicts for merge of 47249f2a to mnc-dev"

This reverts commit c7becb7ee78881646251ff4846e63eb6b96bf7ec, reversing
changes made to 8562b08f04c1309cf40db1e749d612b6824f1d12.
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
c7becb7ee78881646251ff4846e63eb6b96bf7ec 21-May-2015 Filip Gruszczynski <gruszczy@google.com> resolved conflicts for merge of 47249f2a to mnc-dev

This is a merge of chin support.

Change-Id: I436b751b3c4aaa6b46cfcdb475e02eedfa5a5635
0d7d4ef56083543d58ef5835ec594865a547347c 13-May-2015 Clara Bayarri <clarabayarri@google.com> Fix Floating Toolbar appearing after ActionMode was cancelled

The Views created for the Toolbar were not cleaned up properly when the
mode was cancelled by the client in onCreateActionMode, leading to the
toolbar appearing over other views when it shouldn't due to
onWindowFocusChanged showing the Toolbar if it exists.

We don't actually need the views if we don't know whether they are
going to be shown yet, so moved view creation to after onCreateActionMode

Bug: 20713912
Change-Id: Ic0c31d1634e1e96d9981a77b2c769306a8bf1a8d
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
6711f3b34c2ad9c622f56a08b81e313795fe7647 07-May-2015 Adam Powell <adamp@google.com> Move PhoneWindow and friends back into internal package

PhoneWindow, PhoneLayoutInflater and PhoneFallbackEventHandler decided
to @hide out over in the android.view package after the policy jar was
disbanded. Give them a more appropriate home over in framework that
doesn't imply that they should be accessed from other internal layers
of abstraction.

Bug 19606548

Change-Id: Id07b791d178fa447010b49b24726b52208838e88
/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java