Baligh Uddin
554b43a066
Merge "Import translations. DO NOT MERGE" into klp-dev
2014-02-20 17:59:40 +00:00
Baligh Uddin
aa20b27472
Merge "Import translations. DO NOT MERGE" into klp-dev
2014-02-20 17:55:33 +00:00
Baligh Uddin
e9adafd1b9
Merge "Import translations. DO NOT MERGE" into klp-dev
2014-02-20 17:55:23 +00:00
Baligh Uddin
46a02249d7
Merge "Import translations. DO NOT MERGE" into klp-dev
2014-02-20 17:55:13 +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
Baligh Uddin
b3425a65aa
Import translations. DO NOT MERGE
...
Change-Id: If9205c555286daf7dea68702d2da39752b59def4
Auto-generated-cl: translation import
2014-02-19 19:42:43 -08:00
Baligh Uddin
da799ef3a0
Import translations. DO NOT MERGE
...
Change-Id: I31e5b7b7aa453a0455fd31eca6a11520730a26a7
Auto-generated-cl: translation import
2014-02-19 18:54:52 -08:00
Baligh Uddin
69046bb06c
Import translations. DO NOT MERGE
...
Change-Id: I3003f43c32943496e855ba2744a7492232dbd56b
Auto-generated-cl: translation import
2014-02-19 18:49:33 -08:00
Baligh Uddin
8807558c32
Import translations. DO NOT MERGE
...
Change-Id: I3300523019b91cffd6f36d02434c521ab7368f37
Auto-generated-cl: translation import
2014-02-19 18:45:30 -08: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
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
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
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
Deepanshu Gupta
35d56c0d67
Optimize layout rendering in layoutlib
...
The height of a layout should be zero if it is assigned a layout_weight.
This way, the layout is measured only once and prevents spurious errors.
Bug: https://code.google.com/p/android/issues/detail?id=58398
Change-Id: If49a7480e5eb82cb86780e00f2f5b65ee053fc2a
2014-01-20 17:02:37 -08:00
Deepanshu Gupta
58037a4404
Add missing files to fix libphonenumber for layoutlib.
...
Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
2014-01-17 18:26:38 -08:00
Dianne Hackborn
c174288d34
Fix issue #12031685 : Sticky Service Breakage in Android 4.4.1
...
Got a little too aggressive about cleaning up service state; need to
avoid removing services from an app until we are in the second loop
doing the final cleanup, otherwise we can leave services around with
restarting their process.
Also fix crash:
W/BinderNative( 667): Uncaught exception from death notification
W/BinderNative( 667): java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
W/BinderNative( 667): at android.util.ArraySet.valueAt(ArraySet.java:301)
W/BinderNative( 667): at com.android.server.am.ActiveServices.killServicesLocked(ActiveServices.java:2069)
W/BinderNative( 667): at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(ActivityManagerService.java:12412)
W/BinderNative( 667): at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:3596)
W/BinderNative( 667): at com.android.server.am.ActivityManagerService.appDiedLocked(ActivityManagerService.java:3744)
W/BinderNative( 667): at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(ActivityManagerService.java:1024)
W/BinderNative( 667): at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
W/BinderNative( 667): at dalvik.system.NativeStart.run(Native Method)
2014-01-13 17:10:03 -08:00
David Christie
301b1facb2
am 26c6c15f: am b3c96c4c: am 1d151607: am 4013c4b1: am 42d7a0bf: am a7d13fab: am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit '26c6c15f54231c154bb2f7febb053d034cbe40c5':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:56:27 -08:00
David Christie
26c6c15f54
am b3c96c4c: am 1d151607: am 4013c4b1: am 42d7a0bf: am a7d13fab: am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit 'b3c96c4c57cb97924f828ea917b1c4d63b2c9d00':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:53:27 -08:00
David Christie
b3c96c4c57
am 1d151607: am 4013c4b1: am 42d7a0bf: am a7d13fab: am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit '1d151607fbee65fc9fc2bb1cb38a850c1f68bede':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:50:18 -08:00
David Christie
1d151607fb
am 4013c4b1: am 42d7a0bf: am a7d13fab: am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit '4013c4b18ccc66b510f4cdb222d4c04597975843':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:46:35 -08:00
David Christie
4013c4b18c
am 42d7a0bf: am a7d13fab: am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit '42d7a0bff5da6aeb8323ae0c797e9c4e116b637b':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:43:47 -08:00
David Christie
42d7a0bff5
am a7d13fab: am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit 'a7d13fabd6184e411215e9a841cf16097f1a5127':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:41:48 -08:00
David Christie
a7d13fabd6
am 45aaa377: am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit '45aaa377c5d090003c6cf5fb54fff856a0807c4f':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:40:04 -08:00
David Christie
45aaa377c5
am a1b89310: am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit 'a1b89310d58df14570f7f6f5abb677c976c63a7a':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:36:49 -08:00
David Christie
a1b89310d5
am a87bdc1f: Merge commit \'bc39746e\' into manualmerge
...
* commit 'a87bdc1f8ff308f90ec7a3234c4848c79d4c3988':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 12:33:39 -08:00
Daniel Cashman
af2f2f767a
am 9ecadd7c: am 6f34b938: am 3238d0d9: Merge "Clear cached locations when location providers disabled Bug: 12118307" into jb-mr2-dev
...
* commit '9ecadd7cedc492faef163a314713caddbd5da39a':
Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 10:56:41 -08:00
Daniel Cashman
9ecadd7ced
am 6f34b938: am 3238d0d9: Merge "Clear cached locations when location providers disabled Bug: 12118307" into jb-mr2-dev
...
* commit '6f34b9382f0dac64952e0e5c05e96ea2ef3e28e8':
Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 10:53:31 -08:00
Daniel Cashman
6f34b9382f
am 3238d0d9: Merge "Clear cached locations when location providers disabled Bug: 12118307" into jb-mr2-dev
...
* commit '3238d0d9f98d4d0972e52a81a4e9b8d2aea0436d':
Clear cached locations when location providers disabled Bug: 12118307
2014-01-13 10:50:03 -08:00
Daniel Cashman
3238d0d9f9
Merge "Clear cached locations when location providers disabled Bug: 12118307" into jb-mr2-dev
2014-01-13 18:44:45 +00:00
Daniel Cashman
4503409a47
Merge "Clear cached locations when location providers disabled Bug: 12118307" into klp-dev
2014-01-13 18:44:38 +00:00
David Christie
a4bd593155
am c454bbe8: (-s ours) am b15429a6: am 503c5a32: am ea47cb67: (-s ours) am bf6cecc2: am 5716e4bf: am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit 'c454bbe805bd6ed096ec6b4b811c4e4b67a86225':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:27:26 -08:00
David Christie
c454bbe805
am b15429a6: am 503c5a32: am ea47cb67: (-s ours) am bf6cecc2: am 5716e4bf: am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit 'b15429a6853472207c2a4aefd22dd009e851edb7':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:24:05 -08:00
David Christie
b15429a685
am 503c5a32: am ea47cb67: (-s ours) am bf6cecc2: am 5716e4bf: am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit '503c5a32a4e718282b88f73e602c09e1bda49aec':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:18:58 -08:00
David Christie
a87bdc1f8f
Merge commit 'bc39746e' into manualmerge
2014-01-10 13:17:01 -08:00
David Christie
503c5a32a4
am ea47cb67: (-s ours) am bf6cecc2: am 5716e4bf: am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit 'ea47cb6763d36fcc916c63dd764b48b4b6f1ff01':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:14:04 -08:00
David Christie
ea47cb6763
am bf6cecc2: am 5716e4bf: am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit 'bf6cecc21f50d1bc98e0d2dec41bef3ce259a23f':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:10:12 -08:00
David Christie
bf6cecc21f
am 5716e4bf: am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit '5716e4bfb980c8bab01b51944c1e715d76d59b1d':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:05:35 -08:00
David Christie
5716e4bfb9
am 776b3956: am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit '776b3956a9742b868b037dffd2b24c17b2dfa0e6':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:02:48 -08:00
David Christie
776b3956a9
am 7f4d8293: am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit '7f4d82932c812fbac1d99ceaf9462b7a763f5231':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 13:00:09 -08:00
David Christie
7f4d82932c
am 6826387e: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit '6826387e50f9f272d53ca1f725f573bbddcdf5c1':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 12:55:24 -08:00
David Christie
bc39746ee9
am 8e0c7768: DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
...
* commit '8e0c7768c87014fef277df84c737dd6c37fb8866':
DO NOT MERGE: Clear cached locations when location providers disabled Bug: 12118307
2014-01-10 12:53:41 -08:00
Deepanshu Gupta
5ad7c183f3
Fix the measurement of text bounds.
...
Bug: 12366230
Change-Id: I203b678363dc7b688c744503ee10216baca658a9
2014-01-07 12:07:45 -08:00
David Christie
6826387e50
DO NOT MERGE: Clear cached locations when location providers disabled
...
Bug: 12118307
Change-Id: I8595b50d30c0f3ff2cc7dab14141a739cd6b9daa
2014-01-06 18:15:05 -08:00
David Christie
8e0c7768c8
DO NOT MERGE: Clear cached locations when location providers disabled
...
Bug: 12118307
Change-Id: Iae668409be5c5bd715681624b2a54a4daa690932
2014-01-06 17:57:30 -08:00
David Christie
766b5c4342
Clear cached locations when location providers disabled
...
Bug: 12118307
(cherry picked from commit b084fef18ee1b5d24d15cff37dc3a053933d361e)
Change-Id: Ief869b9e38858092bfa3f8d6d090a278dee7d86c
2014-01-06 15:30:34 -08:00