109845 Commits

Author SHA1 Message Date
Adam Powell
843c7b6b90 Import xxhdpi framework drawables from UX export
Change-Id: I4a3ff925c59e8157f906c6de9ca2323adf2a07e4
2013-07-31 17:29:33 -07:00
Jeff Hao
406ec15647 Replace native Process getpid/getuid with calls to libcore equivalents.
The Process natives were getting called were getting called while
handling a jdwp packet before the vm had a chance to register them.

(cherry-pick of 5bce6a308fc8a3c1e449cf905b8b6e8ace4ef3e2.)

Change-Id: Ia2b4f79b11e427283a712b2d0c52948f394640bf
2013-07-31 17:19:23 -07:00
Svetoslav Ganov
9f1ef00265 Merge "Iteration on the print sub-system." 2013-08-01 00:13:44 +00:00
Dianne Hackborn
f94b34f539 Merge "Resource memory optimization." 2013-07-31 23:32:20 +00:00
Wink Saville
552436d17b Merge "Fix excessive log spew." 2013-07-31 23:27:34 +00:00
Dianne Hackborn
d45c68dd24 Resource memory optimization.
Don't ever need the cached UTF-16 string conversions on the
device.  Don't need to create those strings, and don't need
to create the lookup array for them at all.  This requires
fixing all of the remaining places in the platform where we
interacted with the resources with the blind assumption that
the strings are UTF-16.

Change-Id: Ia0e5a150499837471e494e85b23b05fa06e0cf1d
2013-07-31 15:57:49 -07:00
Victoria Lease
1e546815bb Support RGBA fonts and bitmap fonts (and RGBA bitmap fonts)
Quite a few things going on in this commit:

- Enable bitmap strikes by default in Paint objects.

The SkPaint parameter that enables bitmap strikes was not previously
included in DEFAULT_PAINT_FLAGS. This effectively disabled bitmap
fonts. Oops! It's for the best, though, as additional work was needed
in Skia to make bitmap fonts work anyway.

- Complain if TEXTURE_BORDER_SIZE is not 1.

Our glyph cache code does not currently handle any value other than 1
here, including zero. I've added a little C preprocessor check to
prevent future engineers (including especially future-me) from
thinking that they can change this value without updating the related
code.

- Add GL_RGBA support to hwui's FontRenderer and friends

This also happened to involve some refactoring for convenience and
cleanliness.

Bug: 9577689
Change-Id: I0abd1e5a0d6623106247fb6421787e2c2f2ea19c
2013-07-31 15:50:47 -07:00
Wink Saville
1aef7fc81a Fix excessive log spew.
Bug: 10115060
Change-Id: I61fd83071da1224f38757b8d90f58c8d6c41d36b
2013-07-31 15:49:04 -07:00
Jean-Michel Trivi
2380566deb Notification muting conditional to exclusive audio focus request
Summary of feature:
Do not mute notifications when speech recognition recording is
  active, but when an app has requested audio focus with
  AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE.

Implementation:
Move definition of AUDIOFOCUS_NONE to AudioManager where other
  audio focus codes are defined.
Add support for querying the current audio focus type.
When audio focus is requested as GAIN_TRANSIENT_EXCLUSIVE, make
  the corresponding loss by LOSS_TRANSIENT.
Before playing a notification, check whether GAIN_TRANSIENT_EXCLUSIVE
  has been requested.

Bug 8251963

