2381 Commits

Author SHA1 Message Date
Marco Nelissen
fc5095f44b am 7198030f: This should fix the simulator build.
Merge commit '7198030fce4b54820a65a10d54fae18a1ab5df84'

* commit '7198030fce4b54820a65a10d54fae18a1ab5df84':
  This should fix the simulator build.
2009-05-22 12:30:07 -07:00
Marco Nelissen
7198030fce This should fix the simulator build. 2009-05-22 12:25:56 -07:00
Marco Nelissen
e754e128e6 Change the media key algorithm to also ignore double quotes. 2009-05-22 12:22:16 -07:00
Jean-Michel Trivi
2c0c2af2ea Add AIDL files for the TTS service and the associated callback service (to signal synthesis completion). 2009-05-22 11:45:26 -07:00
Android (Google) Code Review
c518080c11 am 9d892a8e: Merge change 2336 into donut
Merge commit '9d892a8e3037fd2f6d692137cd5d91acc46ddf5a'

* commit '9d892a8e3037fd2f6d692137cd5d91acc46ddf5a':
  dumpstate: Add to AID_SDCARD_RW group to fix saving bugreports to the SD card.
2009-05-22 11:32:01 -07:00
Android (Google) Code Review
9db377e3de am 9681a5e0: Merge change 2230 into donut
Merge commit '9681a5e06badbd817342e8f6be4ffbe9102c1e98'

* commit '9681a5e06badbd817342e8f6be4ffbe9102c1e98':
  runtime: Add CAP_SYS_NICE to the system server capabilities list so it
2009-05-22 11:26:04 -07:00
Android (Google) Code Review
83ce0c4fdf am 36e862a6: Merge change 2318 into donut
Merge commit '36e862a699aa2a23df1543665f39b5b0c96885fb'

* commit '36e862a699aa2a23df1543665f39b5b0c96885fb':
  Fixed vertical text position in search suggestion items.
2009-05-22 11:26:01 -07:00
Romain Guy
d942f243e5 am 380cd96e: Fix the build
Merge commit '380cd96e5d7018cbf43295c9f2f2a33897affd63'

* commit '380cd96e5d7018cbf43295c9f2f2a33897affd63':
  Fix the build
2009-05-22 11:25:56 -07:00
Romain Guy
4c723bc794 am c0292b04: Fix the build
Merge commit 'c0292b04407d93a11ee1412ed52cc5b04642a6f1'

* commit 'c0292b04407d93a11ee1412ed52cc5b04642a6f1':
  Fix the build
2009-05-22 11:25:52 -07:00
The Android Open Source Project
d14508b4d6 merge f41c640d8424fbd90cb1751173ede1c9f5e848b4 w/minor conflict 2009-05-22 11:24:36 -07:00
Android (Google) Code Review
9d892a8e30 Merge change 2336 into donut
* changes:
  dumpstate: Add to AID_SDCARD_RW group to fix saving bugreports to the SD card.
2009-05-22 10:40:48 -07:00
The Android Open Source Project
f17fef48dc Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base 2009-05-22 10:37:42 -07:00
Mike Lockwood
472be48007 dumpstate: Add to AID_SDCARD_RW group to fix saving bugreports to the SD card.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-22 13:31:42 -04:00
Android (Google) Code Review
1ab55ea04f Merge change 2229
* changes:
  Add carrier/mcc factors to wifi-channel decision.
2009-05-22 09:33:09 -07:00
Robert Greenwalt
b5010cc3c3 Add carrier/mcc factors to wifi-channel decision.
Uses ro.carrier and MCC when available to try to set
(non-persistingly) the number of allowed wifi channels.
Part of the fix for 1625953.
2009-05-22 09:31:41 -07:00
Android (Google) Code Review
9681a5e06b Merge change 2230 into donut
* changes:
  runtime: Add CAP_SYS_NICE to the system server capabilities list so it can (eventually) move arbitrary threads into different cgroups
2009-05-22 08:47:54 -07:00
Android (Google) Code Review
36e862a699 Merge change 2318 into donut
* changes:
  Fixed vertical text position in search suggestion items.
2009-05-22 08:45:11 -07:00
The Android Open Source Project
12dacd90c4 merge 84ce47e64f9aa5600b6b3e205f8c6930a8095c7d w/minor conflicts 2009-05-22 07:48:37 -07:00
Romain Guy
380cd96e5d Fix the build 2009-05-22 07:32:41 -07:00
Bjorn Bringert
eb128730b5 Fixed vertical text position in search suggestion items.
Background:

