2635 Commits

Author SHA1 Message Date
Alan Viverette
bc7e4b2cd5 Merge "Update internal AutoScrollHelper to match support lib version" into klp-dev 2013-08-30 23:58:08 +00:00
Alan Viverette
cb168795fe Update internal AutoScrollHelper to match support lib version
BUG: 10547956
Change-Id: I7d5b1b9fb89ae8ff4294cc2dfd01e29b55ed3eba
2013-08-30 14:33:13 -07:00
Amith Yamasani
79a45c6f18 Merge "Improve Intent disambig dialog behavior" into klp-dev 2013-08-29 21:45:04 +00:00
Mindy Pereira
0d3da1232b Fix case when user touches the very edge of a view
This now counts touches at the exact top edge of the view as valid

Change-Id: I9e81a7001632c38d567dde40954e079e7145fa36
2013-08-28 15:00:14 -07:00
Amith Yamasani
e9ecc8b499 Improve Intent disambig dialog behavior
Keep track of last chosen activity for a particular intent, similar
to how it is tracked for "Always" choices.
Pre-select the last chosen activity if previously the user picked
"Just once".
Downgrade "Always" to "Last chosen" if there's a new kid on the block,
instead of removing it entirely.
Add methods to set and get last chosen entry.

UI - switch from Grid to List.

Bug: 9958096

Change-Id: Ied57147739a3ade1d36c3a7ec1e8ce77e5c5bb16
2013-08-27 18:05:00 -07:00
Christopher Tate
d381680b63 Merge "Make sure to actually log when Log.wtf() hiccups" into klp-dev 2013-08-27 21:15:03 +00:00
Christopher Tate
941adc95e1 Make sure to actually log when Log.wtf() hiccups
Bug 10494724

Change-Id: I687d7df73a8f4594d42955f100d928e98bbd9b30
2013-08-27 14:10:44 -07:00
Chris Wren
d220a830f4 Merge "Change DBG to false to eliminate logcat messages." into klp-dev 2013-08-27 18:20:44 +00:00
Svetoslav Ganov
6b8c69edd2 Merge "Update AccessibilityNodeInfo API as per API council request" into klp-dev 2013-08-27 18:14:01 +00:00
Svetoslav Ganov
cb8ed39b3f Update AccessibilityNodeInfo API as per API council request
bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
2013-08-27 08:26:13 -07:00
Alan Viverette
faf7a2087e Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev 2013-08-26 20:49:28 +00:00
Alan Viverette
9212e350d5 Merge "Reconcile drag-to-open and touch event interception" into klp-dev 2013-08-26 20:48:59 +00:00
Scott Greenwald
6341010997 Change DBG to false to eliminate logcat messages.
DemoContactNotificationScorer was spamming logcat because DBG was
set to true. Also changed TAG to match the class name.

Bug: 10457063
Change-Id: Idca251b5b46d58ab64407e94ed4bec831e880aa4
2013-08-26 14:59:44 +00:00
Jim Miller
f45bb40388 Add setting to disable keyguard widgets
This allows disabling keyguard widgets through Settings.
On new devices, the setting is turned off by default.  If the
user currently has widgets in keyguard, then we keep them
and re-enable the setting.

Change-Id: I7258921231d439925ac8627105710efa99309094
2013-08-23 17:36:30 -07:00
Alan Viverette
69960142ef Reconcile drag-to-open and touch event interception
Changes behavior such that dragging on a Spinner that's inside
of a ScrollView will only scroll after a tap delay.

BUG: 10442971
Change-Id: I9fa9c5f0cf99e0cd158f52b6fa7a109ce1b6b8b1
2013-08-22 17:26:57 -07:00
Satoshi Kataoka
2b10b52f6c Add new API shouldOfferSwitchingToNextInputMethod
Bug: 8364845
Change-Id: I6767f5640a07aa515a930645b0cf0b36fbe94831
2013-08-22 15:51:13 +09:00
Alan Viverette
398ec0368b Move caption view from Settings into framework
Renamed to SubtitleView, moved dimensions into resources.

