OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Don't null class member before using it." into klp-modular-dev
Craig Mautner [Thu, 13 Feb 2014 19:14:17 +0000 (19:14 +0000)]
Merge "Don't null class member before using it." into klp-modular-dev

10 years agoDon't null class member before using it.
Craig Mautner [Thu, 13 Feb 2014 19:12:42 +0000 (11:12 -0800)]
Don't null class member before using it.

Changing the order of detachStack() and usage of mDisplayContent
fixes NPE.

Fixes bug 12823709.

Change-Id: I04760b1d6fd5d3ffc49b99ca4acb47bf7e61cb46

10 years agoMerge "Update DimLayer sizes on rotation." into klp-modular-dev
Craig Mautner [Thu, 13 Feb 2014 19:02:01 +0000 (19:02 +0000)]
Merge "Update DimLayer sizes on rotation." into klp-modular-dev

10 years agoUpdate DimLayer sizes on rotation.
Craig Mautner [Thu, 13 Feb 2014 18:59:16 +0000 (10:59 -0800)]
Update DimLayer sizes on rotation.

Required replumbing and updating the TaskStack bounds calculations
to match the new separation of TaskStack from DisplayContent.

Fixes bug 12780687.

Change-Id: I061c92831c06f4eb3e673ad6296e721b0c0f3202

10 years agoam 9c50271d: am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and...
Dirk Dougherty [Thu, 13 Feb 2014 03:50:08 +0000 (03:50 +0000)]
am 9c50271d: am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '9c50271dc34e48d527db7da85c3b3474574faee2':
  Doc change: add new samples TOC groups and landing pages.

10 years agoam 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.
Dirk Dougherty [Thu, 13 Feb 2014 03:47:02 +0000 (03:47 +0000)]
am 257f6724: am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '257f67249afb017c9a3d0a79e545da567aa5bd02':
  Doc change: add new samples TOC groups and landing pages.

10 years agoam 35cb4e49: Doc change: add new samples TOC groups and landing pages.
Dirk Dougherty [Thu, 13 Feb 2014 03:44:38 +0000 (03:44 +0000)]
am 35cb4e49: Doc change: add new samples TOC groups and landing pages.

* commit '35cb4e49365a8a8da0607c2659399aaad9ea5a1c':
  Doc change: add new samples TOC groups and landing pages.

10 years agoDoc change: add new samples TOC groups and landing pages.
Dirk Dougherty [Sat, 8 Feb 2014 05:05:43 +0000 (21:05 -0800)]
Doc change: add new samples TOC groups and landing pages.

Change-Id: I2f39e82fb79d4f19362d9fe2deafdde5d87873a7

10 years agoMerge "Add debug for 12987986." into klp-modular-dev
Craig Mautner [Wed, 12 Feb 2014 23:44:55 +0000 (23:44 +0000)]
Merge "Add debug for 12987986." into klp-modular-dev

10 years agoAdd debug for 12987986.
Craig Mautner [Wed, 12 Feb 2014 23:43:40 +0000 (15:43 -0800)]
Add debug for 12987986.

For bug 12987986.

Change-Id: Idc122ba369ad7566e3fee290955bf91b0f610ae1

10 years agoam acec746b: am 55362018: am 271c8f12: Merge "Doc change: minor edits to support...
Dirk Dougherty [Wed, 12 Feb 2014 23:37:57 +0000 (23:37 +0000)]
am acec746b: am 55362018: am 271c8f12: Merge "Doc change: minor edits to support easier extraction of document summaries." into klp-docs

* commit 'acec746b8963410d4a9324df46272ac91f846868':
  Doc change: minor edits to support easier extraction of document summaries.

10 years agoam 55362018: am 271c8f12: Merge "Doc change: minor edits to support easier extraction...
Dirk Dougherty [Wed, 12 Feb 2014 23:34:35 +0000 (23:34 +0000)]
am 55362018: am 271c8f12: Merge "Doc change: minor edits to support easier extraction of document summaries." into klp-docs

* commit '55362018c9dfadff5eb1a138a1d90187110c253e':
  Doc change: minor edits to support easier extraction of document summaries.

10 years agoam 271c8f12: Merge "Doc change: minor edits to support easier extraction of document...
Dirk Dougherty [Wed, 12 Feb 2014 23:30:19 +0000 (23:30 +0000)]
am 271c8f12: Merge "Doc change: minor edits to support easier extraction of document summaries." into klp-docs

