Commit Graph

24188 Commits

Author SHA1 Message Date
Svetoslav Ganov
f5264d7017 am 63655269: am 7a5f3e40: Merge "Virtual nodes are always important for accessibility." into jb-dev
* commit '63655269b8e6708ad6544d8b12223fea785b40f2':
  Virtual nodes are always important for accessibility.
2012-05-02 17:51:26 -07:00
Svetoslav Ganov
63655269b8 am 7a5f3e40: Merge "Virtual nodes are always important for accessibility." into jb-dev
* commit '7a5f3e4048b0af08606b689b4f4a39d6040c3c23':
  Virtual nodes are always important for accessibility.
2012-05-02 17:48:27 -07:00
Svetoslav Ganov
7a5f3e4048 Merge "Virtual nodes are always important for accessibility." into jb-dev 2012-05-02 17:45:58 -07:00
Chris Craik
78cd30ef7c am 0e693b24: am 3421f9fd: Merge "Add temporary functor lifetime logging" into jb-dev
* commit '0e693b249d7bf63c483654682778f6172c27a8b7':
  Add temporary functor lifetime logging
2012-05-02 17:33:21 -07:00
Chris Craik
0e693b249d am 3421f9fd: Merge "Add temporary functor lifetime logging" into jb-dev
* commit '3421f9fd6847faa0bbf3f1d8e1c8424bce52a9a4':
  Add temporary functor lifetime logging
2012-05-02 17:30:36 -07:00
Chris Craik
3421f9fd68 Merge "Add temporary functor lifetime logging" into jb-dev 2012-05-02 17:26:57 -07:00
Chris Craik
2fe99801e8 Add temporary functor lifetime logging
bug:6405861

Note: revert once the above bug is verified fixed

Change-Id: Iae04ec6ffa73a2711f96e128d60011bcb5864b5c
2012-05-02 16:37:24 -07:00
Matthew Xie
0b30d758a9 am cdffda28: am d69c3675: Merge "Always move Bluetooth Adapter to cold state when turn off Bluetooth." into jb-dev
* commit 'cdffda286b80735b965aa41a50138cceaeaf2a53':
  Always move Bluetooth Adapter to cold state when turn off Bluetooth.
2012-05-02 16:27:23 -07:00
Matthew Xie
cdffda286b am d69c3675: Merge "Always move Bluetooth Adapter to cold state when turn off Bluetooth." into jb-dev
* commit 'd69c367577440be968d33f6ab67bc758c379156f':
  Always move Bluetooth Adapter to cold state when turn off Bluetooth.
2012-05-02 16:23:46 -07:00
John Reck
8ca2f07de6 am 17c61ea5: am 9a793c91: Merge "Add missing null check" into jb-dev
* commit '17c61ea555e418b0eb5658168c1a136046ede08e':
  Add missing null check
2012-05-02 16:22:25 -07:00
Matthew Xie
d69c367577 Merge "Always move Bluetooth Adapter to cold state when turn off Bluetooth." into jb-dev 2012-05-02 16:20:55 -07:00
Jeff Sharkey
4ed162e672 am 0fdcadf2: am 9a671137: Merge "Set tmpdir to application cache directory." into jb-dev
* commit '0fdcadf28e265f0992214cd3f0cdfd2a5c5dba8d':
  Set tmpdir to application cache directory.
2012-05-02 16:19:22 -07:00
John Reck
17c61ea555 am 9a793c91: Merge "Add missing null check" into jb-dev
* commit '9a793c91b6cdd4b78a574e1fe5e701dc76fc78e5':
  Add missing null check
2012-05-02 16:18:57 -07:00
Jeff Sharkey
0fdcadf28e am 9a671137: Merge "Set tmpdir to application cache directory." into jb-dev
* commit '9a671137dc95e243009dab34971da75f0d598456':
  Set tmpdir to application cache directory.
2012-05-02 16:16:11 -07:00
John Reck
9a793c91b6 Merge "Add missing null check" into jb-dev 2012-05-02 16:15:51 -07:00
John Reck
bae0427dfa am 40e07b9c: am 2f612bdf: Merge "Rewrite PictureSet" into jb-dev
* commit '40e07b9ce83e1cbf01e19dc67fff9f1113a2aec3':
  Rewrite PictureSet
2012-05-02 16:15:43 -07:00
John Reck
40e07b9ce8 am 2f612bdf: Merge "Rewrite PictureSet" into jb-dev
* commit '2f612bdfbd7bf94111015d06ba3fa4e864d0972b':
  Rewrite PictureSet
2012-05-02 16:13:23 -07:00
Jeff Sharkey
9a671137dc Merge "Set tmpdir to application cache directory." into jb-dev 2012-05-02 16:12:49 -07:00
John Reck
2f612bdfbd Merge "Rewrite PictureSet" into jb-dev 2012-05-02 16:11:17 -07:00
Jim Miller
07fd2a9b81 am 07a42cfc: am 1771ee34: Merge "Revert "Fix for layout parameter validation bug in GridLayout."" into jb-dev
* commit '07a42cfcd4e193b1c7a5842ca003fc661fc1bf4b':
  Revert "Fix for layout parameter validation bug in GridLayout."
