83563 Commits

Author SHA1 Message Date
Dianne Hackborn
34743ac7d6 Merge "Add API to create new contexts with custom configurations." into jb-mr1-dev 2012-08-14 17:33:01 -07:00
Dianne Hackborn
756220bd19 Add API to create new contexts with custom configurations.
This allows you to, say, make a Context whose configuration
is set to a different density than the actual density of the device.

The main API is Context.createConfigurationContext().  There is
also a new API on ContextThemeWrapper that allows you to apply
an override context before its resources are retrieved, which
addresses some feature requests from developers to be able to
customize the context their app is running in.

Change-Id: I88364986660088521e24b567e2fda22fb7042819
2012-08-14 16:51:38 -07:00
Amith Yamasani
c144d2ad10 am 07d1b289: Merge "Launch ASSIST intent on the current user" into jb-mr1-dev
* commit '07d1b289041c67d42e1ad3fc9343833d8a781998':
  Launch ASSIST intent on the current user
2012-08-14 16:37:02 -07:00
Amith Yamasani
07d1b28904 Merge "Launch ASSIST intent on the current user" into jb-mr1-dev 2012-08-14 16:34:48 -07:00
Iliyan Malchev
a22374f024 Revert "Add timestamp in scan results"
Temporarily reverting this until all devices switch to using wpa_supplicant_8.

This reverts commit b31f78f93768fef269617ec788a5c6655a375f80.

Change-Id: I33fcb8415288d95289dcd46fa71e950e0f2b87ec
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-08-14 14:59:30 -07:00
Chet Haase
12d478e8ff Optimize interactions with glyph cache
There are two fixes here:
- precaching: instead of caching-then-drawing whenever there is a new
glyph, we cache at DisplayList record time. Then when we finally draw that
DisplayList, we just upload the affected texture(s) once, instead of once
per change. This is a huge savings in upload time, especially when there are
larger glyphs being used by the app.
- packing: Previously, glyphs would line up horizontally on each cache line, leaving
potentially tons of space vertically, especially when smaller glyphs got put into cache
lines intended for large glyphs (which can happen when an app uses lots of unique
glyphs, a common case with, for example, chinese/japanese/korean languages). The new
approach packs glyphs vertically as well as horizontally to use the space more efficiently
and provide space for more glyphs in these situations.

Change-Id: I84338aa25db208c7bf13f3f92b4d05ed40c33527
2012-08-14 14:59:23 -07:00
Scott Main
e768571e22 am 22a65164: am d54bc800: am 71c4fc81: Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using thi
* commit '22a65164d241c55bc129ab652de2e2296152cb5d':
  docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future.
2012-08-14 14:29:47 -07:00
Scott Main
22a65164d2 am d54bc800: am 71c4fc81: Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect al
* commit 'd54bc8009f745a5f730fa013bb0084c502b18aa9':
  docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future.
2012-08-14 14:27:40 -07:00
Scott Main
d54bc8009f am 71c4fc81: Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to ch
* commit '71c4fc818dae494f4acdb24bb6d1b899ddc5e07d':
  docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future.
2012-08-14 14:26:14 -07:00
Scott Main
71c4fc818d Merge "docs: change download URLs for design assets. These new URLs are dummies that are handled by a redirect rule for all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/ Using this redirect allows us to change the storage location of the download assets in the future." into jb-dev 2012-08-14 14:23:40 -07:00
Jason Sams
573a22a31e am 3c13dd80: Merge "Intrinsics test" into jb-mr1-dev
* commit '3c13dd8090869f16624234b5a377ba7ad09afa9e':
  Intrinsics test
2012-08-14 14:22:23 -07:00
Jason Sams
3c13dd8090 Merge "Intrinsics test" into jb-mr1-dev 2012-08-14 14:19:24 -07:00
Fabrice Di Meglio
e89ad6c20f am d63b9922: Merge "Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed" into jb-mr1-dev
* commit 'd63b992210e40f5af7a7fa5b2c2b6b831c75d468':
  Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed
2012-08-14 14:05:55 -07:00
Fabrice Di Meglio
d63b992210 Merge "Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed" into jb-mr1-dev 2012-08-14 14:03:51 -07:00
Fabrice Di Meglio
f3e64101bb Fix bug #6908329 TextUtils.ellipsize does not work properly when Locale is changed
- load the ellipis resources on the fly to get the correct ones depending on the Locale

Change-Id: I42d591e3f5ed715c983f736f94a80143a3897f47
2012-08-14 14:01:53 -07:00
Daniel Sandler
e189e544bb am 41f71dc8: Merge "Use a color resource to specify the dim behind panels." into jb-mr1-dev
* commit '41f71dc814e89546110c57b7ee73c87f31aaba4e':
  Use a color resource to specify the dim behind panels.
