Jeff Brown
1b51c9cb96
Merge "Make SystemService constructor take a Context." into klp-modular-dev
2014-02-11 04:12:02 +00:00
Jeff Brown
b880d880c6
Make SystemService constructor take a Context.
...
This change simplifies the process of initializing a SystemService
by folding the onCreate() step back into the constructor. It removes
some ambuiguity about what work should happen in the constructor and
should make it possible for services to retain most of their final
fields after refactoring into the new pattern.
Change-Id: I25f41af0321bc01898658ab44b369f9c5d16800b
2014-02-10 20:01:43 -08:00
Craig Mautner
312ba86b47
Change task removal sequence
...
- Remove task after removing activity. Removing the task before
removing the activity led to problems when the task was still needed.
- In WindowManager wait for activity manager to remove the task.
Previously was automatically removing the task when the last activity
was removed.
Fixes bug 12957434.
Change-Id: I7f6b1f09a2e2a845f177f337769075c9376f8bdb
2014-02-10 17:55:01 -08: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
1c91b1f7a2
am 45dbfcc7: Improve text rendering and measurement.
...
* commit '45dbfcc781a3926d22571b6ccfa3f27ec896f119':
Improve text rendering and measurement.
2014-02-10 19:47:20 +00:00
Griff Hazen
92ade49eca
Merge "Fix ActivityView layout bug." into klp-modular-dev
2014-02-10 17:51:36 +00:00
Ricardo Cervera
9d6e456d77
am 332aefe9: am d038afd3: am 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs
...
* commit '332aefe931fe38291fa07fe20c9018eed1c8c0d5':
docs: Fixed ViewPager animation tutorial. Bug: 12815243
2014-02-10 17:29:19 +00:00
Ricardo Cervera
332aefe931
am d038afd3: am 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs
...
* commit 'd038afd39874238357a5ca9621921542f57db7a1':
docs: Fixed ViewPager animation tutorial. Bug: 12815243
2014-02-10 17:26:19 +00:00
Ricardo Cervera
d038afd398
am 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs
...
* commit '7074f32440a8d6db4512c82e12b9e1c6891a4ce1':
docs: Fixed ViewPager animation tutorial. Bug: 12815243
2014-02-10 17:22:23 +00:00
Ricardo Cervera
7074f32440
Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs
2014-02-10 17:19:28 +00:00
Griff Hazen
af745f6df7
Fix ActivityView layout bug.
...
Child TextureView should be positioned at origin of ActivityView,
with matching width and height. Previously, a container's padding
would be applied twice for example.
Change-Id: Ie0be10614a45aede4207abf986721385d04d8c76
2014-02-10 08:58:32 -08:00
Katie McCormick
6366dcbd49
am bcc27903: am 44085b68: am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs
...
* commit 'bcc27903fb4b9581f2b6912d767cccb2d1c2e1ba':
Doc update: misc GCM fixes
2014-02-08 18:39:07 +00:00
Dirk Dougherty
3333166738
am 3f43b646: am 7fd4d29e: am 392ddb22: Merge "Doc change: add carousel and spotlight for developer video." into klp-docs
...
* commit '3f43b646294857ea2dbd5e2fba944ee0d4c19657':
Doc change: add carousel and spotlight for developer video.
2014-02-08 18:39:01 +00:00
Katie McCormick
bcc27903fb
am 44085b68: am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs
...
* commit '44085b68add3d7583f7832c51409de83655fc4f1':
Doc update: misc GCM fixes
2014-02-08 18:34:54 +00:00
Dirk Dougherty
3f43b64629
am 7fd4d29e: am 392ddb22: Merge "Doc change: add carousel and spotlight for developer video." into klp-docs
...
* commit '7fd4d29e847984c02561c7f385bfe0947432012e':
Doc change: add carousel and spotlight for developer video.
2014-02-08 18:34:44 +00:00
Katie McCormick
44085b68ad
am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs
...
* commit 'f2fcbff8382b93bd779af546a7dda8f85eba3763':
Doc update: misc GCM fixes
2014-02-08 01:58:53 +00:00
Katie McCormick
f2fcbff838
Merge "Doc update: misc GCM fixes" into klp-docs
2014-02-08 01:55:44 +00:00
Katie McCormick
63b2b8cbf8
Doc update: misc GCM fixes
...
Fixes for:
b/12909231
b/12887320
b/12872407
Change-Id: I1fefb41f7ceea2e4e80262834d1c631b6b8daf7e
2014-02-07 17:43:22 -08:00
Craig Mautner
4e5b67e695
Queue startActivity params if not yet ready.
...
If the ActivityView is not ready when the startActivity method is
called we now save the Intent until the ActivityView is ready.
Fixes bug 12821638.
Change-Id: I30ebb2699963f174cc2d5a3fb77a99ed33a4252b
2014-02-07 15:30:03 -08:00
Craig Mautner
9ef471f7f2
Don't remove Activities and Tasks until animation done
...
Just like stacks and displays, activities and tasks need to stick
around until animations have completed.
Change-Id: I54fe8f6855d60cbc3a25cbc6e762defd5ac50bf5
2014-02-07 13:11:47 -08:00
Dirk Dougherty
7fd4d29e84
am 392ddb22: Merge "Doc change: add carousel and spotlight for developer video." into klp-docs
...
* commit '392ddb22973cab737e8e8487565f4c6147500703':
Doc change: add carousel and spotlight for developer video.
2014-02-07 20:52:33 +00:00
Dirk Dougherty
392ddb2297
Merge "Doc change: add carousel and spotlight for developer video." into klp-docs
2014-02-07 20:50:25 +00:00
Ricardo Cervera
7e4b48668e
docs: Fixed ViewPager animation tutorial. Bug: 12815243
...
Went through the tutorial and fixed a few minor issues. There is
confusion with Fragment and FragmentManager from the support library
vs. the main Android APIs. Clarified this by showing some imports
explicitly. Tested the new code from the page on Eclipse and it works
as expected.
Change-Id: I8494a72f4c760a03a6b8f3322c5754e315f22e7c
Review: http://quixote.mtv.corp.google.com:8002/training/animation/screen-slide.html
2014-02-07 20:44:44 +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
Dirk Dougherty
13d79ce5b3
Doc change: add carousel and spotlight for developer video.
...
Change-Id: I715e559c880bb76939ba1a423c3927aacc16e2a1
2014-02-06 15:04:08 -08:00
Ricardo Cervera
8ff1f285c9
am b7d456d4: am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
...
* commit 'b7d456d4a410d1a17933ed0256fecd2144160615':
docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:20:28 +00:00
Ricardo Cervera
b7d456d4a4
am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
...
* commit '8d65fc2c698ca1e91c669c3e04b45bf0d1c9dffc':
docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:17:12 +00:00
Ricardo Cervera
6ed268623b
am 74d290fd: am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
...
* commit '74d290fd62dfec09708664f354805c548b3dc5eb':
docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:16:28 +00:00
Ricardo Cervera
8d65fc2c69
am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
...
* commit '8756b0c3cea50d47ba7191d8a493f774b23a1631':
docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:13:29 +00:00
Ricardo Cervera
74d290fd62
am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
...
* commit 'd057fa6d40198e07844f702608b7959bad3bd48b':
docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:13:21 +00:00
Ricardo Cervera
d057fa6d40
am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
...
* commit '531939d151167e56b3106205f4c3d859a9f509ce':
docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:09:36 +00:00
Ricardo Cervera
8756b0c3ce
Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
2014-02-06 21:09:12 +00:00
Ricardo Cervera
531939d151
Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
2014-02-06 21:07:09 +00:00
Craig Mautner
38f7dcd7dc
DO NOT MERGE. Test for Configuration differences before changing.
...
Changing Configuration first and then testing for changes yields a
result indicating no change.
Fixes bug 12904769.
Change-Id: If7e39e843f15b1143d9877497d595511afabd020
2014-02-06 12:27:20 -08:00
Adam Lesinski
7f41663141
Merge "Check feature bits before loading optional services" into klp-modular-dev
2014-02-06 20:13:21 +00:00
Ricardo Cervera
893ee42c72
docs: Updated the retaining an object during conf change. Bug: 10303533
...
Replaced use of deprecated methods with retained fragments.
Change-Id: I0f0a045da88f9817077070729ef0af283bea93e4
Review: http://quixote.mtv.corp.google.com:8007/guide/topics/resources/runtime-changes.html
2014-02-06 10:57:36 -08:00
Ricardo Cervera
56d37fb8cd
docs: Fixed links to Proguard manual. Bug: 12713887
...
The SourceForge manual cannot be linked to sections directly because
of JavaScript and HTML frames. I used the MIT links from the bug
report instead.
Review: http://quixote.mtv.corp.google.com:8001/tools/help/proguard.html
Change-Id: I1be210d392d78a7560a89f421074ba6d99499da0
2014-02-06 09:49:04 -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
9fcfbfe296
am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev
...
* commit '3bf38b4165877274067a385cfe6472639a203a58':
Add methods for Time_Delegate
2014-02-06 02:56:45 +00:00
Deepanshu Gupta
28e049ef73
am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev
...
* commit '0db6e6a567e25d560586863c7be654a0c1da5795':
Optimize layout rendering in layoutlib
2014-02-06 02:56:42 +00:00