2012-05-02 16:06:01 -07:00
Jim Miller
07a42cfcd4 am 1771ee34: Merge "Revert "Fix for layout parameter validation bug in GridLayout."" into jb-dev
* commit '1771ee34d1d308193e61a1b75368149f2d06aa6c':
  Revert "Fix for layout parameter validation bug in GridLayout."
2012-05-02 16:02:38 -07:00
Jim Miller
1771ee34d1 Merge "Revert "Fix for layout parameter validation bug in GridLayout."" into jb-dev 2012-05-02 15:59:27 -07:00
Jim Miller
782c04b864 Revert "Fix for layout parameter validation bug in GridLayout."
This reverts commit 8a36e05443 which was causing
keyguard_screen_tab_unlock.xml to have a bad layout.

Change-Id: I50bdc6dbdf8d7b98ef77eae532860d375574213e
2012-05-02 15:50:30 -07:00
Adam Powell
8015d3fa25 am 020d5322: am fbbdbc2d: Merge "Fix setting action bar home-as-up from AB style" into jb-dev
* commit '020d53224c26edcf643a2a305868e8e8b479c0a4':
  Fix setting action bar home-as-up from AB style
2012-05-02 15:47:54 -07:00
Adam Powell
020d53224c am fbbdbc2d: Merge "Fix setting action bar home-as-up from AB style" into jb-dev
* commit 'fbbdbc2d2326e96ce31950baccddd2f295fe594c':
  Fix setting action bar home-as-up from AB style
2012-05-02 15:44:45 -07:00
Svetoslav Ganov
52a623700f Virtual nodes are always important for accessibility.
1. Virtual nodes should be made important since the implementer of
   the tree represented by the nodes decides which node to report.
   In the case with native widgets we decide in the framework but
   in the case of the node provider, the implementer of the latter
   makes the call. Hence, if a node in not important the provider
   should not report it in the first place. The issue this patch
   solves is to allow events from virtual nodes to be propagated
   to the accessibility services.

bug:6432588

Change-Id: Ie01f84e9e0ef2280da934b98283962a5db38abc2
2012-05-02 14:19:41 -07:00
Matthew Xie
7f58b36fec Always move Bluetooth Adapter to cold state when turn off Bluetooth.
quick switch feature introduced in ICS does not work very well. Reported
logs indicate the Bluez stack cannot sustain the long time ON/hotoff state.
This change will always move the adapter to code but move it to hotoff
to be able to turn on quickly.
bug 5792792

Change-Id: I41c39d4bf11bb5eb3cd83279e8ec81e01774e008
2012-05-02 14:15:10 -07:00
Adam Powell
d40423a7ad Fix setting action bar home-as-up from AB style
Bug 6427860

Change-Id: I0052417a2c97560ade768509781b27b5e064660d
2012-05-02 14:06:03 -07:00
Jeff Sharkey
e1d330a071 Set tmpdir to application cache directory.
Otherwise File.createTempFile() uses /sdcard which most apps don't
have write access to.

Bug: 6347289
Change-Id: Ibde191a63e4dbb9b03437406f8c999f192bcfa21
2012-05-02 13:47:37 -07:00
Adam Powell
98423989b8 am 56de3296: am 0cd4f671: Merge "Fix documentation of Activity#navigateUpTo() to describe its actual behavior." into jb-dev
* commit '56de329630384891f6ebc3a623128e8261957388':
  Fix documentation of Activity#navigateUpTo() to describe its actual behavior.
2012-05-02 12:07:15 -07:00
Gilles Debunne
98c6f8f4e6 am 0bab2b06: am 54562cfb: Merge "Better horizontal internal scroll handling in Text." into jb-dev
* commit '0bab2b068c63508b1f20e182d86f09ab06a88fef':
  Better horizontal internal scroll handling in Text.
2012-05-02 12:07:13 -07:00
Chet Haase
64d6143c0d am dcc81035: am fe5984f4: Merge "Corrects invalidation logic for layered views" into jb-dev
* commit 'dcc81035423c1c221409f20b28ba94a8ca74d55d':
  Corrects invalidation logic for layered views
2012-05-02 12:04:21 -07:00
Adam Powell
56de329630 am 0cd4f671: Merge "Fix documentation of Activity#navigateUpTo() to describe its actual behavior." into jb-dev
* commit '0cd4f6718b3d9b9d147a28e32bbb3c0f9147d5a9':
  Fix documentation of Activity#navigateUpTo() to describe its actual behavior.
2012-05-02 12:03:31 -07:00
Gilles Debunne
0bab2b068c am 54562cfb: Merge "Better horizontal internal scroll handling in Text." into jb-dev
* commit '54562cfbcd97a3b9d3ac9fb74f7a0d0d4bb9b8a0':
  Better horizontal internal scroll handling in Text.
2012-05-02 12:03:29 -07:00
Chet Haase
dcc8103542 am fe5984f4: Merge "Corrects invalidation logic for layered views" into jb-dev
* commit 'fe5984f43a5be9f95d1febb806f3aee8601c7ff4':
  Corrects invalidation logic for layered views
