23495 Commits

Author SHA1 Message Date
Romain Guy
f9284695e8 Add new ViewDebug APIs to profile the event queue.
Change-Id: I225bf288780b0244f459316e2765cfa29cd22c89
2011-07-15 11:25:11 -07:00
Gilles Debunne
ae68f886b2 Merge "Removed vertical padding in PreferenceActivity header list on phones" 2011-07-15 11:03:42 -07:00
Robert Greenwalt
fc5e367d80 Merge "resolved conflicts for merge of 8550f3b8 to master" 2011-07-15 11:01:36 -07:00
Gilles Debunne
c7f2cdea3c Merge "Bug 4382356: No automatic focus change in ScrollViews" 2011-07-15 10:55:32 -07:00
Robert Greenwalt
d9212d3088 resolved conflicts for merge of 8550f3b8 to master
Change-Id: If2881b8b7faea5139af83a37cba04ccac5904f81
2011-07-15 10:52:54 -07:00
Gilles Debunne
8202cd3602 Bug 4382356: No automatic focus change in ScrollViews
The current behavior in ScrollView is inconsistent: a slow scroll will
not change focus while a fling will. With this change, the focus is not
moved from field to field (resulting in poup due to keyboard / suggestion bar
state changes).

Also made sure any new input in a TextFields scrolls back the view to make the
EditText visible. Has no effect if the EditText is already visible.

Change-Id: I7ff301fe85f73c27d76e4893aeab7442d0539b13
2011-07-15 10:00:50 -07:00
Robert Greenwalt
8550f3b86a resolved conflicts for merge of 0a46db5d to honeycomb-plus-aosp
Change-Id: I0f1bea54d999ab3ef10400ee67bd4d3b2a5d1783
2011-07-15 09:55:48 -07:00
Fabrice Di Meglio
50e95eba5c Merge "Implement textDirection heuristic selection." 2011-07-15 09:49:48 -07:00
Gilles Debunne
38143a6822 Merge "Bug 5014726: Paste works in ExtractedText" 2011-07-15 09:41:16 -07:00
Mike Lockwood
600449c6c8 Merge "MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files" 2011-07-15 09:18:34 -07:00
Mike Lockwood
92e1314ad9 MediaScanner: Add virtual NO_MEDIA column to fix support for .nomedia files
Bug: 5025615

Change-Id: Ia910cd1c063292599a03b878755edb2e3cdbbb57
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-15 12:17:33 -04:00
Narayan Kamath
37ccb4b55d Merge "Remove the completeAudioAvailable API." 2011-07-15 02:56:31 -07:00
Jeff Brown
1af6d27b9e Merge "Ensure selector state is updated when touch mode changes." 2011-07-14 22:42:15 -07:00
Jeff Brown
997ea74ef7 Merge "Remove edge slop support." 2011-07-14 22:32:09 -07:00
Jeff Brown
945caeeaa8 Merge "Refresh the drawable state when selecting a position." 2011-07-14 22:31:40 -07:00
Jeff Brown
5bd512a131 Merge "ListView focus bugfix." 2011-07-14 22:31:34 -07:00
Jeff Brown
c14aea2621 Merge "Frameworks: fixes possible invalid pointer index call." 2011-07-14 22:31:17 -07:00
Jeff Brown
1e20946aa3 Ensure selector state is updated when touch mode changes.
This fixes a problem where the focus selection rectangle
often remains visible even after entering touch mode.
This problem is particularly noticeable when using the
mouse to scroll the list while an item is selected.

Change-Id: I9938d2586725d91fd3f6738408233f2ead167319
2011-07-14 22:19:19 -07:00
Jeff Brown
119abb21cf Merge "Enter touch mode on ACTION_SCROLL." 2011-07-14 21:55:58 -07:00
Adam Powell
4540926dfa Merge "Fix bug 5032301 - size list menu icons appropriately." 2011-07-14 21:53:41 -07:00
Adam Powell
efebb62581 Fix bug 5032301 - size list menu icons appropriately.
Change-Id: I309923cdd4d37292b390a9b760dec739becb1bbf
2011-07-14 21:52:18 -07:00
Jeff Brown
a6111377e1 Remove edge slop support.
The edge slop feature was added a long time ago for a specific
device that had severe non-linear touch response issues near
the edges of its touch screen.  The feature is not useful on
modern hardware that is property calibrated.

Change-Id: I26716cbc7411c31883ddb4bb4ddd981027790d0f
2011-07-14 21:48:23 -07:00
Jason Bayer
a79f4b7df9 Refresh the drawable state when selecting a position.
It seems that mSelectorShowing is a dead (always false) field.

Bug: 4070346
Change-Id: Icf3cc6f19cc49dcfda15229a6d91232404c0743c
2011-07-14 21:22:10 -07:00
Jeff Sharkey
2d4630c809 Merge "Hide NetworkTemplate details, buffered stats I/O." 2011-07-14 21:15:49 -07:00
Adam Powell
58c5dc1bd6 Fix bug 5030341 - ActionBar.getHeight is inaccurate in 2-row mode
Measure the shared container instead.

Change-Id: Ib851f773a36add19c227b3ad64a8497f1b5ff9dd
2011-07-14 21:08:10 -07:00
Jeff Sharkey
4e814c348c Hide NetworkTemplate details, buffered stats I/O.
Move template matching to builder methods instead of exposing the
internal constants.  Also rule to match Ethernet usage.  Buffer
reading and writing of network stats, making operations 5x faster.

