[go: nahoru, domu]

History log of /frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9800bd0698800fa28f9b95e05e2f4f89d31ff655 22-Apr-2016 Chris Banes <chrisbanes@google.com> Create new Configuration object for night mode

Ensures that the new configuration is used by anything
created after the update.

BUG: 28268113
Change-Id: Ia5f961167fb5210e48e3a1cece5999bb3dab9450
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
b9579b37d2c3240b4bdaf44978b19d87ec9d3e59 21-Mar-2016 Chris Banes <chrisbanes@google.com> Make AppCompat's night mode work nicely on M+

AppCompat currently clobbers the system night mode
which is not ideal. This CL fixes AppCompat to work
nicely with the system's night mode, especially when
using AUTO.

FOLLOW_SYSTEM now does the correct thing on all
platforms now but just letting the system handle
everything.

BUG: 27626356
Change-Id: I218e133c8c1e1a09c550cceecea3d1922a1ad423
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
521a547fecaac06ca3086ff80ad81b1e9826c304 29-Feb-2016 Chris Banes <chrisbanes@google.com> Manually update the Resources configuration on changes

As we're wrapping the Resources object, it doesn't
seem to get update on config changes. Fixed by manually
updating it.

BUG: 27372400
Change-Id: Ic255ba539536f3891373545cc19a9219bbd1128f
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
fe20eed11b68512fcd16039f8f94c1909f2925f8 09-Feb-2016 Chris Banes <chrisbanes@google.com> Add MODE_NIGHT_FOLLOW_SYSTEM to AppCompat

New default which will follow the system's night mode
setting.

Change-Id: I3a88bfcc003815f86eb0014bef71134a8252201e
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
ff7f258a9b0781de5c6325358c7075128bf05a91 07-Dec-2015 Chris Banes <chrisbanes@google.com> Re-add DayNight functionality to AppCompat

There are now a number of themes with the prefix
Theme.AppCompat.DayNight which support automatic
light/dark switching based on the time.

There are now two main APIs to enable these themes
to work. AppCompatDelegate.setDefaultNightMode() allows
setting of the night mode globally within an app.
setLocalNightMode() allows overriding of the default
for the specfic host component instance.

Change-Id: If0349165fc9163deb2bab974ea63939edc00c6dd
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
66698bb15ba0f873aa1c2290cc50d6bb839a474a 26-Oct-2015 Chris Banes <chrisbanes@google.com> Flatten AppCompat class hierarchy

This allows us to do two things:

1) Move away from using public @hidden classes
everywhere.
2) Workaround silly OEM bugs.

BUG: 18218511

Change-Id: I7582e242c7564c32feeb044fc9eff6bfb5c56536
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
f2149b131fa96dc0a26fc86b3a36c4094c63a73a 16-Jul-2015 Chris Banes <chrisbanes@google.com> Remove DayNight functionality DO NOT MERGE

BUG: 22488087

Change-Id: I69298e07b8aae124a4982d30c070ea042c6e3568
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
7c15736b22c7bb0abc7b7964810b4426e998966b 15-Jul-2015 Adam Powell <adamp@google.com> am 33556e6b: Return consistent SupportActionModeWrappers for native action modes

* commit '33556e6b972f1aa8126a88605b455afd6d6ee0bd':
Return consistent SupportActionModeWrappers for native action modes
33556e6b972f1aa8126a88605b455afd6d6ee0bd 15-Jul-2015 Adam Powell <adamp@google.com> Return consistent SupportActionModeWrappers for native action modes

Fix a bug where AppCompat could return inconsistent action mode
wrappers back to the framework. As a result the framework could become
confused as to the active action mode and how to dispose of one after
it was finished.

Bug 22265882

Change-Id: I647cd41bb389fff954e33958286291065d0c828c
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
15ad53853d367f5d593bb019d88fb613878fd8fc 14-May-2015 Chris Banes <chrisbanes@google.com> Theme.AppCompat.DayNight working back to API v14

This CL enables the use of -night and -notnight resource
qualifiers, and thus allowing Theme.AppCompat.DayNight
to work on those API levels.

TwilightCalculator and TwilightManager are simplified versions
of those internally in the framework. Since we don't want to
force the use of location permissions, we have a fallback of
hardcoded 'night' time.

BUG: 21119724

Change-Id: I48ff5f0ea0c02ba60d3c2979aa9fa2997080de37
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
e00820637552c206f61427fada6b3e63d36d8496 14-May-2015 Chris Banes <chrisbanes@google.com> am 60355aff: Merge "Make sure we return consistent ActionMode instances" into lmp-mr1-ub-dev

* commit '60355aff7728301dc452369394f77c8ee756e153':
Make sure we return consistent ActionMode instances
515e5121889e182cba12ce560493834470b8a42b 13-May-2015 Chris Banes <chrisbanes@google.com> Make sure we return consistent ActionMode instances

This CL ensures that we return consistent ActionMode
instances to modes started via the framework APIs. There
were two problems:

- We needed to let the Callback know about the original
wrapped mode.
- Seems to be an issue around equals() with the wrapper.
We've now moved to a loop with explicit == check, as an
easy fix.

BUG: 17642552
Change-Id: I1cd865a6b0f7f596af3c24ce962cbbb3e4fbca21
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
f5829201b976fc650789accc22f325a2541ed478 13-Apr-2015 Chris Banes <chrisbanes@google.com> Action Mode fixes - M edition

- CABs from floating windows now display correctly
- We now let TYPE_FLOATING framework CABs through to
the window (when enabled)

BUG: 20171499
BUG: 20022929

Change-Id: I56b6f16ee62fc8f0f210da480ad1577863321470
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java
547a80d347e0dc9751bbe3cf91f947477145bdba 13-Apr-2015 Chris Banes <chrisbanes@google.com> Action Mode fixes

- Added a switch to disable native CAB handling
- They now use the correct theme
- Using a better way to intercept framework CABs
- We now only intercept on v14+.

BUG: 20171499
BUG: 20022929
BUG: 20208108

Depends on Iacffdf908b98739770f13665732d7755b14b9a25

Change-Id: Ia64beb77ba0a08186e4cdea4544cd9880bf4a4d9
/frameworks/support/v7/appcompat/src/android/support/v7/app/AppCompatDelegateImplV14.java