mlebeau said: "Cole had complained that the vertical alignment of the
text fields in search_dropdown_item_icons_2line.xml was a little
off. Specifically, when both lines are visible he wanted to see line1
pushed down 2-4 pixels (while keeping line2 in the same position as
now), and when only line1 is visible, he said it needed to be pushed
up 2-4 pixels from current."

Here's how the layout worked before (note that text2 and text1
are in this order in the layout file):

- If text2 is present, it is put at the bottom, with height set by
  layout_height (currently 29dip) .  - The line2 text is put at the top
  of text2 (gravity=top).

- I think the paddingBottom=4dip in text2 has no effect, since the
  text is top-aligned anyway.

- text1 is put at the top of the list item. If text2 is present, it
  will have height 29dip (58 dip - 29 dip height of text2). It's a bit
  weird, layout_height of text1 is completely ignored, but it has to be
  set to something. If text2 is missing, it will fill the entire list
  item height (58 dip).

- The line1 text is placed 4dip below the vertical center of text1
  (4dip because of paddingTop).

Now, instead, text1 has height=wrap_content, and is placed right above
text2, if that's present. If text2 is absent, text1 is centered
vertically in the list item. This should have the desired effect.
If we want to tweak the positioning further in the case where text2
is visible, we can adjust the padding of text1.
2009-05-22 13:42:29 +01:00
Romain Guy
c0292b0440 Fix the build 2009-05-22 02:39:24 -07:00
Android (Google) Code Review
f41c640d84 Merge change 2305 into donut
* changes:
  Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
2009-05-22 02:02:57 -07:00
Romain Guy
d6a463a9f2 Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer. 2009-05-22 01:59:59 -07:00
Tammo Spalink
550885d158 added SmsMessage ConcatRef parsing validation
addresses bugs:
http://b/issue?id=1870607
http://b/issue?id=1688238

and prior perforce commit:
http://s9/?change_num=136189
2009-05-22 13:38:35 +08:00
Android (Google) Code Review
84ce47e64f Merge change 2299 into donut
* changes:
  fix build breakage
2009-05-21 21:12:59 -07:00
Daisuke Miyakawa
77f57f67c7 fix build breakage 2009-05-22 13:12:18 +09:00
Daisuke Miyakawa
0690519fcd fix build breakage 2009-05-22 13:05:23 +09:00
Mathias Agopian
ac31a3b8b0 this should fix the build 2009-05-21 19:59:24 -07:00
Android (Google) Code Review
e755d64977 am 69a6c3eb: Merge change 2292 into donut
Merge commit '69a6c3ebd46a8de0e896747757f364322c12608d'

* commit '69a6c3ebd46a8de0e896747757f364322c12608d':
  split boot animation out of SurfaceFlinger
2009-05-21 19:36:53 -07:00
Android (Google) Code Review
69a6c3ebd4 Merge change 2292 into donut
* changes:
  split boot animation out of SurfaceFlinger
2009-05-21 19:33:59 -07:00
Mathias Agopian
627e7b50be split boot animation out of SurfaceFlinger
Conflicts:

	data/etc/platform.xml
2009-05-21 19:21:59 -07:00
Dianne Hackborn
03536ea70c Fix public.xml to clean up Eclair's public resources. 2009-05-21 18:42:51 -07:00
Android (Google) Code Review
e6c9378bae am cfcc0df2: Merge change 2285 into donut
Merge commit 'cfcc0df2658d0ce7dc753511bb44ab8ae7a636f7'

* commit 'cfcc0df2658d0ce7dc753511bb44ab8ae7a636f7':
  Move the Gestures API to the framework in android.gesture.
2009-05-21 18:18:21 -07:00
Android (Google) Code Review
cfcc0df265 Merge change 2285 into donut
* changes:
  Move the Gestures API to the framework in android.gesture.
2009-05-21 18:16:51 -07:00
Romain Guy
db567c390b Move the Gestures API to the framework in android.gesture. 2009-05-21 18:12:56 -07:00
Dianne Hackborn
47588ef1a2 am c4d5d026: Add new window manager type for a hacking second-level media surface.
Merge commit 'c4d5d02667af6989a3121072871f6a4b1e68b594'

