| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a race in the system process between applying the initial
configuration and executing code in higher-level system services
like the app widget service that relies on the config. For some
reason it starting showing up more after my code changes; it should
now be completely fixed.
Also fix the activity starting window to run in compatibility mode
if its application is going to be in compatibility mode.
And some various cleanup and small fixes.
Change-Id: I0566933bf1bbb4259c1d99a60c0a3c19af1542e5
|
|
|
|
|
|
| |
Change-Id: I40d57e4354e48accc1027c9f90916ea73eb5190d
android:requiresSmallestWidthDp provides the smallest supported width.
android:compatibleWidthLimitDp provides the largest compatible width.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First step of improving app screen size compatibility mode. When
running in compat mode, an application's windows are scaled up on
the screen rather than being small with 1:1 pixels.
Currently we scale the application to fill the entire screen, so
don't use an even pixel scaling. Though this may have some
negative impact on the appearance (it looks okay to me), it has a
big benefit of allowing us to now treat these apps as normal
full-screens apps and do the normal transition animations as you
move in and out and around in them.
This introduces fun stuff in the input system to take care of
modifying pointer coordinates to account for the app window
surface scaling. The input dispatcher is told about the scale
that is being applied to each window and, when there is one,
adjusts pointer events appropriately as they are being sent
to the transport.
Also modified is CompatibilityInfo, which has been greatly
simplified to not be so insane and incomprehendible. It is
now simple -- when constructed it determines if the given app
is compatible with the current screen size and density, and
that is that.
There are new APIs on ActivityManagerService to put applications
that we would traditionally consider compatible with larger screens
in compatibility mode. This is the start of a facility to have
a UI affordance for a user to switch apps in and out of
compatibility.
To test switching of modes, there is a new variation of the "am"
command to do this: am screen-compat [on|off] [package]
This mode switching has the fundamentals of restarting activities
when it is changed, though the state still needs to be persisted
and the overall mode switch cleaned up.
For the few small apps I have tested, things mostly seem to be
working well. I know of one problem with the text selection
handles being drawn at the wrong position because at some point
the window offset is being scaled incorrectly. There are
probably other similar issues around the interaction between
two windows because the different window coordinate spaces are
done in a hacky way instead of being formally integrated into
the window manager layout process.
Change-Id: Ie038e3746b448135117bd860859d74e360938557
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug #4092053
The problem always existed but was made visible by partial invalidation.
When saving a layer, the renderer would try to postpone glClear()
operations until the next drawing command. This however does not work
since the clip might have changed. The fix is rather simple and
simply gets rid of this "optimization" (that turned out to be
usless anyway given how View issues saveLayer() calls.)
This change also fixes an issue with gradients (color stops where
not properly computed when using a null stops array) and optimizes
display lists rendering (quickly rejects larger portions of the
tree to avoid executing unnecessary code.)
Change-Id: I0f5b5f6e1220d41a09cc2fa84c212b0b4afd9c46
|
|/
|
|
|
|
|
|
|
| |
This is a simple test app (a clone of the Backup/Restore sample code)
that deliberately backs up 20 megabytes of data every time it performs
a backup pass. This is to trigger the quota-exceeded logic both on
the client and on the backend, for testing purposes.
Change-Id: I01f04d0f85c827baadf1990c09643d5eb5f88266
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug #3461349
This change also fixes two bugs that prevented partial invalidates
from working with other views. Both bugs were in our EGL implementation:
they were preventing the caller from comparing the current context/surface
with another context/surface. This was causing HardwareRenderer to always
redraw the entire screen.
Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
|
|
|
|
| |
Change-Id: Id9a082d2def803eb527e1987875e0d8a22c6e8aa
|
|
|
|
| |
Change-Id: I7d8e20a17513f167eae3681d77463c01f4fa24a7
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug #3410827
Change-Id: Ic8b4f6201af94497bba86c75819588c78debddc2
|
|\ \
| | |
| | |
| | | |
scheme URLs"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Needs https://android-git.corp.google.com/g/83647 in external/webkit,
which disallows such cookies by default and provides configuration
methods native side.
Also updates TestShellActivity to allow such cookies, as they are
required for the page cycler.
Bug: 2944150
Change-Id: Idcc7e2812fab33e6a2a8766a2176bc3278e617da
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
These aren't being run.
Change-Id: I9afc617a424c675578185ac66a4f6ac3af9afacf
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This avoids problems with LayoutTests fast/frames/lots-of-iframes.html and fast/frames/lots-of-objects.html
Bug: 3440578
Change-Id: Ic045141f986baf779ffc9eec804ba994ce0d0fbe
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
http/tests/xmlhttprequest/simple-cross-origin-progress-events.html from skipped list
This test no longer crashes, so we should no longer skip it.
Bug: 2929261
Change-Id: I808926c3dce2e9a01d6c190a18187d9ca965b662
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
empty. Bug #3410035" into honeycomb
* commit '80038fbcf629936852afba0054b26939a3a9835a':
Empty the clip rect when intersection is empty. Bug #3410035
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #3410035
Change-Id: I5ceb80514d3b20c9ad230478549ad31ced403d53
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.
The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).
Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).
Bug: 3412807
Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
#3413433" into honeycomb
* commit '109da7dfd4c0766274b17467880ee673c731735c':
Allocate layers from the layers pool. Bug #3413433
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #3413433
This change will be beneficial to Launcher to avoid hiccups when
swiping pages of icons. When a layer is discarded, it is kept
in the layers pool instead of being destroyed right away. This
favors memory reuse over allocations.
Change-Id: Ifb6944ba83d6ceb67c331527c0827b26ce648eb1
|
|/ /
| |
| |
| |
| | |
Bug: 3392028
Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug #3413433
Launcher now enables layers all the time, but in some cases (for instance, when the
workspace is not scrolling,) it is more efficient to draw without the layer.
Change-Id: I625fb5b48506acda9ae75356fdbbe812c85f2aab
|
| |
| |
| |
| |
| |
| | |
Bug #3410819
Change-Id: I3ebaca2233f4edf5b59d84ec7706555056a1a4b1
|
| |
| |
| |
| |
| |
| |
| | |
fields.
Bug: 3363046
Change-Id: I50ba06ed9a4d2f5d0e0c807437aea9900f44fee9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Clock color fixed. [3374581]
- Clock vertically aligned. [3388224]
- Clock uses system font assets now. [3385564]
- Solid version of AndroidClock added to build. [3385564]
- Extraneous background glow removed from notification panel.
- Removed solid black background from notifications. [3388223]
- Added background image behind large notification icons
and increased large size to 64dip [3388434, 3384355]
- Corrected size & leading of notification text [3388577]
Bug: 3374581
Bug: 3384355
Bug: 3385564
Bug: 3388223
Bug: 3388224
Bug: 3388434
Bug: 3388577
Change-Id: I8e443da5758deca412d1ce5944f887b35f6265ed
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
gcSoftReferences methods are being obsoleted, so we need a different
approach to wait for gc: create a CountDownLatch and release it in
a dummy object's finalizer, call gc and await on the CDL.
Change-Id: I54d9e6bc05540b16ee1f3959ace9008041ac4903
|
| |
| |
| |
| | |
Change-Id: Ie8be06c4776b815e8737753eb8003b4fd8936130
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Remove mDeferMultiTouch in WebView, it was for testing only but
we don't need it now since we always pass MultiTouch to WebKit.
2. Remove the use of mDeferMultiTouch in DRT tests.
3. Correct the index of getX(Y) for the second touch point in the
debug string of MotionEvent.
Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself. (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)
2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.
Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829
|
| | |
| | |
| | |
| | | |
Change-Id: Ie226d049840942d9ad9cf58e0c19132f49d62a75
|
| | |
| | |
| | |
| | | |
Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
|
|/ /
| |
| |
| | |
Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
|
|\ \
| | |
| | |
| | | |
integers." into honeycomb
|
| | |
| | |
| | |
| | | |
Change-Id: If4da01046c909667ce57a849569ae6b1acefb939
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
These tests were migrated to libcore in change ID I5a6bcdf1c03d0c36b11552ae086d0dece0440f64.
Change-Id: Idc2d8fc3681b77c9a4c19a192a202bc556a48d23
|
| | |
| | |
| | |
| | | |
Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes failure seen in fast/cookies/local-file-can-set-cookies.html
Change-Id: I08b8a0fcf87003fa4621dce08604bf42e70e4635
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
/mnt/sdcard forces lowercase, but these tests verify
the capitialization of the filename. We will never pass them
with DRT1 while storing tests on external storage. DRT2 will
fix this as it does not store any files locally (hence DRT2's
ignore list is unchanged).
Change-Id: Ia062ad77ad312a34db61d606a1d1382ac1d7b70e
|
|/ /
| |
| |
| | |
Change-Id: I6cedf2b495d58de7c0437096809fa9e4518a1b8c
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #3369474
Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
|
|/ /
| |
| |
| |
| |
| | |
apparently these calls may deadlock as well...
Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
|
| |
| |
| |
| |
| |
| | |
Bug #3360888
Change-Id: I42e81a1f10bf7b9ae1c63ca8add1878fd59a1e8a
|