1167 Commits

Author SHA1 Message Date
Romain Guy
ee8332286c am 9edc4e89: GestureOverlayView was not invalidating itself when calling clear(false). Calling clear(true) was working properly. This change also makes clear(false) and clear(true) both behave similarly when fireActionPerformed == true.
Merge commit '9edc4e8930273d9bb3b5e9cb73c219e012de8ffb'

* commit '9edc4e8930273d9bb3b5e9cb73c219e012de8ffb':
  GestureOverlayView was not invalidating itself when calling clear(false). Calling clear(true) was working properly. This change also makes clear(false) and clear(true) both behave similarly when fireActionPerformed == true.
2009-05-25 19:12:23 -07:00
Romain Guy
9edc4e8930 GestureOverlayView was not invalidating itself when calling clear(false). Calling clear(true) was working properly. This change also makes clear(false) and clear(true) both behave similarly when fireActionPerformed == true. 2009-05-25 19:10:07 -07:00
Romain Guy
a788bf9207 am e7c36dda: Add new orientation attribute to GestureOverlayView. This can be used to prevent the overlay from interfering with vertically/horizontally scrolling views underneath the overlay.
Merge commit 'e7c36dda7ada30e02f3aa9d75f282a53402aeae7'

* commit 'e7c36dda7ada30e02f3aa9d75f282a53402aeae7':
  Add new orientation attribute to GestureOverlayView. This can be used to prevent the overlay from interfering with vertically/horizontally scrolling views underneath the overlay.
2009-05-25 13:53:18 -07:00
Romain Guy
e7c36dda7a Add new orientation attribute to GestureOverlayView. This can be used to prevent the overlay from interfering with vertically/horizontally scrolling views underneath the overlay. 2009-05-25 13:51:00 -07:00
Jacek Surazski
28b0e5d06a This just makes it easier to derive from ApplicationErrorReport. 2009-05-25 18:04:24 +02:00
Romain Guy
a8ddb28275 am ec25df9f: Fix drawing bug: opaque invalidations should not be taken into account when the invalidated view is animating. Also add the ability to disable the auto-fade on the GestureOverlayView.
Merge commit 'ec25df9fbc685be384f8dd764fa224a4d923e9d8'

* commit 'ec25df9fbc685be384f8dd764fa224a4d923e9d8':
  Fix drawing bug: opaque invalidations should not be taken into account when the invalidated view is animating. Also add the ability to disable the auto-fade on the GestureOverlayView.
2009-05-25 08:37:22 -07:00
Romain Guy
cc77c6bd6f am ff686ce1: Change when gestures listeners are fired.
Merge commit 'ff686ce11e952a9001b1384d8e7d82127b0529a2'

* commit 'ff686ce11e952a9001b1384d8e7d82127b0529a2':
  Change when gestures listeners are fired.
  Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
2009-05-25 08:37:06 -07:00
Romain Guy
ec25df9fbc Fix drawing bug: opaque invalidations should not be taken into account when the invalidated view is animating. Also add the ability to disable the auto-fade on the GestureOverlayView. 2009-05-25 04:39:37 -07:00
Romain Guy
ff686ce11e Change when gestures listeners are fired. 2009-05-25 01:33:19 -07:00
Android (Google) Code Review
26a892a045 Merge change 2408 into donut
* changes:
  Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
2009-05-25 00:58:57 -07:00
Android (Google) Code Review
94ded495ec am 944ea123: Merge change 2407 into donut
Merge commit '944ea123683b14225297d451c86e97fc73be3a02'

* commit '944ea123683b14225297d451c86e97fc73be3a02':
  Manual merge from cupcake_dcm.
2009-05-25 00:58:01 -07:00
Daisuke Miyakawa
c27d9b5341 Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted. 2009-05-25 16:57:15 +09:00
Android (Google) Code Review
944ea12368 Merge change 2407 into donut
* changes:
  Manual merge from cupcake_dcm.
2009-05-25 00:56:32 -07:00
Daisuke Miyakawa
9399695aa2 Manual merge from cupcake_dcm. 2009-05-25 16:55:04 +09:00
Android (Google) Code Review
d35041d869 am 82392e84: Merge change 2402 into donut
Merge commit '82392e84b9bcf618d1c41730ec14fb8dab841990'

* commit '82392e84b9bcf618d1c41730ec14fb8dab841990':
  Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes.
2009-05-24 23:49:58 -07:00
Romain Guy
82f3495b14 Cleanup Gestures API and make it easier to use in 3rd party apps. Also fix the events processing in the gestures overlay mechanism. Give better control of the various properties of the overlay through XML attributes. 2009-05-24 23:45:03 -07:00
Android (Google) Code Review
fa02f92162 am d9a874a4: Merge change 2397 into donut
Merge commit 'd9a874a4cb8e82ae64c1698bd71ced8d87bbc5cd'

* commit 'd9a874a4cb8e82ae64c1698bd71ced8d87bbc5cd':
  Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point.
2009-05-23 13:29:42 -07:00
Android (Google) Code Review
d9a874a4cb Merge change 2397 into donut
* changes:
  Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point.
