386 Commits

Author SHA1 Message Date
Dianne Hackborn
247fe74c93 Implement issue # 3255887 could CursorLoader offer...
...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
2011-01-08 18:25:30 -08:00
Robert Ly
293b850da6 Doc change: fixing links set 2
Change-Id: I8752cc7c732812a5f11f8b5f5ac83c3a87305f22
2011-01-07 18:56:10 -08:00
Scott Main
a4a0e5ee59 am cdd76cf5: am 0d1e38ef: cherrypick Change-Id: I58e21f636e15d4b1522b66b16ffd48f1eb31308c docs: misc fixes to the drawable reference
* commit 'cdd76cf5873ee709d04ffeda6e56c5f15bfa1bba':
  cherrypick Change-Id: I58e21f636e15d4b1522b66b16ffd48f1eb31308c docs: misc fixes to the drawable reference
2010-12-20 11:33:04 -08:00
Scott Main
cdd76cf587 am 0d1e38ef: cherrypick Change-Id: I58e21f636e15d4b1522b66b16ffd48f1eb31308c docs: misc fixes to the drawable reference
* commit '0d1e38ef99252cb14e6bcc4b3135021da025330f':
  cherrypick Change-Id: I58e21f636e15d4b1522b66b16ffd48f1eb31308c docs: misc fixes to the drawable reference
2010-12-20 11:29:32 -08:00
Glenn Kasten
334031cd07 Fix documentation errors
Fix typos.
Fix javadoc error.
Fix wrong instructions about new returning null.

Change-Id: I76bca22e386839007fc99667b07649a4ced4180f
2010-12-20 09:22:01 -08:00
Scott Main
207a5d2467 am c4172983: am 4ea442b4: Merge "cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links" into gingerbread
* commit 'c4172983fb1a5ce1eec08ae1196844bd469643e8':
  cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links
2010-12-16 16:10:09 -08:00
Scott Main
c4172983fb am 4ea442b4: Merge "cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links" into gingerbread
* commit '4ea442b49c2f44c180346fe780a2b8c9766b587b':
  cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links
2010-12-16 16:04:54 -08:00
Scott Main
0d1e38ef99 cherrypick Change-Id: I58e21f636e15d4b1522b66b16ffd48f1eb31308c
docs: misc fixes to the drawable reference

Change-Id: I8b867234250ca18d5b6ee78a22b6150e1ba3e588
2010-12-16 15:48:36 -08:00
Scott Main
58d1966767 cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4
docs: misc changes;
add path to adb tool in sdk;
fix broken link to ninepatch docs;
fix and add some other links

Change-Id: I27c7284ac2db2e6020c9cb0115fb932a2f503033
2010-12-15 17:44:38 -08:00
Scott Main
9742148fb2 Merge "docs: updates to menu resource doc for new attributes" 2010-12-15 12:11:10 -08:00
Scott Main
14711b2b42 docs: updates to menu resource doc for new attributes
Change-Id: I6dd0553da6153839b54e4429db5e87d071e91e49
2010-12-15 12:08:25 -08:00
Scott Main
ccc15650e4 am 9278d321: am 52078255: cherrypick Change-Id: I7a0fc4863c547bd40051437a834bb50373415abd docs: fix bug 3216642
* commit '9278d3216837ad45eae13b87f04f050acb4ddafa':
  cherrypick Change-Id: I7a0fc4863c547bd40051437a834bb50373415abd docs: fix bug 3216642
2010-12-15 12:01:58 -08:00
Scott Main
9278d32168 am 52078255: cherrypick Change-Id: I7a0fc4863c547bd40051437a834bb50373415abd docs: fix bug 3216642
* commit '52078255dacabe9b779613b032a4dc3706b2b5d3':
  cherrypick Change-Id: I7a0fc4863c547bd40051437a834bb50373415abd docs: fix bug 3216642