* commit '271c8f12c88e87563ed17f4ad29610037bd300be':
  Doc change: minor edits to support easier extraction of document summaries.

10 years agoam 5b97ec6f: am 3885b00a: am f25bc75f: Merge "MediaRouter Developer Guide" into klp...
Joe Fernandez [Wed, 12 Feb 2014 23:29:38 +0000 (23:29 +0000)]
am 5b97ec6f: am 3885b00a: am f25bc75f: Merge "MediaRouter Developer Guide" into klp-docs

* commit '5b97ec6fa0e166113aad2abc1107e6bd3771cc2a':
  MediaRouter Developer Guide

10 years agoMerge "Doc change: minor edits to support easier extraction of document summaries...
Dirk Dougherty [Wed, 12 Feb 2014 23:20:40 +0000 (23:20 +0000)]
Merge "Doc change: minor edits to support easier extraction of document summaries." into klp-docs

10 years agoam 3885b00a: am f25bc75f: Merge "MediaRouter Developer Guide" into klp-docs
Joe Fernandez [Wed, 12 Feb 2014 23:19:10 +0000 (23:19 +0000)]
am 3885b00a: am f25bc75f: Merge "MediaRouter Developer Guide" into klp-docs

* commit '3885b00ae12df9f56e922ceda12326e922be1414':
  MediaRouter Developer Guide

10 years agoam f25bc75f: Merge "MediaRouter Developer Guide" into klp-docs
Joe Fernandez [Wed, 12 Feb 2014 23:15:50 +0000 (23:15 +0000)]
am f25bc75f: Merge "MediaRouter Developer Guide" into klp-docs

* commit 'f25bc75f591fbb04733b9cc33fabee2293973b8c':
  MediaRouter Developer Guide

10 years agoMerge "MediaRouter Developer Guide" into klp-docs
Joe Fernandez [Wed, 12 Feb 2014 23:13:01 +0000 (23:13 +0000)]
Merge "MediaRouter Developer Guide" into klp-docs

10 years agoMediaRouter Developer Guide
Joe Fernandez [Wed, 29 Jan 2014 00:17:44 +0000 (16:17 -0800)]
MediaRouter Developer Guide

staging: http://joefernandez2.mtv.corp.google.com:8210/guide/topics/media/mediarouter.html

Change-Id: I764828066de8b233e61ad8a5d4a102a4d231fa82

10 years agoam 640e0c89: am 36547014: am 670944aa: Merge "docs: Added missing elements in uses...
Ricardo Cervera [Wed, 12 Feb 2014 22:02:53 +0000 (22:02 +0000)]
am 640e0c89: am 36547014: am 670944aa: Merge "docs: Added missing elements in uses-feature. Bug: 12913153" into klp-docs

* commit '640e0c89c3fb4ee4f180b7a2d8b9aaad237f2f9c':
  docs: Added missing elements in uses-feature. Bug: 12913153

10 years agoam 58305f88: am bff7db19: am 521a54d0: Merge "docs: Added notes for Build Tools Revis...
Ricardo Cervera [Wed, 12 Feb 2014 22:02:49 +0000 (22:02 +0000)]
am 58305f88: am bff7db19: am 521a54d0: Merge "docs: Added notes for Build Tools Revision 19.0.2" into klp-docs

* commit '58305f88fdf111f960869340d54f46387fcab4bf':
  docs: Added notes for Build Tools Revision 19.0.2

10 years agoam ac74a524: am 566e4df8: am ca8757bf: Merge "docs: Added Revision 3 of Google APIs...
Ricardo Cervera [Wed, 12 Feb 2014 22:02:43 +0000 (22:02 +0000)]
am ac74a524: am 566e4df8: am ca8757bf: Merge "docs: Added Revision 3 of Google APIs System Image." into klp-docs

* commit 'ac74a5245bf115c4b5e23a3db515c0c3b5166662':
  docs: Added Revision 3 of Google APIs System Image.

10 years agoam 36547014: am 670944aa: Merge "docs: Added missing elements in uses-feature. Bug...
Ricardo Cervera [Wed, 12 Feb 2014 21:59:39 +0000 (21:59 +0000)]
am 36547014: am 670944aa: Merge "docs: Added missing elements in uses-feature. Bug: 12913153" into klp-docs