2012-08-14 13:26:05 -07:00
Daniel Sandler
a1512fe8c0 am 2846ea4e: Merge "Fix bug with swipe-to-dismiss." into jb-mr1-dev
* commit '2846ea4e79d1aae3a93689ce09eff6e217b28dac':
  Fix bug with swipe-to-dismiss.
2012-08-14 13:23:26 -07:00
Daniel Sandler
41f71dc814 Merge "Use a color resource to specify the dim behind panels." into jb-mr1-dev 2012-08-14 13:22:53 -07:00
Daniel Sandler
2846ea4e79 Merge "Fix bug with swipe-to-dismiss." into jb-mr1-dev 2012-08-14 13:20:56 -07:00
Scott Main
911711fd31 revise info on Search button availability... behavior not guaranteed either
bug: 6966922

Change-Id: I4122e6fb99b95da3f53b56333a5f27d2adde6d44
2012-08-14 13:20:53 -07:00
Daniel Sandler
e7237fceb1 Fix bug with swipe-to-dismiss.
(Clearing all notifications prevents notifications from
being subsequently swiped away.)

Change-Id: Ia15704c390d95f16675e2eea6040379099f44430
2012-08-14 16:08:27 -04:00
Scott Main
a640bb13ed am a5d1dc9d: am bd63fb87: am 6958c161: Merge "docs: misc bug fixes from external issues" into jb-dev
* commit 'a5d1dc9d0322d2c7b7d7f13816fd551a7042c2a3':
  docs: misc bug fixes from external issues
2012-08-14 12:44:49 -07:00
Scott Main
a5d1dc9d03 am bd63fb87: am 6958c161: Merge "docs: misc bug fixes from external issues" into jb-dev
* commit 'bd63fb875c49d69d5969df35ae159bd17cadb730':
  docs: misc bug fixes from external issues
2012-08-14 12:42:12 -07:00
Scott Main
bd63fb875c am 6958c161: Merge "docs: misc bug fixes from external issues" into jb-dev
* commit '6958c161a9f12aaa1db33bdc526040c3691638dc':
  docs: misc bug fixes from external issues
2012-08-14 12:40:41 -07:00
Amith Yamasani
c1d07a4bd2 Launch ASSIST intent on the current user
Lockscreen and statusbar now launch the intent on the current user.
Make sure that the intent resolution is made to the package manager
for the specific user, as the app could have been disabled for that
user or may have an alternative app installed.

Change-Id: I93b0f972d6c7e8880b146da83dc3d08a68fe7e51
2012-08-14 12:39:29 -07:00
Scott Main
6958c161a9 Merge "docs: misc bug fixes from external issues" into jb-dev 2012-08-14 12:38:22 -07:00
Jason Sams
6ab97682fd Intrinsics test
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
2012-08-14 12:06:00 -07:00
Scott Main
d632b43fab docs: change download URLs for design assets.
These new URLs are dummies that are handled by a redirect rule for
all /downloads/... paths, that points to http://commondatastorage.googleapis.com/androiddevelopers/
Using this redirect allows us to change the storage location of the download assets in the future.

Change-Id: I0dc6ecc1a6898f1256ba4c9ff90b619366e47629
2012-08-14 11:44:09 -07:00
Iliyan Malchev
c29a6ffd8a am 57853108: Revert "Add timestamp in scan results"
* commit '578531082b8e8c8aa03868e69591b7613b0e8b8e':
  Revert "Add timestamp in scan results"
2012-08-14 11:22:43 -07:00
Iliyan Malchev
578531082b Revert "Add timestamp in scan results"
Temporarily reverting this until all devices switch to using wpa_supplicant_8.

This reverts commit b31f78f93768fef269617ec788a5c6655a375f80.

Change-Id: I33fcb8415288d95289dcd46fa71e950e0f2b87ec
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-08-14 11:17:21 -07:00
Baligh Uddin
9775ed3792 am 73025eda: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '73025eda13e19672534974efa06d1e2313bceb30':
  Import translations. DO NOT MERGE
2012-08-14 11:07:58 -07:00
Baligh Uddin
73025eda13 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-14 11:05:27 -07:00
Baligh Uddin
75900f7d89 Import translations. DO NOT MERGE
Change-Id: Ic8830e8e351d93506427aabed4f527dfe2f5888f
Auto-generated-cl: translation import
2012-08-14 11:05:04 -07:00
Chiao Cheng
667cf4158a am 472f4161: Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev
* commit '472f41614044cc40e89b76f2200b57bc28c7ddae':
  Adding limit and offset query parameters to CallLog.