2010-12-15 11:56:04 -08:00
Scott Main
52078255da cherrypick Change-Id: I7a0fc4863c547bd40051437a834bb50373415abd
docs: fix bug 3216642

Change-Id: Ic42d97d4e67a09dc4e366862e2b72ff92f152b85
2010-12-15 11:49:42 -08:00
Scott Main
bb3e4cf973 am 3354f4dc: am 369c1c1f: cherrypick Change-Id: I52bc4e2d34015e6e30887590f920b580a034180e docs: anchor link fixes
* commit '3354f4dc3de531cf5e5039c0b9f40de4fbdac255':
  cherrypick Change-Id: I52bc4e2d34015e6e30887590f920b580a034180e docs: anchor link fixes
2010-12-14 17:45:39 -08:00
Scott Main
3354f4dc3d am 369c1c1f: cherrypick Change-Id: I52bc4e2d34015e6e30887590f920b580a034180e docs: anchor link fixes
* commit '369c1c1fa22802b6504c5cde533d797841700a66':
  cherrypick Change-Id: I52bc4e2d34015e6e30887590f920b580a034180e docs: anchor link fixes
2010-12-14 17:42:28 -08:00
Scott Main
369c1c1fa2 cherrypick Change-Id: I52bc4e2d34015e6e30887590f920b580a034180e
docs: anchor link fixes

Change-Id: I41175d61bb4ee2b0e087515e609e5ebfb19b1ea1
2010-12-14 17:34:00 -08:00
Scott Main
52e0883409 am 84bf9bc7: am e9123960: cherrypick Change-Id: I00fd449b1daf5b75d6a051af46bfa6e45d131708 docs: misc doc fixes
* commit '84bf9bc70fba3e6adea473033c411ab145aa9698':
  cherrypick Change-Id: I00fd449b1daf5b75d6a051af46bfa6e45d131708 docs: misc doc fixes
2010-12-14 16:51:53 -08:00
Scott Main
84bf9bc70f am e9123960: cherrypick Change-Id: I00fd449b1daf5b75d6a051af46bfa6e45d131708 docs: misc doc fixes
* commit 'e9123960764d7b2e94fb0d68aae21fccc472abcd':
  cherrypick Change-Id: I00fd449b1daf5b75d6a051af46bfa6e45d131708 docs: misc doc fixes
2010-12-14 16:48:38 -08:00
Scott Main
dc76b1c3ff am a925b6a6: am 93d204ed: cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df docs: fix misc broken links; update some screenshots using windows bug: 3258882
* commit 'a925b6a64c8137804547d5cfcd97415392d667b1':
  cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df docs: fix misc broken links; update some screenshots using windows bug: 3258882
2010-12-14 16:46:56 -08:00
Scott Main
a925b6a64c am 93d204ed: cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df docs: fix misc broken links; update some screenshots using windows bug: 3258882
* commit '93d204ed98019322e434b714c7c0a619d69f24f5':
  cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df docs: fix misc broken links; update some screenshots using windows bug: 3258882
2010-12-14 16:43:28 -08:00
Scott Main
e912396076 cherrypick Change-Id: I00fd449b1daf5b75d6a051af46bfa6e45d131708
docs: misc doc fixes

Change-Id: Ib5f8aaf8feb42c825bc0149ec3775999856f5f57
2010-12-14 16:42:48 -08:00
Scott Main
93d204ed98 cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df
docs: fix misc broken links; update some screenshots using windows
bug: 3258882

Change-Id: I3d4a2c66be4e563f4c45d72fec30c9a1b5d8fc23
2010-12-14 16:39:22 -08:00
Scott Main
0b0eb1ac11 am 178d5005: am b94df620: cherrypick Change-Id: I653e91a47979b24e7ecfcbce013c4ffaaa3c55ee docs: edit manifest samples to indicate <application> element is always last
* commit '178d500551c1d88a2e8ec9425d9cbfbb7d998113':
  cherrypick Change-Id: I653e91a47979b24e7ecfcbce013c4ffaaa3c55ee docs: edit manifest samples to indicate <application> element is always last