* commit '36547014a3fa62e966739e12ccd31634b17058e9':
  docs: Added missing elements in uses-feature. Bug: 12913153

10 years agoam bff7db19: am 521a54d0: Merge "docs: Added notes for Build Tools Revision 19.0...
Ricardo Cervera [Wed, 12 Feb 2014 21:59:36 +0000 (21:59 +0000)]
am bff7db19: am 521a54d0: Merge "docs: Added notes for Build Tools Revision 19.0.2" into klp-docs

* commit 'bff7db19e3bbd2997490beec671b52e4e925c0a5':
  docs: Added notes for Build Tools Revision 19.0.2

10 years agoam 566e4df8: am ca8757bf: Merge "docs: Added Revision 3 of Google APIs System Image...
Ricardo Cervera [Wed, 12 Feb 2014 21:59:33 +0000 (21:59 +0000)]
am 566e4df8: am ca8757bf: Merge "docs: Added Revision 3 of Google APIs System Image." into klp-docs

* commit '566e4df8c3ff66fae6c343524272d332510e26f4':
  docs: Added Revision 3 of Google APIs System Image.

10 years agoam 670944aa: Merge "docs: Added missing elements in uses-feature. Bug: 12913153"...
Ricardo Cervera [Wed, 12 Feb 2014 21:56:29 +0000 (21:56 +0000)]
am 670944aa: Merge "docs: Added missing elements in uses-feature. Bug: 12913153" into klp-docs

* commit '670944aa7272e95ba3ec02b83b2ae4f38ad577ba':
  docs: Added missing elements in uses-feature. Bug: 12913153

10 years agoam 521a54d0: Merge "docs: Added notes for Build Tools Revision 19.0.2" into klp-docs
Ricardo Cervera [Wed, 12 Feb 2014 21:56:27 +0000 (21:56 +0000)]
am 521a54d0: Merge "docs: Added notes for Build Tools Revision 19.0.2" into klp-docs

* commit '521a54d0cc5288c4467652f4d773f372eebe970b':
  docs: Added notes for Build Tools Revision 19.0.2

10 years agoam ca8757bf: Merge "docs: Added Revision 3 of Google APIs System Image." into klp...
Ricardo Cervera [Wed, 12 Feb 2014 21:56:24 +0000 (21:56 +0000)]
am ca8757bf: Merge "docs: Added Revision 3 of Google APIs System Image." into klp-docs

* commit 'ca8757bfc5fd506c647ccd1452c53c6ca4fafb81':
  docs: Added Revision 3 of Google APIs System Image.

10 years agoDoc change: minor edits to support easier extraction of document summaries.
Dirk Dougherty [Sun, 9 Feb 2014 04:29:06 +0000 (20:29 -0800)]
Doc change: minor edits to support easier extraction of document summaries.

Change-Id: I1a15a1d233464d6c8d35a741c54932412dea28ee

10 years agoMerge "docs: Added missing elements in uses-feature. Bug: 12913153" into klp-docs
Ricardo Cervera [Wed, 12 Feb 2014 21:05:31 +0000 (21:05 +0000)]
Merge "docs: Added missing elements in uses-feature. Bug: 12913153" into klp-docs

10 years agoMerge "docs: Added notes for Build Tools Revision 19.0.2" into klp-docs
Ricardo Cervera [Wed, 12 Feb 2014 21:04:40 +0000 (21:04 +0000)]
Merge "docs: Added notes for Build Tools Revision 19.0.2" into klp-docs

10 years agoMerge "docs: Added Revision 3 of Google APIs System Image." into klp-docs
Ricardo Cervera [Wed, 12 Feb 2014 21:04:00 +0000 (21:04 +0000)]
Merge "docs: Added Revision 3 of Google APIs System Image." into klp-docs

10 years agodocs: Added Revision 3 of Google APIs System Image.
Ricardo Cervera [Fri, 31 Jan 2014 00:12:51 +0000 (16:12 -0800)]
docs: Added Revision 3 of Google APIs System Image.

Updated Google Play services version to 4.2.42 too.

Change-Id: I1887414760e91808ed0a2574c24dab3598797f32
Review: http://quixote.mtv.corp.google.com:8003/tools/revisions/platforms.html

