3104 Commits

Author SHA1 Message Date
Gilles Debunne
214a8627c5 Support for overlapping spans in TextView's suggestions.
Implemented the merging of the different spans, highlighting words that actually differ.

Some TODO left in the code.

Change-Id: Iaf01f36b07d01639a4009cced6ea9b055ce9cc1f
2011-04-27 14:34:00 -07:00
Adam Powell
f076aa5594 Merge "Fix overlay action bar decor layout for lower context mode area." 2011-04-26 18:38:23 -07:00
Adam Powell
62ada81ee1 Fix overlay action bar decor layout for lower context mode area.
Change-Id: I36287c36ed36179eed2b742d494d18de87541001
2011-04-26 18:37:24 -07:00
Eric Fischer
f70642ad14 Import revised translations.
Change-Id: Iec08aa2073bf29bbc9465e57228f6776d3b49ad0
2011-04-26 16:01:21 -07:00
Robert Greenwalt
7460591a57 am 759efacd: am ef568c97: Merge "Make new networkAttribute parameter non-optional." into honeycomb-LTE
* commit '759efacd2d1cf70d10f66fb9656de656ac8ca867':
  Make new networkAttribute parameter non-optional.
2011-04-26 01:35:39 -07:00
Robert Greenwalt
759efacd2d am ef568c97: Merge "Make new networkAttribute parameter non-optional." into honeycomb-LTE
* commit 'ef568c97b5962249cbab7995f76435492a10ba68':
  Make new networkAttribute parameter non-optional.
2011-04-26 00:23:03 -07:00
Adam Powell
dae7824c4b Action bar work for phones
Drop tabs to a second row at < w480dp

Make 9-patches for the cab's "done" button thinner

Add a "disable home" display option to the action bar to turn off
focus and touch feedback when tapping home would do nothing

Change-Id: Ib2eedf311655f02055357321e2e9ad5b9037fed1
2011-04-25 17:42:45 -07:00
Robert Greenwalt
af2eb4f6db Make new networkAttribute parameter non-optional.
Dependencymet sets the default dep-met value for the network.  Should
be set to true unless you know what you're doing.

Change-Id: Ifa3765a97615f5333da07bce9defdb8600275129
2011-04-25 16:04:45 -07:00
Mike Lockwood
f7a4cafd24 Merge "Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"" 2011-04-23 08:56:11 -07:00
Eric Fischer
e528398fb6 Merge "Import revised translations." 2011-04-22 12:31:02 -07:00
Eric Fischer
6525dced2a Import revised translations.
Change-Id: Ife651e15da4a9e008bef758c6d92f6e2fb7102ef
2011-04-22 12:16:16 -07:00
Mike Lockwood
1e23db4c2f Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: I9faf54526182a786a1c0ca1fd01a09baabca186d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-22 07:11:20 -07:00
Adam Powell
45c515b0e9 Action bar work for phones
Tweak sizing and layouts for action bar on smaller devices. The action
bar's size is now partially dependent on form factor and orientation
to conserve screen space, especially in landscape mode.

Alter the max action menu items for smaller devices. Disallow text on
action menu items with a horizontal width of less than 480dp when an
icon is available.

Remove the "Done" text on the action mode close button. (TODO: get a
properly sized 9-patch resource for this - the current one has an
intrinsic width that is too large.)

When setting an action bar icon as a resource ID, the bar will attempt
to load a mipmapped resource that is the closest available for the
target size.

Change-Id: I2498c640666ade310fdd1d3a2078bd4000b392a2
2011-04-21 19:23:27 -07:00
Dianne Hackborn
f50e54e64b Remove config_caseSensitiveExternalStorage; no longer needed.
Change-Id: Id51c9e05be21d8087359cf918081109ba325569a
2011-04-21 15:20:34 -07:00
Adam Powell
2a231f8435 Merge "Refactor menu internals." 2011-04-19 18:45:42 -07:00
Jeff Brown
2352b978a3 Initial checkin of spot presentation for touchpad gestures.
Added a new PointerIcon API (hidden for now) for loading
pointer icons.

Fixed a starvation problem in the native Looper's sendMessage
implementation which caused new messages to be posted ahead
of old messages sent with sendMessageDelayed.

Redesigned the touch pad gestures to be defined in terms of
more fluid finger / spot movements.  The objective is to reinforce
the natural mapping between fingers and spots which means there
must not be any discontinuities in spot motion relative to
the fingers.

Removed the SpotController stub and folded its responsibilities
into PointerController.