2010-12-14 16:26:32 -08:00
Scott Main
178d500551 am b94df620: cherrypick Change-Id: I653e91a47979b24e7ecfcbce013c4ffaaa3c55ee docs: edit manifest samples to indicate <application> element is always last
* commit 'b94df620959de658990c1ed1263e2e1c42df7f6b':
  cherrypick Change-Id: I653e91a47979b24e7ecfcbce013c4ffaaa3c55ee docs: edit manifest samples to indicate <application> element is always last
2010-12-14 16:22:56 -08:00
Scott Main
b94df62095 cherrypick Change-Id: I653e91a47979b24e7ecfcbce013c4ffaaa3c55ee
docs: edit manifest samples to indicate <application> element is always last

Change-Id: I993d130c26efd87147913d5607a2e7f15bd12fe8
2010-12-14 16:11:02 -08:00
Dirk Dougherty
904785be3b cherry pick from gingerbread: I08a2f67d324484ed05b956c540facd69f9028563
Do not merge: Doc change: highlights and SDK version notes for Android 2.3 platform.

Change-Id: Iac08560728b3c6783ee6fcbd31ec6aca58b156d3
2010-12-06 16:57:09 -08:00
Adam Powell
8515ee846b Fix bug 3240444 - add OnMenuVisibilityListener for action bar.
Fix bug 3180015 - leaking window handles on configuration change for
action bar dropdown menus

Rename ActionBar.NavigationCallback to something more consistent with
the rest of the API.

Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
2010-12-01 13:03:44 -08:00
Scott Main
aa74b319e6 am 2eaa846e: am 54d21dad: docs: updates to the backup dev guide add sample code for performing restore and fix typos bug: 3180881,3125550,3125563
* commit '2eaa846ed34bded6889df5bce96cc17abc296cee':
  docs: updates to the backup dev guide add sample code for performing restore and fix typos bug: 3180881,3125550,3125563
2010-12-01 03:37:26 -08:00
Scott Main
2eaa846ed3 am 54d21dad: docs: updates to the backup dev guide add sample code for performing restore and fix typos bug: 3180881,3125550,3125563
* commit '54d21dadf1aee8f58df65728a00ad57dbfeefb22':
  docs: updates to the backup dev guide add sample code for performing restore and fix typos bug: 3180881,3125550,3125563
2010-11-30 13:30:33 -08:00
Scott Main
54d21dadf1 docs: updates to the backup dev guide
add sample code for performing restore and fix typos
bug: 3180881,3125550,3125563

Change-Id: I27dd19ede8bad03d11b8ddebe516e9dbf4fdbb89
2010-11-30 13:27:10 -08:00
Dirk Dougherty
ba5d11bdba am 50f8445e: Do not merge: Doc change: highlights and SDK version notes for Android 2.3 platform.
* commit '50f8445edd14a21ad86080ff7b204eefdc2c62d5':
  Do not merge: Doc change: highlights and SDK version notes for Android 2.3 platform.
2010-11-30 11:48:46 -08:00
Dirk Dougherty
50f8445edd Do not merge: Doc change: highlights and SDK version notes for Android 2.3 platform.
Change-Id: I08a2f67d324484ed05b956c540facd69f9028563
2010-11-30 10:54:06 -08:00
Scott Main
b6d1832fc4 Merge "docs: more docs for action bar add drop-down navigation and action view" 2010-11-29 09:56:26 -08:00
Jesse Wilson
1318af1a47 Fixing a typo in onCreate sample code.
Change-Id: Ia03bf2bfcfee95fd3a856f9fb87d12cd6c99219c
2010-11-28 21:06:57 -08:00
Scott Main
50403a2033 docs: more docs for action bar
add drop-down navigation and action view