10 years agoMerge "Don't add windows from exiting app tokens twice." into klp-modular-dev
Craig Mautner [Wed, 12 Feb 2014 20:56:36 +0000 (20:56 +0000)]
Merge "Don't add windows from exiting app tokens twice." into klp-modular-dev

10 years agoDon't add windows from exiting app tokens twice.
Craig Mautner [Wed, 12 Feb 2014 20:37:17 +0000 (12:37 -0800)]
Don't add windows from exiting app tokens twice.

If an apptoken's removal has been delayed then it will be in both
mExitingAppTokens and the stack's tasks. When rebuilding the windows
the windows from that apptoken will get added twice. This change
skips adding those windows from apptokens that have already been
added from mExitingAppTokens.

Change-Id: I55f94b7dbef36aeacb390b91fbe82426eaac5458

10 years agoImprove error handling in listener services.
John Spurlock [Wed, 12 Feb 2014 17:12:26 +0000 (12:12 -0500)]
Improve error handling in listener services.

Check explicitly for null listeners in NMS, throwing
IllegalArgumentException (on the small list of exceptions
that survive RPC boundaries) with a message.

Normally this situation is caused by listeners that attempt to
perform NM-related actions before they are bound.  Check for
this case in the base NLS class and avoid the call to NM if we
know it will fail.

Although it's tempting to throw an IllegalStateException on the
client side, preserve the existing semantics for backwards-compatibility
purposes.  That is, silently fail (or return null) - and provide a
log warning.

Bug:12805707
Change-Id: I0d92fd0d460a8592e8a23fd8fd718ae2ba3bd4c7

10 years agoam bc64716c: am a2739fa7: am a4c5bba0: add document about GoogleApiClient and one...
Scott Main [Wed, 12 Feb 2014 17:06:32 +0000 (17:06 +0000)]
am bc64716c: am a2739fa7: am a4c5bba0: add document about GoogleApiClient and one about GoogleAuthUtil also remove the Authorization document from the Google Services section. bug:10679818

* commit 'bc64716cfb1269d07b64f89c3b46800afa5dc266':
  add document about GoogleApiClient and one about GoogleAuthUtil also remove the Authorization document from the Google Services section. bug:10679818

10 years agoam b6ecc342: am 37ae7032: am 1654264e: Update generated docs for Google Play Services.
Dirk Dougherty [Wed, 12 Feb 2014 17:06:26 +0000 (17:06 +0000)]
am b6ecc342: am 37ae7032: am 1654264e: Update generated docs for Google Play Services.

* commit 'b6ecc342d3e9f355a78a0a10e613bbda31286f3a':
  Update generated docs for Google Play Services.

10 years agoam a2739fa7: am a4c5bba0: add document about GoogleApiClient and one about GoogleAuth...
Scott Main [Wed, 12 Feb 2014 17:03:26 +0000 (17:03 +0000)]
am a2739fa7: am a4c5bba0: add document about GoogleApiClient and one about GoogleAuthUtil also remove the Authorization document from the Google Services section. bug:10679818

* commit 'a2739fa795981f597b044e93a5c552051cfe1c00':
  add document about GoogleApiClient and one about GoogleAuthUtil also remove the Authorization document from the Google Services section. bug:10679818

10 years agoam 37ae7032: am 1654264e: Update generated docs for Google Play Services.
Dirk Dougherty [Wed, 12 Feb 2014 17:03:22 +0000 (17:03 +0000)]
am 37ae7032: am 1654264e: Update generated docs for Google Play Services.

* commit '37ae70326feebd23cf2b9c5254f1250d5bf3a029':
  Update generated docs for Google Play Services.

10 years agoam a4c5bba0: add document about GoogleApiClient and one about GoogleAuthUtil also...
Scott Main [Wed, 12 Feb 2014 16:59:56 +0000 (16:59 +0000)]
am a4c5bba0: add document about GoogleApiClient and one about GoogleAuthUtil also remove the Authorization document from the Google Services section. bug:10679818

* commit 'a4c5bba07e121569ab504b2191ee576f09407f5b':
  add document about GoogleApiClient and one about GoogleAuthUtil also remove the Authorization document from the Google Services section. bug:10679818

