21020 Commits

Author SHA1 Message Date
Romain Guy
70a1705556 Merge "Fix text redering issue where the text was sometimes truncated" 2011-03-24 18:09:28 -07:00
Fabrice Di Meglio
251ae9a7b4 Fix text redering issue where the text was sometimes truncated
- mostly was visible in Settings apps / Wi-Fi networks summary info for each network
- use ceilf() instead of roundf()

Change-Id: I80310a9f00e8f7eb066d8ff03f52ea8f9cd85880
2011-03-24 17:21:23 -07:00
Jeff Brown
dff626c56a Merge "Added a hovered state for drawables." 2011-03-24 16:42:08 -07:00
PY Laligand
c33d8d49e4 Added a hovered state for drawables.
Change-Id: I2b12c8593e04e37c8eb748946ca6d4d7a61de36a
2011-03-24 16:14:08 -07:00
Romain Guy
ad575f4dda Merge "When deleting a path, remove it from the path cache. Bug #4170585" 2011-03-24 16:05:13 -07:00
Romain Guy
1af23a32d8 When deleting a path, remove it from the path cache.
Bug #4170585

Change-Id: I6be4d251ceb908c89afe49c2ff85c05f36c73b70
2011-03-24 16:03:55 -07:00
Michael Jurka
9c78930046 Merge "Fixing invalidate problems in software rendered mode" 2011-03-24 16:00:50 -07:00
Adam Powell
1147bb6989 Merge "Fix bug 4084399 - with usb keyboard, actionbar menuitems with icon+text take dpad focus twice in row" 2011-03-24 15:57:55 -07:00
Adam Powell
6bddd8771d Fix bug 4084399 - with usb keyboard, actionbar menuitems with
icon+text take dpad focus twice in row

Fix action menu item layout focusability so that only the full item is
focusable. Fix up listeners appropriately.

Change-Id: I127c36404894869a08c5f4472491e3e596563c5c
2011-03-24 15:56:07 -07:00
Michael Jurka
d0872bd38a Fixing invalidate problems in software rendered mode 2011-03-24 15:45:27 -07:00
Jeff Brown
b7c25ce3ae Merge "Add MotionEvent.HOVER_ENTER and HOVER_EXIT." 2011-03-24 15:38:04 -07:00
Jeff Brown
a032cc0086 Add MotionEvent.HOVER_ENTER and HOVER_EXIT.
The input dispatcher sends a HOVER_ENTER to a window before dispatching
it any HOVER_MOVE events.  For compatibility reasons, the window will
*also* receive the HOVER_MOVE.  When the pointer moves into a different
window or the pointer goes down or when events are canceled for some reason,
the input dispatcher sends a HOVER_EXIT to the previously hovered window.

The view hierarchy behavior is similar.  All views under the pointer
receive onHoverEvent with HOVER_ENTER followed by any number of HOVER_MOVE
events.  When the pointer leaves a view, the view receives HOVER_EXIT.
Similarly, if a parent view decides to capture hover by returning true
from onHoverEvent, the hovered descendants will receive HOVER_EXIT.

The default behavior of onHoverEvent is to update the view's hovered
state by calling setHovered(true/false).  Views can query their current
hovered state using isHovered().

For testing purposes, the hovered state is mapped to the pressed
drawable state.  This will change in a subsequent commit with the
introduction of a new hovered drawable state.

Change-Id: Ib76a7a90236c8f2c7336e55773acade6346cacbe
2011-03-24 15:37:04 -07:00
Eino-Ville Talvala
a5d42c8578 Merge "NEW_API: Add getTimestamp() to SurfaceTexture." 2011-03-24 15:36:56 -07:00
Adam Powell
3224fac18c Merge "Fix bug 3484000 - ActionBar visibility issue" 2011-03-24 14:20:31 -07:00
Adam Powell
d814504979 Fix bug 3484000 - ActionBar visibility issue
Fix up action bar visibility state when shown without animation.

Change-Id: I51e56e2c983d7bb608bb6834d39ac2c5d926d63c
2011-03-24 14:18:27 -07:00
Romain Guy
c5a43a249b Avoid NPE in postInvalidate().
Bug #4048131