Change-Id: I5126b1e69d95252fda7f2a684c9287e239a57163
2011-04-19 15:35:51 -07:00
Adam Powell
696cba573e Refactor menu internals.
In the old world, MenuBuilder and MenuItemImpl were responsible for
generating views for any presentation of a menu. MenuBuilder needed to
know any types and resources involved, and the implied caching
semantics did not work well for menus presented within AdapterViews.

In the new world, the MenuPresenter interface takes over the
responsibility of generating views or adapters for menu
items. MenuBuilder/MenuItemImpl still provide extra metadata tracking
used by these presenters. Mutiple presenters may be active for a
single menu at a time. All of this remains internal framework
implementation details.

BaseMenuPresenter provides a simple base for presenters that treats
the host MenuView more like an AdapterView. This allows for less
rebuilding of views when items are added/removed.

Callbacks have been restructured. Calls that relate to the menu itself
are still handled by MenuBuilder.Callback, but calls related to a
specific presentation of a menu are handled by MenuPresenter.Callback
objects attached to a MenuPresenter.

Also add API to programmatically set divider options for LinearLayout
and hidden API so that ActionBarView can have finer-grained control
over divider placement.

Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
2011-04-19 13:49:39 -07:00
Eric Fischer
9b247e9223 Import revised translations.
Change-Id: I1eabb89593dfaa61902aa92186d727f5cf1b21dc
2011-04-15 14:37:45 -07:00
Steve Block
73e31a3421 Merge "Adding WebElement.java which provides DOM friendly API function to lookup HTML elements in the page." 2011-04-15 03:17:46 -07:00
Dounia Berrada
3f7480dc40 Adding WebElement.java which provides DOM friendly API function to
lookup HTML elements in the page.

Change-Id: I9eab3f5f017ea4f1123fdbe4048f28e96883e742
2011-04-14 11:09:24 -07:00
Dianne Hackborn
0c5001d776 Add APIs to remove tasks.
You can remove sub-tasks inside of a task, or an entire task.

When removing an entire task, you can have its process killed
as well.

When the process is killed, any running services will get an
onTaskRemoved() callback for them to do cleanup before their
process is killed (and the service possibly restarted).

Or they can set a new android:stopWithTask attribute to just
have the service automatically (cleanly) stopped at this point.

Change-Id: I1891bc2da006fa53b99c52f9040f1145650e6808
2011-04-12 18:28:06 -07:00
Eric Fischer
64eecc0755 Import revised translations.
Change-Id: Ib8940867bc7a807284dbb1297b5856e352690850
2011-04-11 14:25:44 -07:00
Dianne Hackborn
f26fd99a7c Rework thumbnails in activity manager.
We now only keep a thumbnail for the task, not for each
activity.  However if you use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET,
we will make a new secondary thumbnail for that series of
activities.  There is a new API for the app to get these
secondary thumbnails.

Also set a default thumbnail size for non-xlarge screens
so we have thumbnails on phones.  (We need some smarter
code in the platform for computing the actual thumbnail
dimensions of the current device).  And add a test app
to show recent tasks + thumbnails.

Change-Id: Ic36759f6635522118a2cb7f156662229a610c492
2011-04-08 18:16:21 -07:00
Robert Greenwalt
80f7c594fa am f4a29403: resolved conflicts for merge of 70c3d1c2 to honeycomb-plus-aosp
* commit 'f4a29403ae5b6d3e8e754a025d33f0c33adecb21':
  Add external dependency API.
2011-04-07 14:22:03 -07:00
Robert Greenwalt
f4a29403ae resolved conflicts for merge of 70c3d1c2 to honeycomb-plus-aosp
Change-Id: I0962138f6ecb1ed54fda25524d8850b086f13c4f
2011-04-07 14:13:52 -07:00
Eric Fischer
567882e1f9 Merge "Import revised translations." 2011-04-07 14:08:55 -07:00
Eric Fischer
34ade71cff Import revised translations.
Change-Id: I66670dc3d9c37fc3818764fa9839219208e83fbb
2011-04-07 13:51:31 -07:00
Robert Greenwalt
70c3d1c23b Merge "Add external dependency API." into honeycomb-LTE 2011-04-07 13:02:28 -07:00
Robert Greenwalt
d55a6b498d Add external dependency API.
An APN will not be connected to if some external dependency is not met.

bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
2011-04-07 12:28:37 -07:00
Gilles Debunne
6a839703cd Merge "Word suggestion popup added to EditText." 2011-04-06 17:07:27 -07:00
Gilles Debunne
6934044fd7 Word suggestion popup added to EditText.
A double tap on a word will now display a list of suggestions based
on the CorrectionSpans that were added by the IME.

This is a first implementation of this feature. It needs some attention from
designers.