10 years agoadd document about GoogleApiClient and one about GoogleAuthUtil
Scott Main [Sat, 5 Oct 2013 02:08:08 +0000 (19:08 -0700)]
add document about GoogleApiClient and one about GoogleAuthUtil
also remove the Authorization document from the Google Services
section.
bug:10679818

Change-Id: Ibfade1eca68d89afe30b79d75ca5e38a2b3a84a8

10 years agoam 1654264e: Update generated docs for Google Play Services.
Dirk Dougherty [Wed, 12 Feb 2014 03:13:19 +0000 (03:13 +0000)]
am 1654264e: Update generated docs for Google Play Services.

* commit '1654264edd68adfd4347d12112aa3124f1d0acb9':
  Update generated docs for Google Play Services.

10 years agoUpdate generated docs for Google Play Services.
Dirk Dougherty [Sat, 8 Feb 2014 03:58:28 +0000 (19:58 -0800)]
Update generated docs for Google Play Services.

Change-Id: I6dab64736cd07b1ffb398d9baab21250552c5e17

10 years agoam 6d1d2134: am 11bb34da: am 9854f69f: Merge "add google cast feature page edit other...
Scott Main [Wed, 12 Feb 2014 01:18:48 +0000 (01:18 +0000)]
am 6d1d2134: am 11bb34da: am 9854f69f: Merge "add google cast feature page edit other feature pages for consistent call to action paragraph and remove \'preview\' notice from Drive page" into klp-docs

* commit '6d1d21340fe6ca84fdef76dd6f9ba7c315b7a73e':
  add google cast feature page edit other feature pages for consistent call to action paragraph and remove 'preview' notice from Drive page

10 years agoam 11bb34da: am 9854f69f: Merge "add google cast feature page edit other feature...
Scott Main [Wed, 12 Feb 2014 01:15:25 +0000 (01:15 +0000)]
am 11bb34da: am 9854f69f: Merge "add google cast feature page edit other feature pages for consistent call to action paragraph and remove \'preview\' notice from Drive page" into klp-docs

* commit '11bb34da5f68f70f3350199e3578445d9a1eaae3':
  add google cast feature page edit other feature pages for consistent call to action paragraph and remove 'preview' notice from Drive page

10 years agoam 9854f69f: Merge "add google cast feature page edit other feature pages for consist...
Scott Main [Wed, 12 Feb 2014 01:12:08 +0000 (01:12 +0000)]
am 9854f69f: Merge "add google cast feature page edit other feature pages for consistent call to action paragraph and remove \'preview\' notice from Drive page" into klp-docs

* commit '9854f69f75352e473e34410b0b298b7c7f04434a':
  add google cast feature page edit other feature pages for consistent call to action paragraph and remove 'preview' notice from Drive page

10 years agoMerge "add google cast feature page edit other feature pages for consistent call...
Scott Main [Wed, 12 Feb 2014 01:09:21 +0000 (01:09 +0000)]
Merge "add google cast feature page edit other feature pages for consistent call to action paragraph and remove 'preview' notice from Drive page" into klp-docs

10 years agoAdd support for injecting events into ActivityContainers. (DO NOT MERGE)
Jeff Brown [Tue, 11 Feb 2014 22:32:56 +0000 (14:32 -0800)]
Add support for injecting events into ActivityContainers. (DO NOT MERGE)

Modified ActivityView to inject touch events it receives back into
its activity container.  The container then injects the event into
the input system along with the display id of the underlying virtual
display.

Enhanced the input system to support concurrent dispatch of touch
events on multiple displays which is required for this to work.

Change-Id: I9cf1870db3be6f99a52ed9a1e3ceafe42c940093

10 years agoMerge "Add local-only option to Notification (using flag)" into klp-modular-dev
Griff Hazen [Tue, 11 Feb 2014 21:26:53 +0000 (21:26 +0000)]
Merge "Add local-only option to Notification (using flag)" into klp-modular-dev

10 years agoam d2e6c89a: am 0a96a82b: am 0cb2c76b: Merge "Doc update: clarify best practices...
Katie McCormick [Tue, 11 Feb 2014 20:23:58 +0000 (20:23 +0000)]
am d2e6c89a: am 0a96a82b: am 0cb2c76b: Merge "Doc update: clarify best practices." into klp-docs

* commit 'd2e6c89a24b9049c490c551ac49ecc75570fc50e':
  Doc update: clarify best practices.