Change-Id: Iedb2d0ab3b26a976811c050f84a164e909eb74b6
2011-07-14 20:43:27 -07:00
Mark Lindner
a86127fe26 ListView focus bugfix.
resurrectSelection() didn't take into account disabled items
(which shouldn't ever get focus).

Bug: 4967915
Change-Id: I849d2d993ddf93f49108e7b867ff6d24643c07a8
2011-07-14 20:27:52 -07:00
Justin Koh
2585e9bd6d Frameworks: fixes possible invalid pointer index call.
Fixes possible invalid pointer index call in AbsListView.

Bug: 4982383
Change-Id: I9b88ab6a055c7678ef81fbe3187473edf8d12f6a
2011-07-14 19:17:22 -07:00
Jeff Brown
7564d62a77 Enter touch mode on ACTION_SCROLL.
Also fix the lastTouch tracking so it ignores irrelevant non-touch
events (like ACTION_HOVER).

Change-Id: I9e04872cb1f762aa6dcded1f9f83bf20eda17415
2011-07-14 19:14:22 -07:00
Adam Powell
8b09337750 Merge "Smooth the spinners" 2011-07-14 18:58:28 -07:00
Adam Powell
9ac32a4697 Smooth the spinners
Change-Id: I36de60dc05e5c15692d33d030973f27d54a9d465
2011-07-14 18:53:16 -07:00
Robert Greenwalt
0a46db5d88 Apply the dns and route diff which we get a change
bug:5008973
Change-Id: Ib99e43d9d852452cc1f2aea6bef07bbd194f28cc
2011-07-14 18:12:14 -07:00
Dianne Hackborn
b3a26f4d94 Merge "Move LoadAverageService to the SystemUI apk." 2011-07-14 17:23:28 -07:00
Chia-chi Yeh
649a1418d9 Merge "VPN: close the socket in protectVpn() to avoid leaking descriptors." 2011-07-14 16:22:21 -07:00
Chia-chi Yeh
5779c9c2d9 VPN: close the socket in protectVpn() to avoid leaking descriptors.
Change-Id: Idda0c2ea1770abc490566e894711bcb08f60b354
2011-07-14 16:19:19 -07:00
Dianne Hackborn
45ce864ef4 Move LoadAverageService to the SystemUI apk.
Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
2011-07-14 16:10:16 -07:00
Adam Cohen
d4ee810dce Merge "Catching RemoteViews#apply() layout inflation exceptions in RemoteViewsAdapter" 2011-07-14 15:55:55 -07:00
Adam Cohen
b7ffea6972 Catching RemoteViews#apply() layout inflation exceptions in RemoteViewsAdapter
Change-Id: I8a481e106b27d145fda92aa0d747e4a8615a5fd0
2011-07-14 15:45:59 -07:00
Fabrice Di Meglio
2c41fa18bb Merge "Fix bug #5025936 TableLayout layout direction resolution is broken" 2011-07-14 15:31:03 -07:00
Justin Ho
c843fdd7da Merge "Initial pass at some preload drawables Bug: 5020126" 2011-07-14 14:54:01 -07:00
Justin Ho
7fa1e191f6 Initial pass at some preload drawables
Bug: 5020126

Change-Id: I3c51e89774197caf50351ee55eb6922c9cdd32d5
2011-07-14 14:12:37 -07:00
Eino-Ville Talvala
901e022c0c Merge "NEW_API: Add auto-exposure and auto-white balance locking to the Camera." 2011-07-14 13:38:55 -07:00
Romain Guy
99b7b7a7f8 Force bitmaps to load in ARGB8888 by default.
Bug #5024993

Change-Id: Id0c63f675ae188e5a786b7fdd63916e114b9ed4a
2011-07-14 12:42:19 -07:00
Philip Milne
d44264a5ee Merge "Rationalize API after adding maximum size feature." 2011-07-14 11:32:09 -07:00
Doug Felt
cb37912045 Implement textDirection heuristic selection.
Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
2011-07-14 11:24:33 -07:00
Glenn Kasten
007e62172f Merge "Add MEDIA_UID" 2011-07-14 10:59:40 -07:00
Wink Saville
76326a9d7d am 3810361e: am 6d1d16c3: Merge "Remove STOPSHIP but allow seamless Handoff when possible." into honeycomb-LTE
* commit '3810361e4a3e93d3c8a10aaeec54f65dfcc2d03d':
  Remove STOPSHIP but allow seamless Handoff when possible.
2011-07-14 10:55:58 -07:00
Dianne Hackborn
cadaa3a983 Merge "Improve handling of low memory." 2011-07-14 10:48:01 -07:00
Adam Powell
c29f4e52c3 Nicer API for disabling/enabling the home/up button in action bars.
Have an explicit call for enabling the home/up button. Auto-enable it
if the app targets < ICS to preserve Honeycomb behavior. Auto-enable
it if the app shows home as up.

This prevents unwanted touch/focus feedback on the home button when
the app hasn't wired it up to do anything useful.

Change-Id: Icfe95ab5a11b3998bca08b0fbbfe1bf6c3c89b5d
2011-07-14 10:42:36 -07:00
Dianne Hackborn
ce86ba86df Improve handling of low memory.
Now classify background processes into a set of bins of how much
memory they should try to clear.  The last bin also involves
destroying all activities in that process.

Removed the old code for the simulator that is no longer needed
(yay).  The debugging features it had are now integrated into the
regular oom adj code.

Small fixes to load average service.

Change-Id: Ic8df401714b188c73b50dbc8f8e6345b58f1f3a0
2011-07-14 10:39:39 -07:00