Change-Id: If863107681ce82a1639f21315878f830c2991fb7
2011-04-06 15:04:26 -07:00
Eric Fischer
bef09dc022 am ad3bddab: am 9f2f650f: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
* commit 'ad3bddab9246933971ff1b5360b0915e55579fe7':
  Import revised translations.  DO NOT MERGE
2011-04-06 14:16:12 -07:00
Eric Fischer
ad3bddab92 am 9f2f650f: Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
* commit '9f2f650f26941a7cd4931afc66f39918e7c2817c':
  Import revised translations.  DO NOT MERGE
2011-04-06 14:12:31 -07:00
Eric Fischer
6d5f5faae0 Import revised translations. DO NOT MERGE
Change-Id: I30c20fa78fc821c943d947a058f482e87d70dbd6
2011-04-06 13:47:57 -07:00
Dianne Hackborn
3fc982f41f Add new resource configurations for screen width/height in "dp".
You can now specify resource configuration variants "wNNNdp"
and "hNNNdp".  These are the minimum screen width/height in "dp"
units.  This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes.  Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted.  To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
2011-04-06 11:00:37 -07:00
Irfan Sheriff
9552766567 Merge "Add support for supplicant SCAN_INTERVAL" 2011-04-06 09:16:26 -07:00
Irfan Sheriff
2b7f63887e Add support for supplicant SCAN_INTERVAL
Also, allow scan interval for framework and supplicant
to be configured at build time or run time

Bug: 4144882
Change-Id: I877f4bcc872597b44d3f4da85cf2bc0f16e09444
2011-04-06 09:11:15 -07:00
Mike Lockwood
b83dee77e2 Merge "MTP and media provider support for multiple storage devices:" 2011-04-05 13:36:49 -07:00
Mike Lockwood
b239b68376 MTP and media provider support for multiple storage devices:
- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: Iffb66ed156ef5bc80b14228af78fbacee7734360
2011-04-05 15:19:16 -04:00
Eric Fischer
9f3c6160e4 Merge "Import revised translations." 2011-04-05 11:18:57 -07:00
Eric Fischer
50a8be6c8a Import revised translations.
Change-Id: I818cbbb1741e083bc105596dba103f2ee0c0582a
2011-04-04 17:29:34 -07:00
Jason parks
c5a229665d am 5ee250aa: am 1d733625: am cca2f2f9: Merge "Send out a broadcast that the system is being factory reset." into gingerbread
* commit '5ee250aa744720c90b264966f9721cfb9d256e96':
  Send out a broadcast that the system is being factory reset.
2011-04-04 16:46:34 -07:00
Jason parks
5ee250aa74 am 1d733625: am cca2f2f9: Merge "Send out a broadcast that the system is being factory reset." into gingerbread
* commit '1d73362597c49f4692a580460bc8697a8f1d0efa':
  Send out a broadcast that the system is being factory reset.
2011-04-04 16:43:34 -07:00
Jason parks
1d73362597 am cca2f2f9: Merge "Send out a broadcast that the system is being factory reset." into gingerbread
* commit 'cca2f2f987ab772a4bae3176df7259f59d6502ce':
  Send out a broadcast that the system is being factory reset.
2011-04-04 12:20:33 -07:00
Adam Cohen
4b6bf80fad Merge "Making StackView res-out and click feedback colors stylable" 2011-04-04 11:27:07 -07:00
Adam Cohen
26f072c3ee Making StackView res-out and click feedback colors stylable
Change-Id: Ia6241b1b66dc510b22bcf342d775f98eb7c86871
2011-04-01 16:28:51 -07:00
Jim Miller
27e61e454f Merge "Get LockScreen working on phones." 2011-03-30 20:07:50 -07:00
Jim Miller
ad32bf4844 Get LockScreen working on phones.
Not the final UI, but it works.

Change-Id: Ia31d23069b2c365f711cb9d0a664648623554768
2011-03-30 18:53:18 -07:00
Justin Ho
bacdc8108a am 0b397314: am 0b251aec: am 01b13a11: Merge "Replacing browser playback controls for inactive videos Bug: 4136024" into honeycomb-mr1
* commit '0b3973143191962d3c4372523ed450f6a5bf0863':
  Replacing browser playback controls for inactive videos Bug: 4136024
2011-03-30 16:41:41 -07:00
Jeff Hamilton
284f965a59 am 016f8847: am b9896794: am 96cf34d3: Merge "Make STOP_APP_SWITCHES signatureOrSystem." into gingerbread
* commit '016f8847471a9d4ffe6a03c29e0600529d51d929':
  Make STOP_APP_SWITCHES signatureOrSystem.
2011-03-30 16:40:34 -07:00