10 years agoam 0a96a82b: am 0cb2c76b: Merge "Doc update: clarify best practices." into klp-docs
Katie McCormick [Tue, 11 Feb 2014 20:22:00 +0000 (20:22 +0000)]
am 0a96a82b: am 0cb2c76b: Merge "Doc update: clarify best practices." into klp-docs

* commit '0a96a82bbe153ed2337b67435016d35eb434da16':
  Doc update: clarify best practices.

10 years agoam 0cb2c76b: Merge "Doc update: clarify best practices." into klp-docs
Katie McCormick [Tue, 11 Feb 2014 20:16:26 +0000 (20:16 +0000)]
am 0cb2c76b: Merge "Doc update: clarify best practices." into klp-docs

* commit '0cb2c76b66bb7c413221fc0c5ea07b7779c97dea':
  Doc update: clarify best practices.

10 years agoMerge "Doc update: clarify best practices." into klp-docs
Katie McCormick [Tue, 11 Feb 2014 20:13:34 +0000 (20:13 +0000)]
Merge "Doc update: clarify best practices." into klp-docs

10 years agoAdd local-only option to Notification (using flag)
Griff Hazen [Tue, 11 Feb 2014 20:00:00 +0000 (12:00 -0800)]
Add local-only option to Notification (using flag)

Change-Id: Ic6d2f3b0cf06b58c0afa2af0fa6b245124424223

10 years agoMerge "Make SystemService constructor take a Context." into klp-modular-dev
Jeff Brown [Tue, 11 Feb 2014 04:12:02 +0000 (04:12 +0000)]
Merge "Make SystemService constructor take a Context." into klp-modular-dev

10 years agoMake SystemService constructor take a Context.
Jeff Brown [Tue, 11 Feb 2014 03:47:07 +0000 (19:47 -0800)]
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

10 years agoDoc update: clarify best practices.
Katie McCormick [Fri, 7 Feb 2014 22:33:10 +0000 (14:33 -0800)]
Doc update: clarify best practices.

Fix for:

b/12515292

Change-Id: I1616d41c052582ff6c82b87cd0282cf1d25bb84d

10 years agoChange task removal sequence
Craig Mautner [Tue, 11 Feb 2014 01:55:01 +0000 (17:55 -0800)]
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

10 years agoam 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.
Deepanshu Gupta [Mon, 10 Feb 2014 19:53:48 +0000 (19:53 +0000)]
am 56b86deb: am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.

* commit '56b86debcfaf8f661011702d31854bb3804f5fe1':
  Improve text rendering and measurement.

10 years agoam 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.
Deepanshu Gupta [Mon, 10 Feb 2014 19:50:58 +0000 (19:50 +0000)]
am 1c91b1f7: am 45dbfcc7: Improve text rendering and measurement.

* commit '1c91b1f7a2da5e5b1996217228399ef958c2be0c':
  Improve text rendering and measurement.

10 years agoam 45dbfcc7: Improve text rendering and measurement.
Deepanshu Gupta [Mon, 10 Feb 2014 19:47:20 +0000 (19:47 +0000)]
am 45dbfcc7: Improve text rendering and measurement.

* commit '45dbfcc781a3926d22571b6ccfa3f27ec896f119':
  Improve text rendering and measurement.

10 years agoMerge "Fix ActivityView layout bug." into klp-modular-dev
Griff Hazen [Mon, 10 Feb 2014 17:51:35 +0000 (17:51 +0000)]
Merge "Fix ActivityView layout bug." into klp-modular-dev

10 years agoam 332aefe9: am d038afd3: am 7074f324: Merge "docs: Fixed ViewPager animation tutoria...
Ricardo Cervera [Mon, 10 Feb 2014 17:29:19 +0000 (17:29 +0000)]
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

10 years agoam d038afd3: am 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815...
Ricardo Cervera [Mon, 10 Feb 2014 17:26:19 +0000 (17:26 +0000)]
am d038afd3: am 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs

* commit 'd038afd39874238357a5ca9621921542f57db7a1':
  docs: Fixed ViewPager animation tutorial. Bug: 12815243

10 years agoam 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into...
Ricardo Cervera [Mon, 10 Feb 2014 17:22:23 +0000 (17:22 +0000)]
am 7074f324: Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs

* commit '7074f32440a8d6db4512c82e12b9e1c6891a4ce1':
  docs: Fixed ViewPager animation tutorial. Bug: 12815243