2012-05-02 12:00:24 -07:00
Adam Powell
0cd4f6718b Merge "Fix documentation of Activity#navigateUpTo() to describe its actual behavior." into jb-dev 2012-05-02 11:59:55 -07:00
Gilles Debunne
54562cfbcd Merge "Better horizontal internal scroll handling in Text." into jb-dev 2012-05-02 11:59:54 -07:00
Chet Haase
fe5984f43a Merge "Corrects invalidation logic for layered views" into jb-dev 2012-05-02 11:56:56 -07:00
Adam Powell
35c064b2e8 Fix documentation of Activity#navigateUpTo() to describe its actual
behavior.

Change-Id: I804fcef5df6f5885b47b7a1c7703ed301bea09b0
2012-05-02 11:38:57 -07:00
Adam Cohen
e100fb16a3 am 9edbb235: am dfed49a2: Merge "Changing app widget "extras" to "options" and another small API Review issue" into jb-dev
* commit '9edbb235779d16e768143f47c241c56a422df580':
  Changing app widget "extras" to "options" and another small API Review issue
2012-05-02 11:11:14 -07:00
Adam Cohen
9edbb23577 am dfed49a2: Merge "Changing app widget "extras" to "options" and another small API Review issue" into jb-dev
* commit 'dfed49a2852e9336e212f6934dcddec7dd743c26':
  Changing app widget "extras" to "options" and another small API Review issue
2012-05-02 11:08:17 -07:00
Chet Haase
810a8676df Corrects invalidation logic for layered views
A bug in the invalidation logic meant that changes to a view
would not cause parents in the view hiearchy that were set to have
a layer (e.g., View.LAYER_TYPE_HARDWARE) to get invalidated properly.
So even though the child view was all set to recreate its display list
according to the property change, the layer in the tree above it would stay
as-is, meaning that the change would not show up on the screen.

Issue #5887530 DropTarget text does not change color with the icon

Change-Id: Ie6eac4f406d172cb437822d9fe76340ab2afaf1c
2012-05-02 10:44:33 -07:00
Adam Cohen
dfed49a285 Merge "Changing app widget "extras" to "options" and another small API Review issue" into jb-dev 2012-05-02 10:38:01 -07:00
Gilles Debunne
fd5bc01f70 Better horizontal internal scroll handling in Text.
Bug 6378843

Corrects CL 183460, which would clip text with a width greater than
twice the TextView's width.

Internal horizontal translation is now handled in a similar way to
vertical scrolling.

Internal scrolling is indeed handled by the TextView, which translates
the canvas and sets the clipping bounds accordingly.

When drawing the internal DL, we tighten the horizontal bounds like we
did for the vertical bounds using top and bottom. As in Touch.java, we
use the getHorizontallyScrolling() method to know if we indeed have to
measure the actual text width.  If there is no horizontal scrolling we
use the TextView's width as a safe upper estimate in order to avoid an
actual computation. Note that horizontal scrolling is typically only
used for long single-lined text, so that the measurement loop is quick.

As a result, the internal DLs represent the entire text, and there is no
need to invalidate them when an internal scrolling takes place. This
behavior replaces the draw-only-what-is-needed we had before, but is
more consistent with what we do for long texts inside of a ScrollView
with no noticeable performance change, even on very long text.

Change-Id: I47c24c0ae988547d4f1e9f87d136225c93a3056d
2012-05-02 10:30:03 -07:00
Matthew Xie
44c727943e am 478b2194: am e318c9a5: Merge "Check null of address in onDeviceCreated" into jb-dev
* commit '478b2194e3729fc06221e94161e18c2d31884bf1':
  Check null of address in onDeviceCreated
2012-05-02 10:20:34 -07:00
Matthew Xie
478b2194e3 am e318c9a5: Merge "Check null of address in onDeviceCreated" into jb-dev
* commit 'e318c9a5f1819e953a2c78b32bced3c7fc427dbf':
  Check null of address in onDeviceCreated
2012-05-02 10:17:32 -07:00
Matthew Xie
e318c9a5f1 Merge "Check null of address in onDeviceCreated" into jb-dev 2012-05-02 10:15:00 -07:00
Adam Cohen
d2097ebacf Changing app widget "extras" to "options" and another small API Review issue
-> (issue 6427146), (issue 6427861)

Change-Id: Ib69a9b3717a5b62317ec227936bc3b2fd5954043
2012-05-02 09:32:42 -07:00
satok
c6b939789a am e849230f: Merge "DO NOT MERGE : Backport I5723f627ce323b0d12b Reduce window resizing during IME transition" into jb-dev
* commit 'e849230f444653e692024b4321044cb9f6188919':
  DO NOT MERGE : Backport I5723f627ce323b0d12b Reduce window resizing during IME transition
2012-05-02 01:43:17 -07:00
satok
e849230f44 Merge "DO NOT MERGE : Backport I5723f627ce323b0d12b Reduce window resizing during IME transition" into jb-dev 2012-05-02 01:41:23 -07:00