Change-Id: I41edc77326b70639d2fdcb4642c53109995b72a8
2013-07-31 14:37:19 -07:00
Dianne Hackborn
af728bd201 am 5b45f236: (-s ours) am bd61ba5b: am a99cb5bc: (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
* commit '5b45f2366e97d8c937950285d4dc936fed15d00a':
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
2013-07-31 14:21:49 -07:00
Dianne Hackborn
5b45f2366e am bd61ba5b: am a99cb5bc: (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
* commit 'bd61ba5b22f55a70615e128310d365c6175a0a4e':
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
2013-07-31 14:18:06 -07:00
Dianne Hackborn
bd61ba5b22 am a99cb5bc: (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
* commit 'a99cb5bc41d4493db84c5ee3d9123d4a99df5c53':
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
2013-07-31 14:14:21 -07:00
Dianne Hackborn
a99cb5bc41 (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
...when clipboard listener attached

We need to clear the calling identity before dispatching change
notifications.  Also make this more robust, so that in the face
of any failure we will clean up the broadcast state.

Integrated from master.

Change-Id: I05e1f76ffd486439535631fe4062dabe94bd2ccf
2013-07-31 13:48:39 -07:00
Zhijun He
bf11d5835e Merge "Camera2 API: Fix missing callback issue" 2013-07-31 20:45:04 +00:00
Christopher Tate
20f170d6af Don't try to do the work if there isn't any data.
Bug 10056484

Change-Id: I527f592b0bb91bfbfff1d52c3327fe9e2ac53471
2013-07-31 13:01:02 -07:00
Zhijun He
ecb323e3ce Camera2 API: Fix missing callback issue
Callback/Listener classes must extend the AIDL Stub class and implement the
methods. Also rename the frameId to requestId to avoid confusion.

Change-Id: I1b2f0e2f99230917f9e0e1875ba3ba1c7859c805
2013-07-31 12:02:07 -07:00
Scott Main
99ae1c9f08 am c580489c: am a2545522: am 48ebc69f: remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
* commit 'c580489cb95696ab5f3482aeb9e83f5eb7d68d87':
  remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
2013-07-31 11:08:08 -07:00
Scott Main
c580489cb9 am a2545522: am 48ebc69f: remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
* commit 'a254552270879e08f852c69ebda9640fc1870e6f':
  remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
2013-07-31 11:02:15 -07:00
Scott Main
cc0be914a9 add search suggest tags for "tabs"
Change-Id: Ic80228c1293811d85a8177c8800e7c68b84fee4e
2013-07-31 10:58:48 -07:00
Scott Main
a254552270 am 48ebc69f: remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
* commit '48ebc69f4ea60438f8c9d9ebaa882babdbe26cb2':
  remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
2013-07-31 10:56:56 -07:00
Scott Main
48ebc69f4e remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
Change-Id: I743be26de666c3385cca1e180da0cab13c1c6335
2013-07-31 10:48:57 -07:00
Jean-Michel Trivi
3a6f25512c Merge "Focus gain sends focus loss through the focus stack" 2013-07-31 15:53:08 +00:00
Lorenzo Colitti
d1e0fae2bc Add accessors for all addresses and clarify compare* methods
1. Add a method to return all addresses and all LinkAddresses on
   all links (both base links and stacked links). We already had
   one for routes, but did not yet have any for addresses.
2. Rename compareRoutes to compareAllRoutes, because unlike the
   other compare* methods, it looks at all interfaces. Update
   what appears to be its only caller.
3. Update the documentation of the compare* methods to match
   reality (they don't return lists) and clarify whether they
   look at all links or only the base link.

Change-Id: Ie22e6c7f163d5de8e407248b45171dc28382d2d3
2013-08-01 00:21:24 +09:00
Ben Murdoch
46fc6a6e3b Merge "Revert "Flag-flip: set chromium to be the default WebView"" 2013-07-31 11:46:36 +00:00
Ben Murdoch
c9f10b6be9 Revert "Flag-flip: set chromium to be the default WebView"
We need to wait until GMail corruption fix is in.

This reverts commit 6716bd3375c647f43a1c332a0d1b027223611610.

Change-Id: Ie3c335e18901d24d878f81fb76b7065520fa32e5
2013-07-31 11:27:33 +00:00
Ben Murdoch
606f3ac3ba Merge "Add missing cleanspec." 2013-07-31 10:10:30 +00:00
Ben Murdoch
5839d17223 Add missing cleanspec.
Change-Id: Ida9f3c7335a84b126f67535ff658b056a59247a9
2013-07-31 10:44:01 +01:00
Satoshi Kataoka
0766eb045c Small refactor on InputMethodUtils
Change-Id: Ie4f797508c02abb13c7fe1be162ec4dc18829925
2013-07-31 18:33:48 +09:00
Ben Murdoch
5b537bf320 Merge "Flag-flip: set chromium to be the default WebView" 2013-07-31 09:14:11 +00:00
Ben Murdoch
dabc6fc8a9 Merge "Unhide WebView.evaluateJavascript(..)" 2013-07-31 09:13:27 +00:00
Jeff Sharkey
a1510c9849 Merge "Define storage roots, external GUIDs, creation." 2013-07-31 06:00:35 +00:00
Jeff Sharkey
20d96d8aff Define storage roots, external GUIDs, creation.
Allow storage backends to publish multiple roots into the UI, which
are defined by a directory GUID, type, and label details.  Update
external provider to surface a primary external storage root, and
switch to burning file path into the returned GUIDs so they remain
durable.

Added insert, update, and delete support to external provider. Adds
file extensions to display names when needed to match MIME type.

Add flags for searching and deletion, and extras for Cursor
pagination. Add directory creation dialog to UI. Opening a document
always gives write access.

Change-Id: I9bea1aa0dcde909a5ab86aefeece7451ab920cf1
2013-07-30 22:55:23 -07:00
Jonathan Dixon
6716bd3375 Flag-flip: set chromium to be the default WebView
For now, can still be disabled in Developer Settings.

Change-Id: Id871d1e232de7b3c7be42c7734f2bb83dc526b32
2013-07-30 20:26:52 -07:00
Dirk Dougherty
7cb1757d4c am 5ce5d66f: am 346aaf41: am a9dcc334: Doc change: edits to purchase status api docs.
* commit '5ce5d66f89cafa3b0eebca054663f86acf0c47ab':
  Doc change: edits to purchase status api docs.
2013-07-30 20:15:01 -07:00
Scott Main
2d1541e7fc am 020246fe: am 916f61ba: am e827b0d7: update ALCATEL ONE TOUCH usb driver URL
* commit '020246fe3f287c4e48af27addb73f8744a8d0231':
  update ALCATEL ONE TOUCH usb driver URL
2013-07-30 20:14:58 -07:00
Scott Main
5b62dd9ca6 am 421e092a: am 273132f3: am 299c5ea3: Revert "docs: add link to developer survey on main landing pages"
* commit '421e092a50a6185fbe2a21f225a34ab5b05d455a':
  Revert "docs: add link to developer survey on main landing pages"
2013-07-30 20:14:55 -07:00
Scott Main
ee82f4643d am fe5cd35d: am ea779669: am 159a5ff7: fix a few bugs. xxhpi bug: 10071401 bitmap code, aosp: 58020 intent code, aosp: 57698
* commit 'fe5cd35d2e117e392716ff0646dee0870cdcedde':
  fix a few bugs. xxhpi bug: 10071401 bitmap code, aosp: 58020 intent code, aosp: 57698
2013-07-30 20:14:52 -07:00
Dirk Dougherty
6f46e33949 am 48de64b4: am ad8ae220: am 2ffbfba5: Doc change: fix typo.
* commit '48de64b46542c6d8403b480b576fc748f9f44c7b':
  Doc change: fix typo.
2013-07-30 20:14:50 -07:00
Scott Main
27dfaf3bb1 am 30483952: am 1d7516a7: am ec6f327e: update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
* commit '30483952528469c612c61c7370e99db9e40b3262':
  update sizes/sums for tools 22.0.5 release also update platform version number for doc builds
2013-07-30 20:14:47 -07:00
Dirk Dougherty
ecf1834b06 am 8b4b3de1: am 524c3dbd: am 37ec3374: Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
* commit '8b4b3de1723de2d03fe5f51ab241804a8e350fd2':
  Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
2013-07-30 20:14:44 -07:00
Dirk Dougherty
8a80586d86 am 94393dc3: am 658d76c8: am c88e0211: Merge "Doc change: clean up doc and fix image url." into jb-mr2-docs
* commit '94393dc35e97002f916163121a96d280734c8d82':
  Doc change: clean up doc and fix image url.
2013-07-30 20:14:41 -07:00
Scott Main
2a6bbdbbe0 am d3c50bd0: am a11d164e: am ca0f5e63: Merge "docs: SDK / ADT 22.0.5 Release Notes" into jb-mr2-docs
* commit 'd3c50bd01c649d55d86cb355c67ff3d2e2bb641a':
  docs: SDK / ADT 22.0.5 Release Notes
2013-07-30 20:14:39 -07:00
Dirk Dougherty
6b71e1748c am 3cfa94a1: am d1ac96b1: am d9065a5c: Doc change: fix typo.
* commit '3cfa94a196158af3177e53a7a054156316bdcc9b':
  Doc change: fix typo.
2013-07-30 20:14:36 -07:00
Dirk Dougherty
cd44b93abc am ccf61c26: am fc7172e6: am 44632232: Doc change: add gpg developer stories.
* commit 'ccf61c267ebae65d3e0d8f7a3dde29a08aeeb39c':
  Doc change: add gpg developer stories.
2013-07-30 20:14:32 -07:00
Roman Nurik
8ebd0d7917 am 6c5c31d1: am 502aea1e: am df16ce48: Under-the-hood improvements to Device Art Generator.
* commit '6c5c31d159586d66fc2c4350562f090e7fe6f6fb':
  Under-the-hood improvements to Device Art Generator.
2013-07-30 20:14:29 -07:00
Scott Main
5efd93df99 am 0255d2c4: am 50c7f772: am 02dcb55a: add "download" id to which the page scrolls when beginning ndk download
* commit '0255d2c4305c4a8c812ca23e576dcbc7ddd674d1':
  add "download" id to which the page scrolls when beginning ndk download
2013-07-30 20:14:26 -07:00
Joe Fernandez
8028960b7e am bd6ace69: (-s ours) am 50bbc0ca: am 465c7c26: (-s ours) DO NOT MERGE cherrypick from jb-mr2-ub-dev docs: NDK r9 Release Notes (w/download size fix)
* commit 'bd6ace699c1db01117c6b6e4dd4899ea4c674007':
  DO NOT MERGE cherrypick from jb-mr2-ub-dev docs: NDK r9 Release Notes (w/download size fix)
2013-07-30 20:14:23 -07:00
Joe Fernandez
9010ef5545 am d014c9c0: am c743b29e: am 7ec2cc57: docs: fix link bug in Support LIbrary Guide
* commit 'd014c9c02b6fbf7b3bf9aabbd02663ae3d5325bb':
  docs: fix link bug in Support LIbrary Guide
2013-07-30 20:14:21 -07:00
Dirk Dougherty
5ce5d66f89 am 346aaf41: am a9dcc334: Doc change: edits to purchase status api docs.
* commit '346aaf41d57658256a41dbd202dc1461a1bf7f70':
  Doc change: edits to purchase status api docs.
2013-07-30 20:09:58 -07:00
Scott Main
020246fe3f am 916f61ba: am e827b0d7: update ALCATEL ONE TOUCH usb driver URL
* commit '916f61bacee800db2ae259f30243663f4e79245f':
  update ALCATEL ONE TOUCH usb driver URL
2013-07-30 20:09:55 -07:00