* commit 'c4d5d02667af6989a3121072871f6a4b1e68b594':
  Add new window manager type for a hacking second-level media surface.
2009-05-21 17:54:44 -07:00
Dianne Hackborn
c4d5d02667 Add new window manager type for a hacking second-level media surface.
This adds a new window type that is a surface that sits between the
current media type and the application window, in theory allowing you
to have two surface views in your hierarchy and control their
Z-ordering.  There is also another hidden API on SurfaceView to set
the type of your window.

All a big hack, but for the good of the commonwealth!
2009-05-21 17:50:33 -07:00
Leon Scroggins
213a31c7d5 Fix some Java mistakes found by FindBugs.
Use Integer.valueOf() instead of new Integer()
Eliminate unused fields in InvokeListBox
Make FocusNode, HitTestRequest, and ExtendedZoomControls
static inner classes.
2009-05-21 16:49:32 -07:00
Android (Google) Code Review
bca8ecf805 Merge change 2260
* changes:
  change 2115 wasn't merged properly into master. this fixes that.
2009-05-21 16:32:55 -07:00
Mathias Agopian
dfece80c79 change 2115 wasn't merged properly into master. this fixes that.
Merge change 2115 into donut

* changes:
  bring the native_handle stuff back from master_gl

Conflicts:

	libs/binder/Parcel.cpp
2009-05-21 16:29:38 -07:00
Android (Google) Code Review
547a397f9b am 384bfa27: Merge change 2227 into donut
Merge commit '384bfa270cdcb5dc3bc9ec396b783e25eb2d9b4d'

* commit '384bfa270cdcb5dc3bc9ec396b783e25eb2d9b4d':
  Add header declaring the interface for TTS engines to implement.
2009-05-21 16:18:48 -07:00
Yang Li
6d71ac3adb am ac6a4b8e: Renamed setGestureType in GestureLibrary
Merge commit 'ac6a4b8eab8311a02e1988c1dbd1c85f867b6bc4'

* commit 'ac6a4b8eab8311a02e1988c1dbd1c85f867b6bc4':
  Renamed setGestureType in GestureLibrary
2009-05-21 16:18:46 -07:00
Android (Google) Code Review
384bfa270c Merge change 2227 into donut
* changes:
  Add header declaring the interface for TTS engines to implement.
2009-05-21 16:13:52 -07:00
Yang Li
ac6a4b8eab Renamed setGestureType in GestureLibrary 2009-05-21 16:08:35 -07:00
San Mehat
ca63bb72ef runtime: Add CAP_SYS_NICE to the system server capabilities list so it
can (eventually) move arbitrary threads into different cgroups

Signed-off-by: San Mehat <san@google.com>
2009-05-21 15:34:56 -07:00
Jean-Michel Trivi
895fb8e5f3 Add header declaring the interface for TTS engines to implement. 2009-05-21 15:32:11 -07:00
Romain Guy
14191c7dfd am b6d99b7d: Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java.
Merge commit 'b6d99b7d17fd1bb1326a70744bd01be5d1586487'

* commit 'b6d99b7d17fd1bb1326a70744bd01be5d1586487':
  Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java.
2009-05-21 15:30:01 -07:00
Romain Guy
b6d99b7d17 Modify how GestureLibrary stores its data. The XML format is now replaced by a more efficient binary format which should speed up saving/loading. The format is very similar to the one used by the letters recognizer. The format is documented in GestureLibrary.java. 2009-05-21 15:26:46 -07:00
Owen Lin
ab18d1f46a Fix SQLite limit issue.
SQLLite limit is not only used to limit the returned number of data.
It can be used to do an offset query.

For example, "SELECT * FROM table LIMIT 100, 10", will return the
data of index in the range of [100, 100 + 10).

This change set enable this kind of useage.

This is also more efficient than use "cursor.moveToPosition()".
In my experiment, I query 1000 items in batch mode, i.e.,
get 20 items out of 1000 each time.

    Time of using LIMIT clause: 626ms
    Time of useing "cursor.moveToPosition()": 2062ms
2009-05-21 15:22:28 -07:00
Android (Google) Code Review
c8a57c4b58 am aeed1816: Merge change 2219 into donut
Merge commit 'aeed1816b7bbf8948c1daed48db6fe7567f338af'

* commit 'aeed1816b7bbf8948c1daed48db6fe7567f338af':
  Updated LetterRecognizer & related gesture recognition code
2009-05-21 15:06:24 -07:00