2009-05-23 13:27:18 -07:00
Romain Guy
a02903fbee Fixes NPE in ListViews with non-selectable items. This was caused by a weird initialization issue in ListView and AbsListView: a private final field instanciated in the declaration in ListView was used in AbsListView<init> via an overriden method and that field was somehow null at this time. This fix moves the instanciation at a later point. 2009-05-23 13:26:46 -07:00
Mike Lockwood
b57d6c9939 am 270e87f7: Sensors: Use a native_handle for the data channel instead of a single file descriptor.
Merge commit '270e87f71abc2edf446dbec20c725c823e8c7f37'

* commit '270e87f71abc2edf446dbec20c725c823e8c7f37':
  Sensors: Use a native_handle for the data channel instead of a single file descriptor.
2009-05-23 10:36:58 -07:00
Mike Lockwood
270e87f71a Sensors: Use a native_handle for the data channel instead of a single file descriptor.
This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-23 13:22:08 -04:00
Mike LeBeau
a97f4a1174 Remove dimmed background (and accompanying animation) for global
search, since we should never really see that background anyway,
and I suspect the animation is using a significant amount of CPU.
2009-05-23 01:19:36 -05:00
Android (Google) Code Review
a742dc421b am fea1a459: Merge change 2364 into donut
Merge commit 'fea1a459aaebc5fd66b12520312ddbe09547f094'

* commit 'fea1a459aaebc5fd66b12520312ddbe09547f094':
  Initial checkin for App Fuel Gauge infrastructure.
2009-05-22 19:41:36 -07:00
Android (Google) Code Review
fea1a459aa Merge change 2364 into donut
* changes:
  Initial checkin for App Fuel Gauge infrastructure.
2009-05-22 19:40:33 -07:00
Dianne Hackborn
385bb79ebb am b181118b: Define TARGET_CPU_ABI for finding native code in .apks
Merge commit 'b181118b6e58c0014da4e9d52bf38548adc73a8a'

* commit 'b181118b6e58c0014da4e9d52bf38548adc73a8a':
  Define TARGET_CPU_ABI for finding native code in .apks
2009-05-22 18:47:12 -07:00
Dianne Hackborn
b181118b6e Define TARGET_CPU_ABI for finding native code in .apks 2009-05-22 18:45:25 -07:00
Android (Google) Code Review
d8f861f9c9 am 53cf55c6: Merge change 2349 into donut
Merge commit '53cf55c64f85c11c4da4c47edddb387a396bb8b6'

* commit '53cf55c64f85c11c4da4c47edddb387a396bb8b6':
  Change the media key algorithm to also ignore double quotes.
2009-05-22 15:36:52 -07:00
Android (Google) Code Review
53cf55c64f Merge change 2349 into donut
* changes:
  Change the media key algorithm to also ignore double quotes.
2009-05-22 15:35:26 -07:00
Android (Google) Code Review
9f7d60cbfa am d50a458b: Merge change 2351 into donut
Merge commit 'd50a458bb291801ab9fdc119301bc7b84b42a6e3'

* commit 'd50a458bb291801ab9fdc119301bc7b84b42a6e3':
  Fix a major bug in Bundle when unparcelling from AIDL.
2009-05-22 14:53:18 -07:00
Android (Google) Code Review
ccf1ab6484 am 4e1afc1a: Merge change 2361 into donut
Merge commit '4e1afc1a569d05cc6a1ee213c65ffb49513600ca'

* commit '4e1afc1a569d05cc6a1ee213c65ffb49513600ca':
  Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
2009-05-22 14:51:25 -07:00
Android (Google) Code Review
d50a458bb2 Merge change 2351 into donut
* changes:
  Fix a major bug in Bundle when unparcelling from AIDL.
2009-05-22 14:51:22 -07:00
Android (Google) Code Review
4e1afc1a56 Merge change 2361 into donut
* changes:
  Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
2009-05-22 14:49:19 -07:00
Amith Yamasani
244fa5c05b Initial checkin for App Fuel Gauge infrastructure.
This adds the PowerProfile class and data file that provides power consumption numbers
for different subsystems. Also added Audio/Video subsystems to track on a per UID basis.
2009-05-22 14:36:07 -07:00
Fred Quintana
8943737692 add ipc support to batching 2009-05-22 14:17:48 -07:00
Romain Guy
b6888167d3 Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null. 2009-05-22 14:09:29 -07:00
Dianne Hackborn
6aff905048 Fix a major bug in Bundle when unparcelling from AIDL.
There was a serious problem in the Bundle(Parcel) and readFromParcel() methods,
where it wasn't doing the copying of the Parcel that Parcel.readBundle() does
and is a basic requirement for it to work correctly.

This re-arranges the code to make all of these functions (hopefully) correct.

Also fix a problem in Parcel where we were not duping fds when copying data from
one Parcel to another.
2009-05-22 13:51:47 -07:00
Wei Huang
58eef7e4cf add Gservices setting for "send message using bareJid timeout". 2009-05-22 13:30:03 -07:00
Marco Nelissen
e754e128e6 Change the media key algorithm to also ignore double quotes. 2009-05-22 12:22:16 -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
The Android Open Source Project
d14508b4d6 merge f41c640d8424fbd90cb1751173ede1c9f5e848b4 w/minor conflict 2009-05-22 11:24:36 -07: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
36e862a699 Merge change 2318 into donut
* changes:
  Fixed vertical text position in search suggestion items.
2009-05-22 08:45:11 -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
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
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
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