Change-Id: I020400fc97015240924461674ca7bf8077059152
2011-03-24 13:28:56 -07:00
Romain Guy
cf38b0cea6 Merge "Correctly check bottom padding in setPadding()." 2011-03-24 12:04:20 -07:00
Romain Guy
13f35f3ce6 Correctly check bottom padding in setPadding().
Change-Id: Ie8099d37ad865acc559c4a4d34eb84960a1a19f3
2011-03-24 12:03:17 -07:00
Adam Powell
5728d924a9 Merge "Fix bug 4136071 - CAB causes the action bar to be shown, regardless of previous state" 2011-03-24 11:16:13 -07:00
Adam Powell
07e1f988c0 Fix bug 4136071 - CAB causes the action bar to be shown, regardless of
previous state

Hide the action bar upon finishing a mode if it was hidden when the
mode started. If show() is called while the mode is active, the bar
will not hide when the mode finishes.

Change-Id: I7d9b593b9ecd9fa633251abebcdca0d85405252a
2011-03-24 11:12:58 -07:00
Jesse Wilson
ff5569948f Don't link to Harmony implementation details in public APIs.
Change-Id: I8a157d64d87443b512a5b958d52a0769ef01ef7b
2011-03-24 10:36:52 -07:00
Romain Guy
c78504dca6 Merge "Use the correct API to query system properties." 2011-03-23 19:57:23 -07:00
Romain Guy
aaceeb0c5b Use the correct API to query system properties.
Change-Id: Ie120dee0e24959d4db3fdb0100b6d8fe7fe46cdb
2011-03-23 19:56:13 -07:00
Teng-Hui Zhu
d9f68bc9e0 am 842b914f: am a7605d3b: am 2d09b855: Merge "When the video is not on the front, it should be paused" into honeycomb-mr1
* commit '842b914f26633aa94f3c63fbfc6a6b521904e1b8':
  When the video is not on the front, it should be paused
2011-03-23 17:38:28 -07:00
Teng-Hui Zhu
842b914f26 am a7605d3b: am 2d09b855: Merge "When the video is not on the front, it should be paused" into honeycomb-mr1
* commit 'a7605d3b2ec9526fc369e5e0a1a37880db2c0694':
  When the video is not on the front, it should be paused
2011-03-23 17:36:03 -07:00
Teng-Hui Zhu
a7605d3b2e am 2d09b855: Merge "When the video is not on the front, it should be paused" into honeycomb-mr1
* commit '2d09b855d5c0749ab845d3f2775125fea294f07c':
  When the video is not on the front, it should be paused
2011-03-23 17:34:15 -07:00
Romain Guy
6325b622ad Merge "Apply color filters to bitmaps." 2011-03-23 16:56:18 -07:00
Teng-Hui Zhu
1e26d82ffa When the video is not on the front, it should be paused
bug:4165855
Change-Id: Icbdab81fe5beb8642841b16773b0e5350b4221cf
2011-03-23 16:56:12 -07:00
Romain Guy
56215274f2 Apply color filters to bitmaps.
Change-Id: I36354a6a2d330b2e61ed2af12b6701b151880288
2011-03-23 16:55:38 -07:00
Teng-Hui Zhu
d6f8f798f2 am fee1d146: am 50373509: am efb8eda4: Merge "Make sure the full screen playing continue when timeout" into honeycomb-mr1
* commit 'fee1d146a3285e887712150496bbf002f4945079':
  Make sure the full screen playing continue when timeout
2011-03-23 16:09:46 -07:00
Teng-Hui Zhu
fee1d146a3 am 50373509: am efb8eda4: Merge "Make sure the full screen playing continue when timeout" into honeycomb-mr1
* commit '503735099d51e9701be4737dff4e74b35361d371':
  Make sure the full screen playing continue when timeout
2011-03-23 16:07:57 -07:00
Teng-Hui Zhu
503735099d am efb8eda4: Merge "Make sure the full screen playing continue when timeout" into honeycomb-mr1
* commit 'efb8eda41a2dce03db0984c490c16f6a32867ded':
  Make sure the full screen playing continue when timeout
2011-03-23 16:06:10 -07:00
Teng-Hui Zhu
efb8eda41a Merge "Make sure the full screen playing continue when timeout" into honeycomb-mr1 2011-03-23 16:03:04 -07:00
Teng-Hui Zhu
2deec6651c Make sure the full screen playing continue when timeout
bug:4165804
Change-Id: I5e0f4bdaecce36d074941ae6631b211227c13fcb
2011-03-23 15:29:22 -07:00
Scott Main
f0e8f367ca am 8346a6c2: am ee7cfaf2: am 18cd686f: am ef6b305b: docs: fix markup error
* commit '8346a6c27311afdce4755807a23a8edcf1f52f66':
  docs: fix markup error
