Commit Graph

18793 Commits

Author SHA1 Message Date
Jae Seo
5b905d4706 am 052b1d4a: Merge "Support7Demos: Update the MediaRouter demo" into mnc-ub-dev
* commit '052b1d4aeb2221a4efc0d260c7d5054d8141957b':
  Support7Demos: Update the MediaRouter demo
2015-10-07 17:39:29 +00:00
Jae Seo
052b1d4aeb Merge "Support7Demos: Update the MediaRouter demo" into mnc-ub-dev 2015-10-07 17:33:47 +00:00
Jae Seo
2bd1f62c4c Support7Demos: Update the MediaRouter demo
Change-Id: I661e17073bd71e45610360bbf5b372eaf41c4fe3
2015-10-07 10:33:09 -07:00
Dake Gu
eb3e19ba2b am 0750ff8d: SupportLeanbackShowcase: performance fix of ImageCardView resource
* commit '0750ff8d6b237fb471e126bebab7d858a57cf195':
  SupportLeanbackShowcase: performance fix of ImageCardView resource
2015-10-07 02:35:19 +00:00
Dake Gu
4b2fccb81d am 7d120188: SupportLeanbackShowcase: dont expand side info
* commit '7d120188cade375a43257bf552c33c9cb50d0c5a':
  SupportLeanbackShowcase: dont expand side info
2015-10-07 02:35:18 +00:00
David Pursell
7cb91d839f am d427f1e5: Merge changes Ibe3db0be,I65e77f91
* commit 'd427f1e5f538537b78361c1fc905e8694f1f85a1':
  gdbclient.py: set PWD when querying makefiles.
  gdbclient.py: add gdb connect retry.
2015-10-06 21:35:16 +00:00
Dake Gu
0750ff8d6b SupportLeanbackShowcase: performance fix of ImageCardView resource
Use Picasso to load Image in background thread instead of decoding
Bitmap in UI thread.

Change-Id: Ib798d167108f8445b3898cab72dc7dfabfe13c8a
2015-10-06 13:46:42 -07:00
David Pursell
d427f1e5f5 Merge changes Ibe3db0be,I65e77f91
* changes:
  gdbclient.py: set PWD when querying makefiles.
  gdbclient.py: add gdb connect retry.
2015-10-06 17:16:29 +00:00
David Pursell
d1fe92f375 gdbclient.py: set PWD when querying makefiles.
Python's subprocess.check_output() cwd argument does not change the PWD
environmental variable, which is what dumpvar.mk uses to turn relative
paths into absolute paths. This led to incorrect symbol paths when
gdbclient was not run from the root directory.

This CL fixes the bug by manually setting PWD before calling the
makefile. It's possible that dumpvar.mk should be using a different
method to get the current directory, but I was scared to change any
core build logic and this approach seems to work just fine.

Change-Id: Ibe3db0bef6694934c512918f7562029313b1deae
2015-10-06 09:18:47 -07:00
David Pursell
320f881efe gdbclient.py: add gdb connect retry.
gdbclient.py can sometimes attempt to connect to the server before it's
ready, especially when debugging on an emulator. This CL adds
functionality to retry the connection for up to 5 seconds.

Bug: http://b/24671386
Change-Id: I65e77f918c3ea8433f992e67122cd48e3647c67b
2015-10-06 09:18:36 -07:00
Dake Gu
b5cc09db06 am c8ad1e52: Leanback Demo: demo of edit title
* commit 'c8ad1e5263382c7d048349c1d63fd888f3926477':
  Leanback Demo: demo of edit title
2015-10-06 01:21:04 +00:00
Dake Gu
7d120188ca SupportLeanbackShowcase: dont expand side info
Transition animation isn't right.  Browse fragment hasn't implemented
the pre-layout for row children horizontal layout change.

Change-Id: Ib4f55651c3f568ad9224c474036663f35935c4e3
2015-10-05 18:15:17 -07:00
Dake Gu
c8ad1e5263 Leanback Demo: demo of edit title
Bug 24673827

Change-Id: I1e4d9378cc862d748055387a71129692bd4cf53b
2015-10-05 14:21:47 -07:00
Josh Gao
f45bf7a1c2 am f57d35ca: am f1b53b58: Merge "Make gdbclient.py work in directories other than the root."
* commit 'f57d35cae447e8f8bf4c2dfc2bf7c4c7c236e483':
  Make gdbclient.py work in directories other than the root.
2015-10-03 00:51:00 +00:00
Josh Gao
f57d35cae4 am f1b53b58: Merge "Make gdbclient.py work in directories other than the root."
* commit 'f1b53b587871a16d2f444a77ea7256e6f8778c7e':
  Make gdbclient.py work in directories other than the root.
