Deepanshu Gupta
f5fbff9b1a
LayoutLib: Fix EditText rendering [DO NOT MERGE]
...
Framework has overloaded java.lang.System.arraycopy() for char[]. The
method is not present on the Desktop VMs. This change replaces the calls
to this method by its more general alternative - the one using Objects.
TODO: Make it more configurable and flexible to allow rewrite of any
such methods in the future.
Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f
(cherry picked from commit fc3e93300733b4a161adb9cceebea6cda353d085)
2014-07-21 17:38:00 -07:00
Deepanshu Gupta
0804e0aded
am a9e488a6: am d8d3e87c: am 4627c98d: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into klp-dev
...
* commit 'a9e488a6d2b20ecc91412072a5f39022d7fe6926':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:53:37 +00:00
Deepanshu Gupta
87234e8544
am 9c48ab82: am ccf7b2aa: am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]
...
* commit '9c48ab82084828087c47086f2379b4927ec057e2':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:50:15 +00:00
Deepanshu Gupta
a9e488a6d2
am d8d3e87c: am 4627c98d: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into klp-dev
...
* commit 'd8d3e87cf339deaf890e4b083d09b074065cd35f':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:48:05 +00:00
Deepanshu Gupta
d7f2bf067f
am f75489f2: am c425c438: am 710a55b4: Fix default level flags for bidi. [DO NOT MERGE]
...
* commit 'f75489f2f1f2dc4f75205f4b242800777bf7d5ec':
Fix default level flags for bidi. [DO NOT MERGE]
2014-07-18 21:45:47 +00:00
Deepanshu Gupta
9c48ab8208
am ccf7b2aa: am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]
...
* commit 'ccf7b2aac600b6069f03f7f420872b64cc5e6726':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:45:28 +00:00
Deepanshu Gupta
610341b3eb
am 95bbeb96: am b8e4e8e1: am d3ac01ff: Merge "Fix style resolution for styles with \'.\' [DO NOT MERGE]" into jb-mr1.1-dev
...
* commit '95bbeb967243d453bf793cd06dd2dd914667fee9':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:45:19 +00:00
Deepanshu Gupta
f75489f2f1
am c425c438: am 710a55b4: Fix default level flags for bidi. [DO NOT MERGE]
...
* commit 'c425c438a38f9065c4fbae76602bce66563950c0':
Fix default level flags for bidi. [DO NOT MERGE]
2014-07-18 21:39:42 +00:00
Deepanshu Gupta
ccf7b2aac6
am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]
...
* commit '5af7324ace4f318d7395b680beabec7a0f0e39b3':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:39:35 +00:00
Deepanshu Gupta
696eb4da44
am c39916f7: am 37f54f4c: am 357ebfc5: Fix default level flags for bidi. [DO NOT MERGE]
...
* commit 'c39916f7dadb2f8be2e7523c5ceade9f04a94e1e':
Fix default level flags for bidi. [DO NOT MERGE]
2014-07-18 21:39:33 +00:00
Deepanshu Gupta
4627c98da4
Merge "Fix style resolution for styles with '.' [DO NOT MERGE]" into klp-dev
2014-07-17 21:09:48 +00:00
Deepanshu Gupta
5efee91e12
Merge "Fix style resolution for styles with '.' [DO NOT MERGE]" into jb-mr2-dev
2014-07-17 21:09:48 +00:00
Deepanshu Gupta
d3ac01ff76
Merge "Fix style resolution for styles with '.' [DO NOT MERGE]" into jb-mr1.1-dev
2014-07-17 21:04:20 +00:00
Ying Wang
871296d976
am 044a4fc9: am 7c5fe1db: am 1e976fd5: Build framework.jar with multidex support.
...
* commit '044a4fc9d4b4e13c509be5a0929fd785dd98e178':
Build framework.jar with multidex support.
2014-07-21 22:42:04 +00:00
Ying Wang
88e199045b
Build framework.jar with multidex support.
...
We don't need the framework/framework2 split now with the multidex
support.
Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
2014-07-21 15:23:14 -07:00
Deepanshu Gupta
e32bac5ef0
am 37423bbb: am db2a5ff1: am 78d85419: Fix missing initial moveto in path definition.
...
* commit '37423bbbeab2822b39d859412aa80117a4b85282':
Fix missing initial moveto in path definition.
2014-07-21 19:23:58 +00:00
Deepanshu Gupta
3b37956010
Fix missing initial moveto in path definition.
...
The Path_Delegate was missing a moveTo call which resulted in
IllegalPathStateException when rendering the ProgressBar.
Change-Id: Ibdae5f90ffd0a71a3de4ba945238239faa0b18b2
2014-07-21 17:36:45 +00:00
Deepanshu Gupta
43aab0f419
am cdcebcef: Merge "Fix style resolution for styles with \'.\'" into lmp-preview-dev
...
* commit 'cdcebcefed9a9bbf6835025d722ae31da1a93c85':
Fix style resolution for styles with '.'
2014-07-18 21:41:59 +00:00
Deepanshu Gupta
4f8500594f
Merge "Fix style resolution for styles with '.'" into lmp-preview-dev
2014-07-17 21:04:20 +00:00
Ying Wang
4b8aa28ef2
Fix sdk build.
...
Change-Id: I9073747f7a12f826fabf99c34dce813edf6462c1
2014-07-17 14:30:54 -07:00
Deepanshu Gupta
6c57fc3019
DO NOT MERGE - Fix LayoutLib.
...
This fixes a bad merge and contains partial cherrypicks of the following
commits to make LayoutLib working again:
103d40960daa0420995aa12881bef33892a0a2ab
803d77d8904a8fd66f0370cca6ed7f8b7cf68907
6a08225cee197e5baf80dd06dae46988db284122
Bug: 15987446
Change-Id: I41563305206d30ecdbc7f609c4b90d53edb42689
2014-07-16 10:23:28 -07:00
Deepanshu Gupta
76dd54b64f
Merge "Use BlendComposite for advanced PorterDuff Modes." into lmp-preview-dev
2014-07-15 20:35:01 +00:00
Deepanshu Gupta
85d43f01ed
Use BlendComposite for advanced PorterDuff Modes.
...
Not all PorterDuff modes are supported by Java's AlphaComposite. Use
BlendComposite for such modes.
Change-Id: I51486a40f09186cf8a87ce1e6a3d1cfcf39fb2d3
2014-07-15 18:14:00 -07:00
Deepanshu Gupta
303b908d61
Optimize Blend composites.
...
Removed redundant array allocations to improve performance for various
blending modes.
Change-Id: Iaba1d6ff3ad03eebdc859c599b610cc593370438
(cherry picked from commit 9ce074610413ce3a5dd0cef9295f0ae9061402b7)
2014-07-15 18:13:53 -07:00
Deepanshu Gupta
e6bf903db9
Add BlendComposite.java
...
The class is adapted from a demo tool for Blending Modes written by
Romain Guy (romainguy@android.com ). The tool is available at
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/
Change-Id: I8f7c7ca08d3078106056764a4e2f1ce95d990137
(cherry picked from commit 882e08759137a77090c3c7dff8cba425a3393474)
2014-07-15 18:13:46 -07:00
Deepanshu Gupta
f94ecba403
Merge "Optimize Blend composites." into lmp-preview-dev
2014-07-15 20:35:01 +00:00
Deepanshu Gupta
8ee6bcf809
Use BlendComposite for advanced PorterDuff Modes. [DO NOT MERGE]
...
Not all PorterDuff modes are supported by Java's AlphaComposite. Use
BlendComposite for such modes.
Change-Id: I51486a40f09186cf8a87ce1e6a3d1cfcf39fb2d3
(cherry picked from commit b15709cd36d28c47660b0ae30918642bfd3d85f7)
2014-07-16 19:53:38 +00:00
Deepanshu Gupta
47fa5c920d
Optimize Blend composites. [DO NOT MERGE]
...
Removed redundant array allocations to improve performance for various
blending modes.
Change-Id: Iaba1d6ff3ad03eebdc859c599b610cc593370438
(cherry picked from commit 9ce074610413ce3a5dd0cef9295f0ae9061402b7)
2014-07-16 19:52:48 +00:00
Deepanshu Gupta
3dfc1c21d5
Add BlendComposite.java [DO NOT MERGE]
...
The class is adapted from a demo tool for Blending Modes written by
Romain Guy (romainguy@android.com ). The tool is available at
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/
Change-Id: I8f7c7ca08d3078106056764a4e2f1ce95d990137
(cherry picked from commit 882e08759137a77090c3c7dff8cba425a3393474)
2014-07-16 19:52:24 +00:00
Deepanshu Gupta
a17674319d
Merge "Add BlendComposite.java" into lmp-preview-dev
2014-07-15 20:35:01 +00:00
Jeff Sharkey
4ed745d359
Add code cache directory for apps.
...
This provides a directory where apps can cache compiled or optimized
code generated at runtime. The platform will delete all files in
this location on both app and platform upgrade.
Bug: 16187224
Change-Id: I641b21d841c436247f35ff235317e3a4ba520441
2014-07-15 22:13:26 -07:00
Deepanshu Gupta
39488dc3d4
am 7b97e426: Merge "Optimize Blend composites."
...
* commit '7b97e426bd77b22a64b49112ce2455a51bac0b5b':
Optimize Blend composites.
2014-07-15 20:10:40 +00:00
Deepanshu Gupta
aaef3efa22
am e147445a: Merge "Add BlendComposite.java"
...
* commit 'e147445a5e10b3e0fd01c7792e560ad677cd77ab':
Add BlendComposite.java
2014-07-15 20:10:36 +00:00
Deepanshu Gupta
d8176941eb
Merge "Enable assertions in LayoutLib create" into lmp-dev
2014-07-15 16:04:58 +00:00
Deepanshu Gupta
197d488d58
Enable assertions in LayoutLib create
...
Change-Id: Ia74285ae50f5caf118aab9eca4123f8aa71f27b4
2014-07-15 13:15:15 -07:00
Deepanshu Gupta
5cd9dde5a2
Support Locale.toLanguageTag on Java 6
...
Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
2014-07-15 12:56:04 -07:00
Deepanshu Gupta
c97b4d3996
Merge "Support Locale.toLanguageTag on Java 6" into lmp-dev
2014-07-15 16:05:01 +00:00
Craig Mautner
bb74246278
Launch activity behind launching task.
...
Use ActivityOptions.makeLaunchTaskBehindAnimation() to launch tasks
behind the current task. Includes animations for launching and
launched tasks.
Fixes bug 16157517.
Change-Id: I0a94af70b4748592e94673b958ee824cfb3d7ec0
2014-07-15 11:36:25 -07:00
Christopher Tate
65665aac63
Fix build
...
BridgeContext didn't show up in the working tree as a build participant.
Tsk tsk.
Change-Id: I2b52d99f319b43c2906a7fb9b25139a3df5b3676
2014-07-14 17:11:53 -07:00
Deepanshu Gupta
357ebfc5e4
Fix default level flags for bidi. [DO NOT MERGE]
...
Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
(cherry picked from commit 95e636130dfc2c0203f16f5315a7fe14b03eb689)
2014-07-12 02:10:50 +00:00
Deepanshu Gupta
10395cbb5c
Fix default level flags for bidi. [DO NOT MERGE]
...
Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
(cherry picked from commit 95e636130dfc2c0203f16f5315a7fe14b03eb689)
2014-07-12 02:10:33 +00:00
Deepanshu Gupta
710a55b419
Fix default level flags for bidi. [DO NOT MERGE]
...
Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
(cherry picked from commit 95e636130dfc2c0203f16f5315a7fe14b03eb689)
2014-07-12 02:10:02 +00:00
Deepanshu Gupta
c5a58437e6
Style improvements to LayoutLib create.
...
This change doesn't change the functionality but removes dead code and
simplifies various places to remove warnings.
Change-Id: I371e06bfbd587dbf0eeafc69787b9805f7008f62
2014-07-11 21:40:46 +00:00
Deepanshu Gupta
26e32ea559
Update delegates
...
Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a
2014-07-11 21:40:27 +00:00
Deepanshu Gupta
e1960cc0b5
LayoutLib: Fix System.arraycopy()
...
Framework has specialized versions of java.lang.System.arraycopy() for
all primitive data types. These versions are not present on the Desktop
VM. This change replaces calls to any of the specialized versions with
the more general alternative - the one using Objects.
Note that this was already being done for char.
Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
2014-07-11 10:27:36 -07:00
Yohei Yukawa
69684533cd
Fix SDK build breakage
...
This should have been included in I3c6b69bd9d79b199afe68d838f25effa6
BUG: 15812658
BUG: 16118603
Change-Id: I298206008fc28faa4f6576a77d56251f873f233c
2014-07-12 01:59:07 +09:00
Deepanshu Gupta
3a6cedfe72
Fix default level flags for bidi. [DO NOT MERGE]
...
Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
2014-07-09 18:13:59 -07:00
Deepanshu Gupta
5af7324ace
Fix style resolution for styles with '.' [DO NOT MERGE]
...
Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b56b71f8aa30e6675255df69f88a173d)
2014-07-10 00:30:03 +00:00
Deepanshu Gupta
da28101757
Fix style resolution for styles with '.' [DO NOT MERGE]
...
Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b56b71f8aa30e6675255df69f88a173d)
2014-07-10 00:29:41 +00:00
Deepanshu Gupta
0f49025998
Fix style resolution for styles with '.' [DO NOT MERGE]
...
Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b56b71f8aa30e6675255df69f88a173d)
2014-07-10 00:29:15 +00:00