2011-03-23 14:49:38 -07:00
Scott Main
8346a6c273 am ee7cfaf2: am 18cd686f: am ef6b305b: docs: fix markup error
* commit 'ee7cfaf28969998ca15800f99bcdab2596051865':
  docs: fix markup error
2011-03-23 14:47:34 -07:00
Scott Main
ee7cfaf289 am 18cd686f: am ef6b305b: docs: fix markup error
* commit '18cd686fc828c9c75596de1494ecaa5467fcc195':
  docs: fix markup error
2011-03-23 14:43:35 -07:00
Scott Main
18cd686fc8 am ef6b305b: docs: fix markup error
* commit 'ef6b305b93009b60ad7c6ddbd200d1b5c554963f':
  docs: fix markup error
2011-03-23 14:32:44 -07:00
Scott Main
ef6b305b93 docs: fix markup error
Change-Id: I59e379a7a36c4184862095442c53a6b9496d856e
2011-03-23 14:23:02 -07:00
repo sync
adbf9d8585 am d5ba9c22: Merge "resolved conflicts for merge of 17f95e92 to honeycomb-plus-aosp" into honeycomb-plus-aosp
* commit 'd5ba9c22236346578ce34e3e8b475b8cad9773dd':
  remove the code that clears the passwords when the sim is replaced with a different one.
2011-03-23 13:49:35 -07:00
repo sync
d5ba9c2223 Merge "resolved conflicts for merge of 17f95e92 to honeycomb-plus-aosp" into honeycomb-plus-aosp 2011-03-23 13:46:32 -07:00
Chet Haase
96b16ed1a8 Merge "Add custom fragment anims to be run when popping backstack" 2011-03-23 11:25:09 -07:00
Fabrice Di Meglio
aa5eb64a0c Merge "Use Harfbuzz instead of ICU4C for computing advances" 2011-03-23 10:56:41 -07:00
Chet Haase
bc377841db Add custom fragment anims to be run when popping backstack
The previous fragment implementation allowed for animations
during fragment transitions, but did not account for the
different behavior of fragments when popping the back stack.
In general, you probably don't want to run the same animation
for putting a fragment on the stack as for popping it off, which
is what happens now. For example, you might fade a fragment out when
putting it on the stack. But when popping ot off, fading it out
is probably not the behavior you want.

The new API (setCustomAnimations() overload with two additional
parameters) allows developers to specify animations to be run
in the popping operation. Otherwise, the animations are null and
the operation will not be animated.

Change-Id: I2e132b3890838358e496149f18a25037a59990aa
2011-03-23 09:35:00 -07:00
Fabrice Di Meglio
9f82b580d7 Use Harfbuzz instead of ICU4C for computing advances
- use Harfbuzz shaper for shaping and getting glyphs
- add test app for showing result of drawText() and drawGlyphs()
- add private API in Canvas and Paint for test app

Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6
2011-03-22 19:36:30 -07:00
Mathias Agopian
462db220a2 fix [4056232] Deprecate Sensor.TYPE_TEMPERATURE and add Sensor.TYPE_AMBIENT_TEMPERATURE
Bug: 4056232
Change-Id: Idf165460fc083f856c320f0f6f8841d73661c829
2011-03-22 19:12:13 -07:00
Eric Rowe
94d76925c2 am 2f97217b: am 22e21da6: am 5e66ccf5: Merge "Clean up BT stress tests." into honeycomb-mr1
* commit '2f97217bfca0e89b88498c44a8f0f5ad35091b0a':
  Clean up BT stress tests.
2011-03-22 19:03:14 -07:00
Eric Rowe
2f97217bfc am 22e21da6: am 5e66ccf5: Merge "Clean up BT stress tests." into honeycomb-mr1
* commit '22e21da663677d12768d38b95d65a747a4a0540b':
  Clean up BT stress tests.
2011-03-22 19:00:57 -07:00
Eric Rowe
22e21da663 am 5e66ccf5: Merge "Clean up BT stress tests." into honeycomb-mr1
* commit '5e66ccf5c41bd67e2b1b3f4cc4671af8e115fe7a':
  Clean up BT stress tests.
2011-03-22 18:59:00 -07:00
Eric Rowe
5e66ccf5c4 Merge "Clean up BT stress tests." into honeycomb-mr1 2011-03-22 18:57:27 -07:00