10 years agoMerge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs
Ricardo Cervera [Mon, 10 Feb 2014 17:19:28 +0000 (17:19 +0000)]
Merge "docs: Fixed ViewPager animation tutorial. Bug: 12815243" into klp-docs

10 years agoFix ActivityView layout bug.
Griff Hazen [Mon, 10 Feb 2014 16:58:32 +0000 (08:58 -0800)]
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

10 years agoam bcc27903: am 44085b68: am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp...
Katie McCormick [Sat, 8 Feb 2014 18:39:07 +0000 (18:39 +0000)]
am bcc27903: am 44085b68: am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs

* commit 'bcc27903fb4b9581f2b6912d767cccb2d1c2e1ba':
  Doc update: misc GCM fixes

10 years agoam 3f43b646: am 7fd4d29e: am 392ddb22: Merge "Doc change: add carousel and spotlight...
Dirk Dougherty [Sat, 8 Feb 2014 18:39:01 +0000 (18:39 +0000)]
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.

10 years agoam 44085b68: am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs
Katie McCormick [Sat, 8 Feb 2014 18:34:54 +0000 (18:34 +0000)]
am 44085b68: am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs

* commit '44085b68add3d7583f7832c51409de83655fc4f1':
  Doc update: misc GCM fixes

10 years agoam 7fd4d29e: am 392ddb22: Merge "Doc change: add carousel and spotlight for developer...
Dirk Dougherty [Sat, 8 Feb 2014 18:34:44 +0000 (18:34 +0000)]
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.

10 years agoam f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs
Katie McCormick [Sat, 8 Feb 2014 01:58:53 +0000 (01:58 +0000)]
am f2fcbff8: Merge "Doc update: misc GCM fixes" into klp-docs

* commit 'f2fcbff8382b93bd779af546a7dda8f85eba3763':
  Doc update: misc GCM fixes

10 years agoMerge "Doc update: misc GCM fixes" into klp-docs
Katie McCormick [Sat, 8 Feb 2014 01:55:43 +0000 (01:55 +0000)]
Merge "Doc update: misc GCM fixes" into klp-docs

10 years agoDoc update: misc GCM fixes
Katie McCormick [Sat, 8 Feb 2014 01:36:03 +0000 (17:36 -0800)]
Doc update: misc GCM fixes

Fixes for:

b/12909231
b/12887320
b/12872407

Change-Id: I1fefb41f7ceea2e4e80262834d1c631b6b8daf7e

10 years agoQueue startActivity params if not yet ready.
Craig Mautner [Fri, 7 Feb 2014 23:30:03 +0000 (15:30 -0800)]
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

10 years agoDon't remove Activities and Tasks until animation done
Craig Mautner [Fri, 7 Feb 2014 21:11:47 +0000 (13:11 -0800)]
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

10 years agoam 392ddb22: Merge "Doc change: add carousel and spotlight for developer video."...
Dirk Dougherty [Fri, 7 Feb 2014 20:52:33 +0000 (20:52 +0000)]
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.

10 years agoMerge "Doc change: add carousel and spotlight for developer video." into klp-docs
Dirk Dougherty [Fri, 7 Feb 2014 20:50:24 +0000 (20:50 +0000)]
Merge "Doc change: add carousel and spotlight for developer video." into klp-docs

10 years agodocs: Fixed ViewPager animation tutorial. Bug: 12815243
Ricardo Cervera [Fri, 7 Feb 2014 20:31:02 +0000 (12:31 -0800)]
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

10 years agodocs: Added missing elements in uses-feature. Bug: 12913153
Ricardo Cervera [Thu, 6 Feb 2014 20:20:53 +0000 (12:20 -0800)]
docs: Added missing elements in uses-feature. Bug: 12913153

Change-Id: Ib4d5a8bf5b80dcde68ffd031381b0104592b101b
Review: http://quixote.mtv.corp.google.com:8001/guide/topics/manifest/uses-feature-element.html

10 years agoImprove text rendering and measurement.
Deepanshu Gupta [Tue, 7 Jan 2014 19:58:44 +0000 (11:58 -0800)]
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

10 years agoDoc change: add carousel and spotlight for developer video.
Dirk Dougherty [Wed, 5 Feb 2014 20:58:40 +0000 (12:58 -0800)]
Doc change: add carousel and spotlight for developer video.

