Deepanshu Gupta
5dee1a093a
am e17ed922: am 126f4057: am 5ba2f230: Add view cookies for action bar menus. [DO NOT MERGE]
...
* commit 'e17ed922001cf70c48969eb7b10ee2e2557b41f9':
Add view cookies for action bar menus. [DO NOT MERGE]
2014-04-24 01:36:14 +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
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
be06a4182b
am cf5c3fc7: am 53b7df19: Merge "Add missing ICU_Delegate methods."
...
* commit 'cf5c3fc70d4dcd5dc3c6054d0f7415ded0070e4f':
Add missing ICU_Delegate methods.
2014-04-22 23:15:05 +00:00
Deepanshu Gupta
e2b67777ad
Add missing ICU_Delegate methods.
...
Update the ICU_Delegate to add methods originally added in
I5de58be7e8a701f2c40182ea54bceff85ec1aad2
Change-Id: I536834fe76cbc7dae05580182fee1bea956e3e77
2014-04-21 14:33:33 -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
492090a55e
am 16191f8c: resolved conflicts for merge of 0e2049cd to klp-modular-dev
...
* commit '16191f8c4fe92036c8ff2eecd4e57b4642068b99':
Layoutlib tests now check methods return value [DO NOT MERGE]
2014-04-16 19:20:01 +00:00
Deepanshu Gupta
35d46778f4
resolved conflicts for merge of ec6676dd to klp-modular-dev-plus-aosp
...
Change-Id: I2fec735ba65f56da7d17022074f8924a259b4bbf
2014-04-16 12:14:34 -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
82d5f137ed
am e5d0fce7: am 685b7d41: am 1b87390c: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
...
* commit 'e5d0fce7aeb60c44849cd09815ccecda702422ef':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
2014-04-16 18:43:23 +00: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
f2d085e867
am d023360a: am 484c88c3: am 4ccc4bd5: Action bar rendering in layoutlib [DO NOT MERGE]
...
* commit 'd023360aa03db1a7831a5697d49faa2575e4a9c3':
Action bar rendering in layoutlib [DO NOT MERGE]
2014-04-16 18:39:25 +00:00
Deepanshu Gupta
110a05c6bd
am 2aee0712: am e75477cb: am acf0bce0: Support custom views using TimePickerDialog [DO NOT MERGE]
...
* commit '2aee07124cad720587a8c51de5650b6b93ae9150':
Support custom views using TimePickerDialog [DO NOT MERGE]
2014-04-16 18:39:21 +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
eaa8a6b7fe
am a5c8d586: Fix build break due to layout lib.
...
* commit 'a5c8d586f6ceff252336f72c6e15efbf4785e794':
Fix build break due to layout lib.
2014-04-12 08:22:06 +00:00
Jeff Brown
a5c8d586f6
Fix build break due to layout lib.
...
Change-Id: I87b40125adad0a799214f6ebf0dc04ec7903efbf
2014-04-11 22:09:06 -07:00
Deepanshu Gupta
c76faca60e
am e2dc6985: am f1334ccc: am 849a8208: Add DatePickerDialog to layoutlib [DO NOT MERGE]
...
* commit 'e2dc69856879d41798545b2c113098195bf04fa6':
Add DatePickerDialog to layoutlib [DO NOT MERGE]
2014-04-12 02:30:31 +00: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
73e78c75b7
am af42a91c: Fix another build breakage.
...
* commit 'af42a91c118941d463b474574bf34bf05822350d':
Fix another build breakage.
2014-04-11 11:35:19 +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
Xavier Ducrohet
72b2f53690
am 76c484de: am d93b0b67: am e448bcf7: Merge "Add missing dependency in layoutlib build file [DO NOT MERGE]" into klp-dev
...
* commit '76c484de88317fbadc8a070fc333d4fb14355335':
Add missing dependency in layoutlib build file [DO NOT MERGE]
2014-04-03 22:24:47 +00: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
Narayan Kamath
6393875024
am c0232642: am 629daddd: Merge "Fix layoutlib build."
...
* commit 'c0232642b74517aa2717673f0811ba65c620f491':
Fix layoutlib build.
2014-03-14 14:22:30 +00:00
Narayan Kamath
c73991bda0
Fix layoutlib build.
...
Was using private data structures from libcore.
Change-Id: I5bd43190081891659e18b5c871686e6078efcc81
2014-03-14 14:10:30 +00:00
Deepanshu Gupta
f978f16e50
resolved conflicts for merge of c76345a3 to klp-modular-dev-plus-aosp
...
Change-Id: Id0aae224e17651bc07aa3f5b1a06923603d025b8
2014-03-11 16:39:13 -07:00
Deepanshu Gupta
0d7ebc51ff
Fix the delegate method signatures in LayoutLib
...
Change-Id: I262c285c1047958afdb024724959d5afb3552802
2014-03-05 19:23:48 -08:00
Xavier Ducrohet
ec84ada6e8
am 5e5602da: am 0c72b769: Merge "Update layoutlib method for SystemClock"
...
* commit '5e5602da5fa9cd2e1d135b2310af2a8352f65e8d':
Update layoutlib method for SystemClock
2014-02-27 23:34:34 +00:00
Deepanshu Gupta
5ac6a9e9b7
Update layoutlib method for SystemClock
...
Update layoutlib to reflect changes from
http://android-review.googlesource.com/83061/
Change-Id: If7326f3af2a97271ad1465382944e1f078b965d8
2014-02-24 14:22:29 -08:00
Xavier Ducrohet
21c5c8e600
am 9edf7a11: am 2cb9147f: am 55542ee6: am 3e637042: Merge "Set default text style in layoutlib as NORMAL [DO NOT MERGE]" into klp-dev
...
* commit '9edf7a1159b528afa056e0d61ee4487ed310fe4c':
Set default text style in layoutlib as NORMAL [DO NOT MERGE]
2014-02-20 17:53:20 +00:00
Deepanshu Gupta
c139177b13
am 65521c3c: am ca4b9a77: am e92c8542: am 01825b7a: Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
...
* commit '65521c3cf169808cd02ce09a7344bc633d51c1fc':
Fix sans-serif-thin and sans-serif-light fonts in layoutlib. [DO NOT MERGE]
2014-02-20 17:53:17 +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
f7193bf897
am d9f9da39: am 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.
...
* commit 'd9f9da396b41f394991f676bc74dcfc59c7070a8':
Improve text rendering and measurement.
2014-02-10 19:56:58 +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
7bd287b70a
am ea2ec77f: am 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev
...
* commit 'ea2ec77f9538de2ea795d3e257f19e8cff659665':
Add methods for Time_Delegate
2014-02-06 03:06:38 +00:00
Deepanshu Gupta
6a9cbd5a2d
am a0023027: am 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev
...
* commit 'a0023027e5b7245e2cef304d96826a7ae1c361aa':
Optimize layout rendering in layoutlib
2014-02-06 03:06:35 +00:00
Deepanshu Gupta
f9021e48be
am bd762373: am 096e4359: am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber for layoutlib." into klp-dev
...
* commit 'bd762373964eb3cb71bdd79cbf82c27faa22699d':
Add missing files to fix libphonenumber for layoutlib.
2014-02-06 03:06:32 +00:00