Deepanshu Gupta
3c00b28bf6
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
...
Cherry picked from klp-dev from
Change-Id: If1e7187645f0b0388f7b97d742395efd228b347a which was
cherrypicked from master with the following
Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit f1e7187645f0b0388f7b97d742395efd228b347a)
2014-04-25 18:58:15 -07:00
Deepanshu Gupta
b85d30a2c8
Add missing dependency in layoutlib build file [DO NOT MERGE]
...
Add missing dependency on built_ext_data
Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
(cherry-picked from commit e345507ca4b7b83c6e0446788f4404eb697f945b)
2014-04-25 18:55:47 -07:00
Deepanshu Gupta
f8144032d1
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
...
The bug caused some classes to be missed when computing the dependencies
of the existing classes.
Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
(cherry-picked from 6f9baea47757fef4745de434e09bd552fddc1f03)
2014-04-25 18:53:38 -07:00
Deepanshu Gupta
89fdc0c556
Layoutlib tests now check methods return value [DO NOT MERGE]
...
The change is a cherry-pick from klp-dev.
The change also fixes the errors found by fixing the tests.
Change-Id: I87cef323c4eaee4e9f60475f01156b276593fa50
(cherry-picked from commit bdd0ad79b9b027280bd371c7b6795b04ed89ac8f)
2014-04-25 18:50:39 -07:00
Deepanshu Gupta
d4f0073f48
Remove references to java package class Objects. [DO NOT MERGE]
...
Remove references to Java 7 class java.util.Objects and replace it with
a new class that can be loaded on Java 6.
Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704
(cherry-picked from commit 45f5cd49fa898a59484edfd8e291dbe10df82db2)
2014-04-25 18:49:40 -07:00
Deepanshu Gupta
7406e4b810
am 7947ec71: am b64732d9: Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev
...
* commit '7947ec715d8b4a0c82135553abb4947b61bf802b':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
2014-04-24 01:31:24 +00:00
Deepanshu Gupta
1668ae8d2a
am a019e772: am 6aaea1bd: Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev
...
* commit 'a019e77252f86962b9803042c01b897f7f1aa89f':
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
2014-04-24 01:31:20 +00:00
Deepanshu Gupta
e17ed92200
am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]
...
* commit '126f4057a06756fbb1c194b5d9d40f9f922d14ee':
Add view cookies for action bar menus. [DO NOT MERGE]
2014-04-24 01:31:15 +00:00
Deepanshu Gupta
b64732d977
Merge "Fix style warnings in RenderSessionImpl [DO NOT MERGE]" into klp-dev
2014-04-24 01:21:55 +00:00
Deepanshu Gupta
6aaea1bd4a
Merge "Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]" into klp-dev
2014-04-24 01:21:46 +00:00
Deepanshu Gupta
1ea1b21acd
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
...
Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)
2014-04-23 18:04:26 -07:00
Deepanshu Gupta
5ba2f230fa
Add view cookies for action bar menus. [DO NOT MERGE]
...
The change adds the view cookies for the menus rendered in the action
bar. This enables the IDE to map the menu to the relevant XML Tag in the
menu xml and show the highlighting accordingly.
The change also contains a bugfix where a method wasn't renamed
properly.
Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
(cherry-picked from commit 1001961f904bac5294aaf73a47c2497aa764bf7f)
2014-04-23 18:04:21 -07:00
Deepanshu Gupta
6f9baea477
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
...
The bug caused some classes to be missed when computing the dependencies
of the existing classes.
Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
(cherry-picked from 4a0f93bd32b8dd9b3c351680ad82e461d5111f38)
2014-04-23 16:11:57 -07:00
Deepanshu Gupta
59dfbb91ca
Fix build [DO NOT MERGE]
...
The branch is missing some CLs for 64-bit support. So, until they are
added, this change will fix the build.
Change-Id: Ia838caf60ca49b406101a3fb48a96afdcfb30c66
2014-04-17 00:14:28 -07:00
Deepanshu Gupta
16191f8c4f
resolved conflicts for merge of 0e2049cd to klp-modular-dev
...
Change-Id: I518e18d0c769a4cb5d325fc22165a8ead36e11de
2014-04-16 11:58:32 -07:00
Deepanshu Gupta
ec6676ddf6
am 86384880: am f1e71876: Fix theme/style resolution in Layoutlib [DO NOT MERGE]
...
* commit '863848808d005fe1d2fd84a2982adfc02a3fbb9f':
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
2014-04-16 18:40:55 +00:00
Deepanshu Gupta
e5d0fce7ae
am 685b7d41: am 1b87390c: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
...
* commit '685b7d4165c417ce20b1f6c49190eabcfda09940':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
2014-04-16 18:40:51 +00:00
Deepanshu Gupta
0aea46840f
am 91f2a7cb: am 5a125053: Merge changes I66792c4d,I203b6783 into jb-mr2-dev
...
* commit '91f2a7cb303a3225f68f571ea101078eed1c1f94':
Improve text rendering and measurement. [DO NOT MERGE]
Fix the measurement of text bounds. [DO NOT MERGE]
2014-04-16 18:40:41 +00:00
Deepanshu Gupta
00312846e1
am 0fe63473: am 04b4f8d1: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev
...
* commit '0fe634737b24fd8f4dc8d0f49eb15ea176242428':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
2014-04-16 18:40:37 +00:00
Deepanshu Gupta
4eeaa61f6b
am 87e14187: am fb120acd: Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev
...
* commit '87e14187111254b8842193f4f3514c0dea50967d':
Add methods for Time_Delegate [DO NOT MERGE]
2014-04-16 18:40:34 +00:00
Deepanshu Gupta
b03e1176df
am 533a52fe: am b7fd6315: Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev
...
* commit '533a52fe3bedc88483a968400cd61110bd29c704':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2014-04-16 18:40:30 +00:00
Deepanshu Gupta
90b0b69cd4
am 014ac85f: am f14cbb26: Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev
...
* commit '014ac85fecc969c205a11d1f20afe00cab713629':
Optimize layout rendering in layoutlib [DO NOT MERGE]
2014-04-16 18:40:25 +00:00
Deepanshu Gupta
d023360aa0
am 484c88c3: am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]
...
* commit '484c88c3655991759dc64276404d0cf7e33b455f':
Action bar rendering in layoutlib [DO NOT MERGE]
2014-04-16 18:36:46 +00:00
Deepanshu Gupta
2aee07124c
am e75477cb: am acf0bce0: Support custom views using TimePickerDialog [DO NOT MERGE]
...
* commit 'e75477cb3bf0f2e18c1f0bb743a6189fbc07c2a2':
Support custom views using TimePickerDialog [DO NOT MERGE]
2014-04-16 18:36:40 +00:00
Deepanshu Gupta
5a1250532f
Merge changes I66792c4d,I203b6783 into jb-mr2-dev
...
* changes:
Improve text rendering and measurement. [DO NOT MERGE]
Fix the measurement of text bounds. [DO NOT MERGE]
2014-04-16 18:34:12 +00:00
Deepanshu Gupta
04b4f8d114
Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into jb-mr2-dev
2014-04-16 18:34:04 +00:00
Deepanshu Gupta
fb120acd84
Merge "Add methods for Time_Delegate [DO NOT MERGE]" into jb-mr2-dev
2014-04-16 18:33:47 +00:00
Deepanshu Gupta
b7fd631532
Merge "Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]" into jb-mr2-dev
2014-04-16 18:33:32 +00:00
Deepanshu Gupta
f14cbb26ed
Merge "Optimize layout rendering in layoutlib [DO NOT MERGE]" into jb-mr2-dev
2014-04-16 18:33:11 +00:00
Deepanshu Gupta
bdd0ad79b9
Layoutlib tests now check methods return value [DO NOT MERGE]
...
The change is a cherry-pick of relevant fixes from the following
commits on master branch:
the followning commits:
9be03c4e980d3058aeb3fd730da5f7d4a4a4f8a8 and
e05bb956ce429618fd4f971a9dc708b9313c59ea
Change-Id: I87cef323c4eaee4e9f60475f01156b276593fa50
2014-04-15 20:03:20 -07:00
Deepanshu Gupta
f1e7187645
Fix theme/style resolution in Layoutlib [DO NOT MERGE]
...
Change-Id: Icfb91e566666408802dadc0e2070991151b16b9d
(cherry picked from commit bfec73c2db5a34ced248213edf5519c80727a65f)
Conflicts:
core/java/android/content/res/Resources.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
2014-04-15 20:03:19 -07:00
Deepanshu Gupta
1b87390c94
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
...
Adds MenuBuilderAccessor in addition to the cherry-picked changes.
Change-Id: Ib7cc314079099c010f7d53849e204db36c410357
(cherry-picked from commit 929eea6bc1824bf98d244550c0984ecf8ea98811)
2014-04-15 20:02:49 -07:00
Deepanshu Gupta
4ccc4bd54f
Action bar rendering in layoutlib [DO NOT MERGE]
...
This also makes a couple of changes to the framework:
1. ShareActionProvider - Use edit mode to execute activity chooser code.
2. ActionBarImpl - add a new constructor for use by layoutlib.
This also relies on some changes to the plugin to pass the correct params.
Change-Id: Ia30fef816afd91ec1e439734d56b59b1323bfee2
(cherry-picked from 14bf0cef7eeed572a67c29a328581afac4decc20)
2014-04-15 20:02:48 -07:00
Deepanshu Gupta
acf0bce09f
Support custom views using TimePickerDialog [DO NOT MERGE]
...
Bug: http://b.android/com/61515
Change-Id: I0dc3357be0c058adde9d3ea5b6796004b786fd34
(cherry picked from commit 86e5218220a0e01f7eb574a2480bd91f9ebfae35)
2014-04-15 19:53:54 -07:00
Jeff Brown
a5c8d586f6
Fix build break due to layout lib.
...
Change-Id: I87b40125adad0a799214f6ebf0dc04ec7903efbf
2014-04-11 22:09:06 -07:00
Deepanshu Gupta
e2dc698568
am f1334ccc: am 849a8208: Add DatePickerDialog to layoutlib [DO NOT MERGE]
...
* commit 'f1334ccc1522241c0efc2449ed8bf472a5b01204':
Add DatePickerDialog to layoutlib [DO NOT MERGE]
2014-04-12 02:26:09 +00:00
Narayan Kamath
af42a91c11
Fix another build breakage.
...
Caused by 037c33eae74bee2774897d969d48947f9abe254f, which
was submitted without a checkbuild.
Change-Id: I0d48f6b941cc98a30904cdfbd7bcb56ed509734e
2014-04-11 11:31:07 +00:00
Deepanshu Gupta
849a8208c8
Add DatePickerDialog to layoutlib [DO NOT MERGE]
...
Includes android.app.DatePickerDialog in the layoutlib.jar
Bug: http://b.android.com/28318
Change-Id: I583dde4a8b88204bf98bfca8d91470e1aa4719ce
(cherry picked from commit c2016d4073c61e87439d4fa14837b397a3c1630a)
2014-04-10 00:21:57 +00:00
John Spurlock
5c31e487c4
Merge "Introduce new UI_MODE_TYPE_WATCH and qualifier." into klp-modular-dev
2014-04-04 19:24:09 +00:00
John Spurlock
6c191299a7
Introduce new UI_MODE_TYPE_WATCH and qualifier.
...
Default ui mode to watch if we have FEATURE_WATCH.
Bug:13395758
Change-Id: Ie5ff95de60e69e91ad3612c7d2f1fca7f49061bd
2014-04-04 15:21:53 -04:00
Deepanshu Gupta
9bcfee1d3e
am 30e59135: am c07a48be: Merge "Fix a bug in Nine Patch library. [DO NOT MERGE]" into jb-mr2-dev
...
* commit '30e59135b11d196cac2edd97d1ccca3471f3e398':
Fix a bug in Nine Patch library. [DO NOT MERGE]
2014-04-04 02:01:58 +00:00
Deepanshu Gupta
d8b890da78
am af60289e: am 70dfe865: Merge "Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]" into jb-mr2-dev
...
* commit 'af60289e692b6b598d550371cc6e41e0b40dd6cd':
Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]
2014-04-04 02:01:55 +00:00
Deepanshu Gupta
8152502e93
am 07d5f94e: am 2eb5f9e5: Merge "Add libphonenumber to layoutlib.jar. [DO NOT MERGE]" into jb-mr2-dev
...
* commit '07d5f94e6b8a6d3f9caca057830e5cbd4cfa7dac':
Add libphonenumber to layoutlib.jar. [DO NOT MERGE]
2014-04-04 02:01:51 +00:00
Deepanshu Gupta
29b4986ecc
am 5c77c126: am b6588c52: Merge "Fix NPE in layoutlib. [DO NOT MERGE]" into jb-mr2-dev
...
* commit '5c77c126b258924961a4a9c784177b4bcd403dd0':
Fix NPE in layoutlib. [DO NOT MERGE]
2014-04-04 02:01:48 +00:00
Deepanshu Gupta
ce393373b7
am ef9f3043: am 3bc5b23f: Merge "Fix layoutlib [DO NOT MERGE]" into jb-mr2-dev
...
* commit 'ef9f3043f5259fa55376a1522152779295e15da6':
Fix layoutlib [DO NOT MERGE]
2014-04-04 02:01:45 +00:00
Deepanshu Gupta
99939cce70
am 6094daa2: am ba0ce056: Merge "Fix text size in Fake Action Bar. [DO NOT MERGE]" into jb-mr2-dev
...
* commit '6094daa2626e57c6bd24409f0934090581541e49':
Fix text size in Fake Action Bar. [DO NOT MERGE]
2014-04-04 02:01:42 +00:00
Deepanshu Gupta
c07a48bed2
Merge "Fix a bug in Nine Patch library. [DO NOT MERGE]" into jb-mr2-dev
2014-04-04 00:45:45 +00:00
Deepanshu Gupta
70dfe86501
Merge "Add missing files to fix libphonenumber for layoutlib. [DO NOT MERGE]" into jb-mr2-dev
2014-04-04 00:45:29 +00:00
Deepanshu Gupta
2eb5f9e5b2
Merge "Add libphonenumber to layoutlib.jar. [DO NOT MERGE]" into jb-mr2-dev
2014-04-04 00:45:13 +00:00
Deepanshu Gupta
b6588c5224
Merge "Fix NPE in layoutlib. [DO NOT MERGE]" into jb-mr2-dev
2014-04-04 00:44:02 +00:00