fixes: 30013642
Refactor Fragment to not be anonymous, support lib hates those.
Change-Id: Ia0e282b4b5ff7abf1a50b42ad2497d3c3344ccbc
(cherry picked from commit 9f0fa995c57cedf4e4a707955e55e17ea9116ffe)
1) Drop cache between app launches Bug 29564205
2) Trace capture while launching app Bug 26779882
3) Simple Perf while launching app Bug 29249860
4) Launch order which could be cyclic or sequential
Change-Id: I0c883e7feb7e07474b045835fd56a97d8a126552
Moved the logic for talking to the system service into a service in the
app - this now lets you close the activity and still be able to receive
events. Additionally, we get CLI support using commands with the intent
com.android.intent.action.MANAGE_SOUND_TRIGGER.
Bug: 29073629
Change-Id: Ie904b73b4414f2c9fded013aeb5e6c6c3a67f5d3
fixes: 30015965
Changes ListFragment to no longer be anonymous (so it can be properly
recreated from instance state).
Change-Id: I521fb9bf7306a07d5179ad945d64e8977640cc5b
(cherry picked from commit 0ede07d4bd59b4a2108fda1cd4ab767cc0058fb8)
When activity transition triggers a rotation change, the starting
window will normally be the top window at the time we try
to select the window animation. However, these layout params won't
have the apps rotation animation set (as the client code will set that
on the real window, not the starting window). Eventually we would
like to add API to specify rotation animation via manifest to solve
this problem cleanly. In the mean time, we can force a specific rotation
animation from the double tap gesture, and clean up some camera
ugliness. We accomplish this by attaching an animation hint to
ActivityOptions.
Bug: 28838855
Change-Id: If052cd8cbae76651da43f3b4c590cd9dcc1afc0f
( cherry-pick 07630f6bd3dbc91e2622cedfd1a21822b5f1f4b5 )
This permits sharing of test components used in connectivity tests.
Rename the MockLooper to TestLooper, reflecting that it is not a
true mock, but a manually controlled Looper for use in tests.
Bug: 28848133
Test: Tests consuming this library pass.
Change-Id: I57e11f9544c7bffdb02739ab2a921512b1b11874
Adjust test wallpaper to use these attributes.
Also fix some issues where wallpaper got laid out differently in the preview
mode.
Bug: 28770685
Change-Id: I259f3884f5f2c0b723a6a5ce012d45170f64c4c7
Bug: 28786023
Fixes an issue where the first couple frames would
be extremely slow due to the simpleness of HWUI's
overdraw rejection optimization.
Change-Id: I1fe3d83f7e2e0eb3299124b00b9f877c2c3aebf9
-Switch to material style handles.
-Delete old handles.
-Remove the unrelated use of old handle in a test.
Bug: 28723844
Change-Id: I268c2672df541e5a1cdcdeb6712289fe06c06d5f
Current harness performs one round of app launch as a "warm up", and
does not include that into final app launch time calculation. This
change skips this process so that it can speed up local test run
investigation.
Change-Id: I0b1948b2247d9f7e442e799d537508fba6dfa508
Bug: 28428970
Test for video sources and fix a bug where
we should throw an IAE for surfaces that are invalid
at request time.
Change-Id: I891a2b1568f583300433c7aca6de36d2e2621c63
bug:27098060
Snap SurfaceView positions to safely align to pixel boundaries.
Also expands MovingSurfaceViewActivity to support a scaling option, and
show problems more clearly.
Change-Id: Ic8e9c1e2f80c2c653bf4428e373f14528ddbce81
Introducing a new callback in VoiceInteractionSession to
provide assist data for additional activities in the
foreground in a multiwindow setup.
PIP, docked windows and free-form windows (top-most)
will be queried for assist data and passed through the
new API to the Voice Interaction service.
Bug: 27718385
Change-Id: Ib4427c304611b75c2078dcb54f1f7e47ae7d9cfa
Now supports loading model information from .properties files inside the
app's data directory. This lets you prepare models for your actual
device, rather than just fake data. If no .properties files are present,
falls back to the default fake three models.
Also adds support for playing some trigger audio, so you can use the
same device to (hopefully) have a trigger be detected.
Change-Id: I003849eb11d4995534d4c070838810d4519991f8
This will make the reproducing and isolating the bug easier b/c everything is
in one single file.
b/27343522
Change-Id: I25445127f6fb44a8613701a7195a605e052730e5