BUG: 10260603
Change-Id: I5d86ee21ca260540ba3201c5295a5c1353e2d963
2013-08-21 13:43:00 -07:00
Alan Viverette
5e66021c8a Add auto-scrolling in ListPopupWindow drag-to-open mode
BUG: 9437139
Change-Id: I836c60b48b31d0a5cc32eef903da9dc0b9b9d8a5
2013-08-21 13:21:45 -07:00
Alan Viverette
a2e88ef896 Merge "Move forwarding code to ListPopupWindow, add drag-to-open in Spinner" into klp-dev 2013-08-21 17:56:00 +00:00
Alan Viverette
5feb0ad1d2 Merge "Use MULTI_LINE and OPENS_POPUP accessibility properties" into klp-dev 2013-08-21 17:55:49 +00:00
Lorenzo Colitti
fd589c1d94 Merge "Notify IP address changes to interface observers." into klp-dev 2013-08-21 17:47:13 +00:00
Lorenzo Colitti
10fa8c0626 Merge "Make BaseNetworkObserver available to core code" into klp-dev 2013-08-21 17:20:40 +00:00
Lorenzo Colitti
5c7daac2e3 Notify IP address changes to interface observers.
1. Add addressUpdated and addressRemoved methods to
   INetworkManagementEventObserver. (The -Updated method is not
   called -Added because it gets called for both adds and
   changes.) Update all its callers in the tree.
2. Make NetworkManagementService parse IP address notifications
   from NetlinkHandler and call the address{Removed,Updated} on
   its observers.

Bug: 10232006
Change-Id: Ieb185dbba052bdbff03caafc0cf5397a7f04dc6d
2013-08-20 21:29:05 +09:00
Lorenzo Colitti
df86a9f2e9 Make BaseNetworkObserver available to core code
Currently BaseNetworkObserver is in frameworks/base/services, but
there is code in frameworks/base/core that could use it. This
code typically extends INetworkManagementEventObserver.stub
because BaseNetworkObserver is not available.

Move BaseNetworkObserver to frameworks/base/core without changing
its package name, and use it to simplify two callers. The third
caller, Tethering, is much larger, and I'm not sure it's
appropriate to change it.

Bug: 10232006
Change-Id: Ifc0f2e619e3424e27e35730c048a1cc523df345e
2013-08-20 21:16:38 +09:00
Alan Viverette
058ac7cfe5 Use MULTI_LINE and OPENS_POPUP accessibility properties
BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
2013-08-19 16:44:30 -07:00
Svetoslav
269403b032 Implemented advanced printer selection and API refactoring.
1. Added past printer history tracking and merging favorite printers
   with discovered printers.

2. Added save as PDF support.

3. Added all printers activity with search capability and optional
   add printers chooser (if any print service provides add printers
   activity)

4. Refactored the printer discovery session APIs. Now one session
   can have multiple window discovery windows and the session stores
   the printers found during past discovery periods.

5. Merged the print spooler and the print spooler service - much
   simpler and easier to maintain.

Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
2013-08-19 13:24:11 -07:00
Alan Viverette
ca6a3611cd Move forwarding code to ListPopupWindow, add drag-to-open in Spinner
BUG: 9437139
Change-Id: I4599cf65a472b2ce74d2301988359d87917a6eec
2013-08-16 14:41:06 -07:00
Alan Viverette
c05027214f Forward events to ListPopupWindow, highlight touched items
Moves most of the drag-to-open behavior into ListPopupWindow's
particular implementation of ListView. Uses hidden View API for
forwarding events between different windows.

Overflow menu opens on first touch, closes on touch end outside
the overflow button. Clicks that occur during drag-to-open mode
result in alpha animation of the selector drawable.

BUG: 9437139
Change-Id: I70f540555a03450638a27880b3ae3b031ca6e2ed
2013-08-15 18:05:52 -07:00
Dianne Hackborn
b0037316c4 Merge "More stuff I need for the proc stats UI." into klp-dev 2013-08-09 23:19:07 +00:00
Dianne Hackborn
69cb00b8dd More stuff I need for the proc stats UI.
Change-Id: I5f05b79bc4d5766a80f2db9d20ba8078b60c1b00
2013-08-09 16:16:56 -07:00
keunyoung
f6c7a5fd66 Merge "add local focus mode and input event injection API to Window" into klp-dev 2013-08-09 21:51:30 +00:00
Dianne Hackborn
60444fd594 Add method for adding two ProcessStats objects together.
Also move file reading code over to ProcessStats.

Change-Id: Ib42272b90a408a494044965e98beed16c0b3f8a5
2013-08-09 12:08:17 -07:00
keunyoung
30f420fd6a add local focus mode and input event injection API to Window
- This enables keyboard navigation for window without focus.
 - FLAG_LOCAL_FOCUS_MODE puts window into local focus mode.
 - Application needs to put window in local focus mode, control focus, and
   inject events to make dpad navigation work.
 - Window in local focus mode does not interact with window manager or ime
   regarding focus related events.
 - Also renamed ViewRootImpl.dispatchKey to dispatchInputEvent to allow both key and touch events injection.