2015-10-03 00:43:19 +00:00
Josh Gao
f1b53b5878 Merge "Make gdbclient.py work in directories other than the root." 2015-10-02 23:23:42 +00:00
Josh Gao
6382f1768a Make gdbclient.py work in directories other than the root.
Change-Id: I8e383052e15f41919c7107bf960092120d2c621c
2015-10-02 15:58:57 -07:00
Josh Gao
56261ccbab am 09fdebad: am 9c2057ab: Merge "Add python reimplementation of gdbclient."
* commit '09fdebad455492fff3fb402a789b9c3ce7012389':
  Add python reimplementation of gdbclient.
2015-10-01 22:59:53 +00:00
Dake Gu
f3a519dc24 am 6fe262da: Supportleanbackshowcase: Polishing 2 and transition performance fix
* commit '6fe262dae987f9c11cbf5f839a31f10936e40495':
  Supportleanbackshowcase: Polishing 2 and transition performance fix
2015-10-01 22:18:29 +00:00
Josh Gao
09fdebad45 am 9c2057ab: Merge "Add python reimplementation of gdbclient."
* commit '9c2057ab43eda5679906acde0329d82b8a942d50':
  Add python reimplementation of gdbclient.
2015-10-01 22:11:34 +00:00
Dake Gu
6fe262dae9 Supportleanbackshowcase: Polishing 2 and transition performance fix
Move background of browse/details/music from layout to windowBackground.
Setting background on view will cause the whole RelativeLayout being
faded in while transition move content inside the RelativeLayout.
The RelativeLayout does not have a hardwarelayer, nor does it specify
hasOverlappingRendering=false.  This falls to the slowest rendering
path.

Change-Id: I78bacc965e641d7f960aae5cf212c29f6b1f0f11
2015-10-01 15:10:07 -07:00
Dake Gu
62e7a953da am ab2a8a7d: Supportleanbackshowcase: Polishing
* commit 'ab2a8a7dae6fae5bc97240c47a68d6a7b93221b1':
  Supportleanbackshowcase: Polishing
2015-10-01 21:50:34 +00:00
Dake Gu
ab2a8a7dae Supportleanbackshowcase: Polishing
Support staggered slide in/out transition for VerticalGrid.

Move background from layout file to windowBackground in theme.  Defining
background on view conflicts with transitions.

Change-Id: If823f492fd5bdd0b16c1d1e735f4214f925f3ae3
2015-10-01 14:36:25 -07:00
Josh Gao
9c2057ab43 Merge "Add python reimplementation of gdbclient." 2015-10-01 21:31:39 +00:00
Josh Gao
043bad746f Add python reimplementation of gdbclient.
Bug: http://b/23715403
Bug: http://b/22946322
Bug: http://b/22946705
Bug: http://b/22120411
Bug: http://b/22715953
Change-Id: I2391ec03be8d2487a4738455b6e934874c7f595f
2015-10-01 14:30:29 -07:00
Dake Gu
fc1a4c005e am 8ab0d48a: Merge "Showcase: Update SDK to 23 and support lib to 23.0.1" into mnc-ub-dev
* commit '8ab0d48a61987446c782d2d5816c522b2768adc6':
  Showcase: Update SDK to 23 and support lib to 23.0.1
2015-10-01 21:11:25 +00:00
Dake Gu
385da6e433 am 2e3684e0: GuidedStepFragment Subclass need explcitly specify a container id for background
* commit '2e3684e0077ffd43b8cdba390e8c767e2e058dc6':
  GuidedStepFragment Subclass need explcitly specify a container id for background
2015-10-01 21:04:09 +00:00
Dake Gu
8ab0d48a61 Merge "Showcase: Update SDK to 23 and support lib to 23.0.1" into mnc-ub-dev 2015-10-01 20:59:29 +00:00
Dake Gu
5bf3eba9dd Showcase: Update SDK to 23 and support lib to 23.0.1
Updated for new API addAsRoot() for GuidedStepFragment.
Rmove the awkward setStep() call,  we can find current GuidedStepFragment
using standard API.

Change-Id: I7ecb108a36ab5d0091c230dd5c5686e3a91f1857
2015-10-01 12:59:41 -07:00
Dake Gu
2e3684e007 GuidedStepFragment Subclass need explcitly specify a container id for background
After fixed Bug 24570987

Change-Id: I1ec51f8ea39b21e4d547e923386dd357a538ff4a
2015-10-01 11:46:10 -07:00
Dake Gu
f1982aafdf am 8894dc71: Merge "Generate test for PlaybackOverlaySupportFragment" into mnc-ub-dev
* commit '8894dc714abc615cf5de44c00ac4a9158de4f496':
  Generate test for PlaybackOverlaySupportFragment
2015-10-01 18:19:45 +00:00
Dake Gu
8894dc714a Merge "Generate test for PlaybackOverlaySupportFragment" into mnc-ub-dev 2015-10-01 18:16:10 +00:00
Dake Gu
245f6c0481 am fedab48a: Merge "Generate support version of leanback fragment tests" into mnc-ub-dev
* commit 'fedab48a803f3548c40ddea7de8e00c88f6be2cb':
  Generate support version of leanback fragment tests