2012-08-14 10:55:56 -07:00
Chiao Cheng
472f416140 Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev 2012-08-14 10:53:19 -07:00
Wink Saville
9328aa84fa am 215ccb32: am d660b610: am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
* commit '215ccb32c74a41569ddcb203aa802201e40bb386':
  show 3G icon for CDMA/1xRTT
2012-08-14 10:47:18 -07:00
Wink Saville
215ccb32c7 am d660b610: am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
* commit 'd660b610c8b98d23263d3863ae8438a569597a16':
  show 3G icon for CDMA/1xRTT
2012-08-14 10:44:50 -07:00
Wink Saville
d660b610c8 am 116748d0: Merge "show 3G icon for CDMA/1xRTT" into jb-dev
* commit '116748d0d16f8e747fdfdaf2326d9a58bb2317d5':
  show 3G icon for CDMA/1xRTT
2012-08-14 10:42:50 -07:00
Chet Haase
bd94e98f6a am e8165ac5: Merge "Optimize interactions with glyph cache" into jb-mr1-dev
* commit 'e8165ac5fdd95ddcf65309b4225f55074b12ccc4':
  Optimize interactions with glyph cache
2012-08-14 10:41:31 -07:00
Wink Saville
116748d0d1 Merge "show 3G icon for CDMA/1xRTT" into jb-dev 2012-08-14 10:40:34 -07:00
Chet Haase
e8165ac5fd Merge "Optimize interactions with glyph cache" into jb-mr1-dev 2012-08-14 10:38:45 -07:00
Chet Haase
e816baea65 Optimize interactions with glyph cache
There are two fixes here:
- precaching: instead of caching-then-drawing whenever there is a new
glyph, we cache at DisplayList record time. Then when we finally draw that
DisplayList, we just upload the affected texture(s) once, instead of once
per change. This is a huge savings in upload time, especially when there are
larger glyphs being used by the app.
- packing: Previously, glyphs would line up horizontally on each cache line, leaving
potentially tons of space vertically, especially when smaller glyphs got put into cache
lines intended for large glyphs (which can happen when an app uses lots of unique
glyphs, a common case with, for example, chinese/japanese/korean languages). The new
approach packs glyphs vertically as well as horizontally to use the space more efficiently
and provide space for more glyphs in these situations.

Change-Id: I84338aa25db208c7bf13f3f92b4d05ed40c33527
2012-08-14 10:33:30 -07:00
Madan Ankapura
5333400bd5 show 3G icon for CDMA/1xRTT
when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
2012-08-14 10:17:54 -07:00
Narayan Kamath
31d68f4268 am 9c3d7a88: Fixes to TextToSpeechService#synthesizeToFile
* commit '9c3d7a888d0c5c09f0153e81018ff68aa6e91712':
  Fixes to TextToSpeechService#synthesizeToFile
2012-08-14 08:41:23 -07:00
Narayan Kamath
8df5472b64 am ed4e541a: Fix bug in BlockingAudioTrack.
* commit 'ed4e541a20cc662b8399844684d18ad0060bd1cb':
  Fix bug in BlockingAudioTrack.
2012-08-14 08:39:40 -07:00
Narayan Kamath
9c3d7a888d Fixes to TextToSpeechService#synthesizeToFile
- Fixes a strict mode violation, defers file validity checks
  to when the engine starts synthesizing audio.
- Fixes some log spam when done() is called twice.

bug:6215680
bug:5415258
Change-Id: I4001be848b5208422d4091b7398e94ed311c649f
2012-08-14 08:38:26 -07:00
Narayan Kamath
ed4e541a20 Fix bug in BlockingAudioTrack.
Will be seen when createStreamingAudioTrack() returns null,
which will happen if the audioflinger / audiomanager are unhealthy.

Also removes some confusing synchronization from this class.

bug:6636401
Change-Id: Iaf68a305665b7bc973898145e9cd1563e2569a2b
2012-08-14 08:36:27 -07:00
Daniel Sandler
1c1edaa5f1 Use a color resource to specify the dim behind panels.
Change-Id: I551d9969dc1f4032f26fd94cf9719f07873abb5e
2012-08-14 11:28:38 -04:00
Daniel Sandler
b7b6f8200d am a6aef1bb: Merge "New status bar capable of multiple sliding panels." into jb-mr1-dev
* commit 'a6aef1bbb4382fa5f89d0b7ad2cc46be4c6de1e7':
  New status bar capable of multiple sliding panels.
2012-08-14 07:58:54 -07:00
Steve Block
3d93562115 am 27f3e32e: Clarify JavaDoc for WebView.loadData()
* commit '27f3e32ee181ccd809fbe74ec5f7fb43aea197f7':
  Clarify JavaDoc for WebView.loadData()
2012-08-14 07:57:02 -07:00