Change-Id: I9968def5442646263a482eb28520f099d3c7d6e0
2010-11-24 16:45:47 -08:00
Scott Main
d4fbcfa220 am 9e3d14c4: am 93116f8f: am 3577f51d: docs: clarify <include> layout properties bug: 3227820
* commit '9e3d14c4aad7e41406f633734973b191c21b5c5c':
  docs: clarify <include> layout properties bug: 3227820
2010-11-24 16:23:04 -08:00
Scott Main
9e3d14c4aa am 93116f8f: am 3577f51d: docs: clarify <include> layout properties bug: 3227820
* commit '93116f8fb171a3cf0e9b68b70e2b275a8b6a32f7':
  docs: clarify <include> layout properties bug: 3227820
2010-11-24 12:43:08 -08:00
Scott Main
93116f8fb1 am 3577f51d: docs: clarify <include> layout properties bug: 3227820
* commit '3577f51d4bc236a11e283855337752a7b6897f8b':
  docs: clarify <include> layout properties bug: 3227820
2010-11-24 12:39:42 -08:00
Scott Main
3577f51d4b docs: clarify <include> layout properties
bug: 3227820

Change-Id: Id5130cd805ee2ea545a795019fb375ffd841727f
2010-11-24 11:24:33 -08:00
Scott Main
f67eb43600 docs: fix code snippet error
Change-Id: I5d65effce4a88af2cbf990276015ed24200037b5
2010-11-23 14:46:49 -08:00
Dianne Hackborn
621e17de87 Implement issue #3221502: New APIs to support new back stack / task navigation
What this adds:

- A new Intent activity flag to completely replace an existing task.
- A new Intent activity flag to bring the current home task up behind
  a new task being started/brought to the foreground.
- New versions of startActivity() that take an array of Intents to be
  started, allowing applications to start a task in a specific state.
- A public moveTaskToFront() method on ActivityManager, with a new flag
  that allows the caller to have the task moved to the front with the
  current home task immediately behind it.

Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8
2010-11-22 18:35:55 -08:00
Scott Main
18439bee6f docs: add dev guide for action bar and update other relevant documents
Change-Id: I1d3deda4c35066f7cf05b06fe5b60acfa1fae149
2010-11-22 10:42:36 -08:00
Scott Main
1385d89d5e am 55ff5708: am 828b6816: Merge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462" into gingerbread
* commit '55ff5708bb166ab985ffd89e62ddcb13927d6403':
  docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462
2010-11-19 16:56:53 -08:00
Scott Main
55ff5708bb am 828b6816: Merge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462" into gingerbread
* commit '828b68166679ebfc0002e2ea516ca91e6fb13597':
  docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462
2010-11-19 16:51:57 -08:00
Scott Main
828b681666 Merge "docs: add docs for xhdpi and xlarge screen support update screen ranges figure bug: 3099462" into gingerbread 2010-11-19 16:48:50 -08:00
Scott Main
c18b534585 new docs for fragments
Change-Id: Ia21a4c844d475a743399d25dfe43f916d423258c
2010-11-18 12:42:47 -08:00
Scott Main
0f6f51879c docs: revise menu resources to account for action bar
Change-Id: I40d61653e02735f6a0b47449191b71c233b36fa3
2010-11-17 19:34:28 -08:00
Scott Main
691da62bfe am 705c179e: am 0fe33a48: am 2cbe92ea: docs: add better visibility to app install location doc
* commit '705c179e3aade32f0e288299ba4519d4ee0a333f':
  docs: add better visibility to app install location doc
2010-11-17 18:40:50 -08:00
Scott Main
705c179e3a am 0fe33a48: am 2cbe92ea: docs: add better visibility to app install location doc
* commit '0fe33a4835ae3721f6302f3f2112d79e43b2b4f6':
  docs: add better visibility to app install location doc
2010-11-17 18:37:50 -08:00