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
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
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
Xavier Ducrohet
76c484de88
am d93b0b67: am e448bcf7: Merge "Add missing dependency in layoutlib build file [DO NOT MERGE]" into klp-dev
...
* commit 'd93b0b67754f6d06407086278298f44156458216':
Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-04-03 22:17:10 +00:00
Deepanshu Gupta
e345507ca4
Add missing dependency in layoutlib build file [DO NOT MERGE]
...
Add missing dependency on built_ext_data
Change-Id: I4e7cca7f6cbc7f5b7416ac9b85a9aec01e61ecd4
(cherry picked from commit 411b9691e39c0bdd0dafdda7db2737b99b45769e)
2014-03-31 23:15:52 +00:00
Tim Kilbourn
b559b37150
Merge "Dump leanback info in aapt dump badging." into klp-modular-dev
2014-03-08 00:55:48 +00:00
Tim Kilbourn
0a5a5d6996
Dump leanback info in aapt dump badging.
...
Leanback launcher activities are reported, including the banner.
Change-Id: Ifa496736ad3ba4239ec95e166768af895ff4dc53
2014-03-07 16:47:42 -08:00
Ying Wang
74bebf6fae
Exclude the host aapt and aidl from PDK build.
...
Bug: 13028632
Change-Id: I0f774b19be77462d0fa271088a4a5a152729d13c
2014-03-07 15:56:14 -08:00
Xavier Ducrohet
9edf7a1159
am 2cb9147f: am 55542ee6: am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev
...
* commit '2cb9147fc49e6474eaf30fd833e43df10e42b899':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
2014-02-20 17:49:32 +00:00
Deepanshu Gupta
65521c3cf1
am ca4b9a77: am e92c8542: am 01825b7a: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
...
* commit 'ca4b9a77e7d20703287b33b203b2582bd43f7792':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2014-02-20 17:49:27 +00:00
Xavier Ducrohet
2cb9147fc4
am 55542ee6: am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev
...
* commit '55542ee6449bd580f61bc005726b5c87773fbe25':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
2014-02-20 17:46:05 +00:00
Deepanshu Gupta
ca4b9a77e7
am e92c8542: am 01825b7a: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
...
* commit 'e92c8542a5cf1160a1b701b9f176af64ba46d68d':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2014-02-20 17:46:02 +00:00
Xavier Ducrohet
3e6370425e
Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev
2014-02-20 17:41:08 +00:00
Deepanshu Gupta
01825b7aa3
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
...
For these font families, text was always rendered as italic. This
changeset fixes the issue.
Bug: http://b.android.com/57221
Change-Id: Ic8a299bd1e555f5bb914cd3d2fe72917ec7f471a
(cherry picked from commit e327212adde1136807bbdf052e8cc3861f8a6aba)
2014-02-19 20:17:47 +00:00
Deepanshu Gupta
13aea18b34
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
...
If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.
Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
(cherry picked from commit 0acfb16dcd95468fe032204f54618e86becfd1eb)
2014-02-19 20:17:00 +00:00
Deepanshu Gupta
d9f9da396b
am 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.
...
* commit '56b86debcfaf8f661011702d31854bb3804f5fe1':
Improve text rendering and measurement.
2014-02-10 19:53:48 +00:00
Deepanshu Gupta
56b86debcf
am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.
...
* commit '1c91b1f7a2da5e5b1996217228399ef958c2be0c':
Improve text rendering and measurement.
2014-02-10 19:50:58 +00:00
Deepanshu Gupta
45dbfcc781
Improve text rendering and measurement.
...
1. Fix a bug where baseline of the run was modified while rendering
resulting in crooked text in some cases.
2. Use GlyphVector.getLogicalBounds() for text measurement which is more
accurate than getVisualBounds().
3. This change also optimizes text rendering by not computing the advances
for individual glyphs when not needed.
Change-Id: I66792c4d8f50eaf29afa70bccca1e6c812a3fa28
2014-02-06 16:27:14 -08:00
Deepanshu Gupta
ea2ec77f95
am 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev
...
* commit '3adb34ee079504b5854d23bc7a38dafc0a985219':
Add methods for Time_Delegate
2014-02-06 03:03:54 +00:00
Deepanshu Gupta
a0023027e5
am 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev
...
* commit '23de8dc2625d4aeb4dc9085c5865ed571f96261a':
Optimize layout rendering in layoutlib
2014-02-06 03:03:50 +00:00
Deepanshu Gupta
bd76237396
am 096e4359: am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev
...
* commit '096e43590381b218cec88adeac4261427c19e139':
Add missing files to fix libphonenumber for layoutlib.
2014-02-06 03:03:45 +00:00
Deepanshu Gupta
db0427a0ac
am 5800b19a: am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev
...
* commit '5800b19a7a3422620cb28e2327a96bf824f5cc9c':
Fix the measurement of text bounds.
2014-02-06 03:03:41 +00:00
Deepanshu Gupta
650d30c5ec
am b156c019: am d5129e75: am 8a892279: Fix a bug in Nine Patch library.
...
* commit 'b156c0197d052dd4be71ad2b858acc01f50ad49f':
Fix a bug in Nine Patch library.
2014-02-06 03:03:36 +00:00
Deepanshu Gupta
3adb34ee07
am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev
...
* commit '9fcfbfe296d7033ee031171f61b3a33044abee42':
Add methods for Time_Delegate
2014-02-06 02:59:51 +00:00
Deepanshu Gupta
23de8dc262
am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev
...
* commit '28e049ef73f5d9301a198ac53535442b697b7ef4':
Optimize layout rendering in layoutlib
2014-02-06 02:59:48 +00:00
Deepanshu Gupta
096e435903
am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev
...
* commit 'f2f108fe86337a429a0940f264761dbc27f817fe':
Add missing files to fix libphonenumber for layoutlib.
2014-02-06 02:59:45 +00:00
Deepanshu Gupta
5800b19a7a
am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev
...
* commit '50b0ce4e8ed353ed841782aeb58963bc084f2e16':
Fix the measurement of text bounds.
2014-02-06 02:59:41 +00:00
Deepanshu Gupta
b156c0197d
am d5129e75: am 8a892279: Fix a bug in Nine Patch library.
...
* commit 'd5129e75968030620a1372e39fcfbc17fe584e17':
Fix a bug in Nine Patch library.
2014-02-06 02:59:38 +00:00
Deepanshu Gupta
3bf38b4165
Merge "Add methods for Time_Delegate" into klp-dev
2014-02-06 02:06:02 +00:00
Deepanshu Gupta
0db6e6a567
Merge "Optimize layout rendering in layoutlib" into klp-dev
2014-02-06 02:05:42 +00:00
Deepanshu Gupta
a955314d90
Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev
2014-02-06 02:05:21 +00:00
Deepanshu Gupta
fd8cba3ab8
Merge "Fix the measurement of text bounds." into klp-dev
2014-02-06 02:04:49 +00:00
Deepanshu Gupta
8a892279bd
Fix a bug in Nine Patch library.
...
The nine patches were not drawn correctly if they were not positioned at
the top left corner of the canvas.
Bug: http://b.android.com/29959
Change-Id: Icfed522ea07322a3ee9f3955067d3da26c4b0b5b
2014-02-05 17:16:35 -08:00
Adam Lesinski
203356a34a
Merge "Add support for multiple asset dirs (-A)" into klp-modular-dev
2014-02-04 18:31:23 +00:00
Deepanshu Gupta
eb3c5459eb
Add methods for Time_Delegate
...
Bug: http://b.android.com/65359
Change-Id: I7c2d09286d6bcd9899444aaa5a4a5a342e39d923
2014-01-31 19:24:06 -08:00
Narayan Kamath
8773d51eae
resolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp
...
Change-Id: Ia110056e5fdd2387c207748b17c5c17d1a18ac5b
2014-01-28 19:47:58 +00:00