Change-Id: I715e559c880bb76939ba1a423c3927aacc16e2a1

10 years agoam b7d456d4: am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object...
Ricardo Cervera [Thu, 6 Feb 2014 21:20:28 +0000 (21:20 +0000)]
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

10 years agoam 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf...
Ricardo Cervera [Thu, 6 Feb 2014 21:17:12 +0000 (21:17 +0000)]
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

10 years agoam 74d290fd: am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual...
Ricardo Cervera [Thu, 6 Feb 2014 21:16:28 +0000 (21:16 +0000)]
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

10 years agoam 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug...
Ricardo Cervera [Thu, 6 Feb 2014 21:13:29 +0000 (21:13 +0000)]
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

10 years agoam d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887...
Ricardo Cervera [Thu, 6 Feb 2014 21:13:21 +0000 (21:13 +0000)]
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

10 years agoam 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp...
Ricardo Cervera [Thu, 6 Feb 2014 21:09:36 +0000 (21:09 +0000)]
am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs

* commit '531939d151167e56b3106205f4c3d859a9f509ce':
  docs: Fixed links to Proguard manual. Bug: 12713887

10 years agoMerge "docs: Updated the retaining an object during conf change. Bug: 10303533" into...
Ricardo Cervera [Thu, 6 Feb 2014 21:09:12 +0000 (21:09 +0000)]
Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs

10 years agoMerge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
Ricardo Cervera [Thu, 6 Feb 2014 21:07:09 +0000 (21:07 +0000)]
Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs

10 years agoDO NOT MERGE. Test for Configuration differences before changing.
Craig Mautner [Thu, 6 Feb 2014 18:31:41 +0000 (10:31 -0800)]
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

10 years agoMerge "Check feature bits before loading optional services" into klp-modular-dev
Adam Lesinski [Thu, 6 Feb 2014 20:13:20 +0000 (20:13 +0000)]
Merge "Check feature bits before loading optional services" into klp-modular-dev

10 years agodocs: Updated the retaining an object during conf change. Bug: 10303533
Ricardo Cervera [Tue, 28 Jan 2014 01:47:39 +0000 (17:47 -0800)]
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

10 years agodocs: Fixed links to Proguard manual. Bug: 12713887
Ricardo Cervera [Mon, 27 Jan 2014 19:02:39 +0000 (11:02 -0800)]
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

10 years agoam 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into...
Deepanshu Gupta [Thu, 6 Feb 2014 03:03:54 +0000 (03:03 +0000)]
am 3adb34ee: am 9fcfbfe2: am 3bf38b41: Merge "Add methods for Time_Delegate" into klp-dev

* commit '3adb34ee079504b5854d23bc7a38dafc0a985219':
  Add methods for Time_Delegate

10 years agoam 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib...
Deepanshu Gupta [Thu, 6 Feb 2014 03:03:50 +0000 (03:03 +0000)]
am 23de8dc2: am 28e049ef: am 0db6e6a5: Merge "Optimize layout rendering in layoutlib" into klp-dev

* commit '23de8dc2625d4aeb4dc9085c5865ed571f96261a':
  Optimize layout rendering in layoutlib

10 years agoam 096e4359: am f2f108fe: am a955314d: Merge "Add missing files to fix libphonenumber...
Deepanshu Gupta [Thu, 6 Feb 2014 03:03:45 +0000 (03:03 +0000)]
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.

10 years agoam 5800b19a: am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds...
Deepanshu Gupta [Thu, 6 Feb 2014 03:03:41 +0000 (03:03 +0000)]
am 5800b19a: am 50b0ce4e: am fd8cba3a: Merge "Fix the measurement of text bounds." into klp-dev

* commit '5800b19a7a3422620cb28e2327a96bf824f5cc9c':
  Fix the measurement of text bounds.

10 years agoam b156c019: am d5129e75: am 8a892279: Fix a bug in Nine Patch library.
Deepanshu Gupta [Thu, 6 Feb 2014 03:03:36 +0000 (03:03 +0000)]
am b156c019: am d5129e75: am 8a892279: Fix a bug in Nine Patch library.

* commit 'b156c0197d052dd4be71ad2b858acc01f50ad49f':
  Fix a bug in Nine Patch library.