2015-10-01 17:58:55 +00:00
Dake Gu
fedab48a80 Merge "Generate support version of leanback fragment tests" into mnc-ub-dev 2015-10-01 17:53:47 +00:00
David Pursell
6920f027a9 am 7d2519e1: am 07006ce7: Merge "adb: make shell protocol work again."
* commit '7d2519e10f3342e89f69b004442d4cb7716df3c4':
  adb: make shell protocol work again.
2015-10-01 15:44:19 +00:00
David Pursell
7d2519e10f am 07006ce7: Merge "adb: make shell protocol work again."
* commit '07006ce756c6bf8cff745ca85dafb89ebcba37f6':
  adb: make shell protocol work again.
2015-10-01 15:38:31 +00:00
David Pursell
07006ce756 Merge "adb: make shell protocol work again." 2015-10-01 15:34:29 +00:00
David Pursell
46e268e990 adb: make shell protocol work again.
http://r.android.com/173810 changed the shell feature name. This CL
updates the python scripts to re-enable shell protocol tests, and adds
an additional test for `adb shell -x`.

Change-Id: I961adf7abd1782ea98f3f82d8af11dcaa02f9570
2015-09-30 17:22:32 -07:00
Josh Gao
123926f712 am 285bb8dd: am b9184809: Merge changes from topic \'gdbclient.py\'
* commit '285bb8ddef8f8b73a9a80ee5d3bd7a3ae68bc60b':
  Add gdbrunner package for shared functionality.
  Add get_props to adb.py's AndroidDevice.
  Add remount to adb.py's AndroidDevice.
  Add shell_popen method to adb.py.
  Add helper functions for `adb -e/-d` to adb.py.
2015-09-30 21:53:03 +00:00
Josh Gao
285bb8ddef am b9184809: Merge changes from topic \'gdbclient.py\'
* commit 'b9184809e7e3305d49a7a5a1c237538d9efec15a':
  Add gdbrunner package for shared functionality.
  Add get_props to adb.py's AndroidDevice.
  Add remount to adb.py's AndroidDevice.
  Add shell_popen method to adb.py.
  Add helper functions for `adb -e/-d` to adb.py.
2015-09-30 21:47:37 +00:00
Josh Gao
b9184809e7 Merge changes from topic 'gdbclient.py'
* changes:
  Add gdbrunner package for shared functionality.
  Add get_props to adb.py's AndroidDevice.
  Add remount to adb.py's AndroidDevice.
  Add shell_popen method to adb.py.
  Add helper functions for `adb -e/-d` to adb.py.
2015-09-30 21:39:32 +00:00
Josh Gao
75b0383747 Add gdbrunner package for shared functionality.
This deduplicates code between gdbclient.py and ndk-gdb.py.

Bug: http://b/23715403
Change-Id: I6ee61b466aaf3cde8f6b26b11bfa95761821cb6d
2015-09-30 14:36:35 -07:00
Josh Gao
87df6ff2c8 Add get_props to adb.py's AndroidDevice.
Saves adb shell roundtrips if multiple properties are needed.

Change-Id: I3a9fc0354b6eb0ee5389984e3f345c380404658c
2015-09-30 14:36:35 -07:00
Josh Gao
cac4e977bb Add remount to adb.py's AndroidDevice.
Change-Id: If1e17a49e81af840b76eab52db89bc9de09958fe
2015-09-30 14:36:35 -07:00
Josh Gao
21f984939b Add shell_popen method to adb.py.
This is mostly to allow backgrounding of processes run through adb
(gdbserver in particular).

Bug: http://b/23715403
Change-Id: I47fbebbd05d58044b4c447ffa86e0ab97d920278
2015-09-30 14:36:35 -07:00
Josh Gao
a8731c4be0 Add helper functions for adb -e/-d to adb.py.
Bug: http://b/22946322
Change-Id: I847f561d617b17f4e6323e0abb46dd270d041782
2015-09-30 14:36:35 -07:00
Dake Gu
c7e4f19c33 Generate test for PlaybackOverlaySupportFragment
Change-Id: Ia3064006f3fb3fc4fd5230ff3ab24a7c4ba2470f
2015-09-30 13:41:45 -07:00
Dake Gu
48b4a134a4 Generate support version of leanback fragment tests
Include all leanback support version of fragment except
PlaybackOverlayFragment missing a support version of PlaybackControlHelper.

Change-Id: Icb5c99e8677630e8541b22b009051dd3908d4f35
2015-09-30 11:26:37 -07:00
Baligh Uddin
6cbc145b88 am b0ee9061: (-s ours) Import translations. DO NOT MERGE
* commit 'b0ee90619ef2a1db128595f01d227e8bcf44169c':
  Import translations. DO NOT MERGE
2015-09-29 14:57:55 +00:00
Baligh Uddin
b0ee90619e Import translations. DO NOT MERGE
Change-Id: Ieab33dfa47bf841f8cace05800a132f46f1c7541
Auto-generated-cl: translation import
2015-09-29 02:38:56 -07:00