Change-Id: I8e8561f29e0dade3797fb7ae3ee7690e6b7f8895
2013-08-08 19:45:21 -07:00
Jeff Sharkey
184a0100ab Allow packages.list access with new GID.
The FUSE daemon is using packages.list to map from package name to
appId after it drops permissions, so create a new "package_info" GID
to grant read access.

Also switches FileUtils to use Libcore.os.

Change-Id: I9451ca4e90e8a985526805c6df0888a244a1db36
2013-08-08 17:38:13 -07:00
Dianne Hackborn
8a0de58ece Get ProcessStats callable from other processes.
Also fix a bug where, when parceling the stats, we were
computing the final duration values too late.  We need to
do that before we write the long table.

Change-Id: Idb6c1ed95417448c56973fe5866bfb3570e525f4
2013-08-08 15:00:18 -07:00
Daniel Sandler
f6971c80fd Merge "OK, now it's a release." into klp-dev 2013-08-08 17:50:00 +00:00
Daniel Sandler
06c0e408c4 OK, now it's a release.
Bug: 10239687
Change-Id: I38a86926f32e5877cd47ae5e4b625a811478aadc
2013-08-08 12:03:38 -04:00
Satoshi Kataoka
b3c21ac7c6 Reduce the transaction fee of getEnabledInputMethodSubtypeList
Bug: 8467480
Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b
2013-08-08 11:32:31 +09:00
Dianne Hackborn
23fb6e8418 Start adding IPC calls to retrieve proc stat data.
Also fix a bug where we were not correctly unparcelling service
duration data.

Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f
2013-08-07 10:08:22 -07:00
Satoshi Kataoka
e9a6f9713c Reduce the transaction fee of getEnabledInputMethodSubtypeList
Bug: 8467480
Change-Id: Ic1fddfe433e097041fcb09d1fd341d77d7d8b13b
2013-08-07 17:12:58 +09:00
Dianne Hackborn
d2932243e3 Refactor ProcessStats, ProcessTracker.
ProcessStats is now called ProcessCpuTracker.

ProcessTracker is now ProcessStatsService, and its inner State
class is broken out into a separate top-level ProcessStats class.
This ProcessStats is moved to the framework, so we will be able
to use it elsewhere.

Change-Id: I6a127bcb835b6b474b72647c0b99b82c2137e5c5
2013-08-06 13:54:07 -07:00
John Spurlock
32230ef4e6 Merge "Collapse/disable shade when hiding status bar window." 2013-08-05 13:18:54 +00:00
Satoshi Kataoka
7ce7f32257 Open an internal utility of InputMethodUtils
Change-Id: I240e914bc21efce8554145619c403d547a17ad19
2013-08-05 17:14:13 +09:00
Chris Wren
f76ff0552b disable notification scorer by default.
Bug: 10163077
Change-Id: Icd03786dfe59cb26281738ae0be28d14cb5741f9
2013-08-04 01:04:35 -04:00
Dianne Hackborn
0770f9ef66 resolved conflicts for merge of c8911ddd to master
Change-Id: I790b547268a23848577199256fc5abc9bdb7abb8
2013-08-02 23:43:31 -07:00
Dianne Hackborn
c8911ddd48 am 373a2f15: am 607b414d: Add new app ops method to reset all op modes.
* commit '373a2f15667956ff8a00ba59b42972b9c930af92':
  Add new app ops method to reset all op modes.
2013-08-02 19:32:13 -07:00
Dianne Hackborn
607b414d04 Add new app ops method to reset all op modes.
Change-Id: I5ee6764de8dc31d812e5a788914ab0099bbef4c0
2013-08-02 19:06:25 -07:00
Adam Powell
066f2107a1 Merge "Fix a regression where android:windowContentOverlay did not draw properly." 2013-08-01 23:20:51 +00:00
Adam Powell
9b0dc2894d Fix a regression where android:windowContentOverlay did not draw properly.
This was the victim of an earlier refactoring. Have the
ActionBarOverlayLayout draw this directly over the content so that it
can stay properly in sync with any animations and also remove an extra
couple of views from the decor layout.

Some apps now expect the broken behavior in default themes. Protect
them from themselves until they bump their targetSdkVersion.

Public bug https://code.google.com/p/android/issues/detail?id=58280

Change-Id: I4284503577e322f3e68d4a7fabda8441d3749b98
2013-08-01 16:02:02 -07:00
Satoshi Kataoka
87c2914215 Add a debug utility for InputMethodUtils
Change-Id: I59f6001bf20640e36e19b09cf117b8579120ba7d
2013-08-01 11:57:27 +09:00