938 Commits

Author SHA1 Message Date
Dave Bort
e9bfd9b873 Debug: Minor cleanup
Address crazybob's comments.

Avoid referring to a static in one of the helper methods.
2009-05-04 16:16:47 -07:00
Android (Google) Code Review
4cc03076c2 am 724561c: Merge change 949 into donut
Merge commit '724561cc20e259888986cbb0be2fdab4d142d869'

* commit '724561cc20e259888986cbb0be2fdab4d142d869':
  Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
2009-05-04 15:32:39 -07:00
Android (Google) Code Review
724561cc20 Merge change 949 into donut
* changes:
  Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width.
2009-05-04 15:30:35 -07:00
Android (Google) Code Review
0003a522c1 am beb2498: Merge change 956 into donut
Merge commit 'beb2498ead68ca230fd13b7546a8eef7b6818e7b'

* commit 'beb2498ead68ca230fd13b7546a8eef7b6818e7b':
  Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
2009-05-04 15:12:58 -07:00
Android (Google) Code Review
beb2498ead Merge change 956 into donut
* changes:
  Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market
2009-05-04 15:09:47 -07:00
Romain Guy
3373ed62d1 Fixes #1827988. Prevent marquee text from constantly rescaling itself in Market 2009-05-04 15:05:22 -07:00
Romain Guy
f83f59f4af Fixes external #2575 (http://code.google.com/p/android/issues/detail?id=2575). HorizontalScrollView was comparing the measured height of its child to its width. 2009-05-04 14:15:23 -07:00
Android (Google) Code Review
c34c8c6fa1 am 7ff9436: Merge change 911 into donut
Merge commit '7ff943673e48a912eb7cc5add08e206c2c25d68e'

* commit '7ff943673e48a912eb7cc5add08e206c2c25d68e':
  Debug: Add setPropertiesOn(), and @hide it for now
2009-05-04 14:04:52 -07:00
Android (Google) Code Review
7ff943673e Merge change 911 into donut
* changes:
  Debug: Add setPropertiesOn(), and @hide it for now
2009-05-04 14:03:40 -07:00
Wu-cheng Li
1e38d86034 am fa3e556: Change error message.
Merge commit 'fa3e5562793c5bd7d4513a9e1a5869e763a47ab5'

* commit 'fa3e5562793c5bd7d4513a9e1a5869e763a47ab5':
  Change error message.
2009-05-04 13:27:00 -07:00
Romain Guy
bf61e19b64 am 6a1ae64: Fix another HTML formatting in android.os.AsyncTask
Merge commit '6a1ae64f7735a3817713a223096bf8034f78a620'

* commit '6a1ae64f7735a3817713a223096bf8034f78a620':
  Fix another HTML formatting in android.os.AsyncTask
2009-05-04 13:26:59 -07:00
Android (Google) Code Review
61cf54d3a0 am 8d121ce: Merge change 917 into donut
Merge commit '8d121ce945204e96d90d3338ecafe637b0494ed8'

* commit '8d121ce945204e96d90d3338ecafe637b0494ed8':
  Fix HTML formatting in android.os.AsyncTask
2009-05-04 13:26:54 -07:00
Android (Google) Code Review
a3fcb44a26 Manual cherry-pick of 821427eac75d88f1388935e0a2f0564be8979e58 into master
* changes:
  Merge change 847 into donut
2009-05-04 12:43:45 -07:00
Wu-cheng Li
fa3e556279 Change error message. 2009-05-04 19:38:43 +08:00
Romain Guy
6a1ae64f77 Fix another HTML formatting in android.os.AsyncTask 2009-05-02 22:52:17 -07:00
Android (Google) Code Review
8d121ce945 Merge change 917 into donut
* changes:
  Fix HTML formatting in android.os.AsyncTask
2009-05-02 22:42:00 -07:00
Romain Guy
b97aec64be Fix HTML formatting in android.os.AsyncTask 2009-05-02 22:41:32 -07:00
Android (Google) Code Review
0477090ca3 am 7db4860: Merge change 845 into donut
Merge commit '7db486058cf4fce4be04e13d1ec6b7cf404d3e38'

* commit '7db486058cf4fce4be04e13d1ec6b7cf404d3e38':
  Config: Add ConfigBuildFlags, and change it based on TARGET_BUILD_TYPE
2009-05-01 23:25:28 -07:00
Android (Google) Code Review
3ee2f8189f am 854c8c7: Merge change 896 into donut
Merge commit '854c8c78c1bce214f6479772d94147070ec6764f'

* commit '854c8c78c1bce214f6479772d94147070ec6764f':
  make AutoCompleteTextView take the alternate anchor view into account when computing the max available space on screen.
2009-05-01 23:25:28 -07:00
Dave Bort
1ce5bd3463 Debug: Add setPropertiesOn(), and @hide it for now
This lets a caller reflectively set the static fields of a class
based on debug build properties.

Signed-off-by: Dave Bort <dbort@android.com>
2009-05-01 18:47:47 -07:00
Android (Google) Code Review
821427eac7 Merge change 847 into donut
* changes:
  Config: Deprecate most fields, and hook into ConfigBuildFlags
2009-05-01 18:32:46 -07:00
Android (Google) Code Review
7db486058c Merge change 845 into donut
* changes:
  Config: Add ConfigBuildFlags, and change it based on TARGET_BUILD_TYPE
2009-05-01 18:32:37 -07:00
Dave Bort
52fa7c2afd Config: Deprecate most fields, and hook into ConfigBuildFlags
Copy 3.xml to 4.xml, and patch 4.xml to deal with the fact that
Config.DEBUG's value is no longer actually fixed.  We don't want
to modify 3.xml directly, because it's the official cupcake API.

Update current.xml to reflect the differences between 3.xml and 4.xml
and to reflect the new deprecation states.

The deprecated fields should be @hidden if possible before the
next API release, but it can't be done yet because there are
SDK-linked platform apps that use some of the deprecated fields.

Signed-off-by: Dave Bort <dbort@android.com>
2009-05-01 17:47:13 -07:00
Dave Bort
a833cbbed0 Config: Add ConfigBuildFlags, and change it based on TARGET_BUILD_TYPE
This will be used to revive android.util.Config.DEBUG.

Signed-off-by: Dave Bort <dbort@android.com>
2009-05-01 17:47:08 -07:00
Android (Google) Code Review
854c8c78c1 Merge change 896 into donut
* changes:
  make AutoCompleteTextView take the alternate anchor view into account when computing the max available space on screen.
2009-05-01 16:32:21 -07:00
Romain Guy
4ade578837 Fix the build 2009-05-01 14:41:53 -07:00
Karl Rosaen
743ae65992 make AutoCompleteTextView take the alternate anchor view into account when computing the max available space on screen.
before, it always computed the height based on the text view itself being the anchor.  This fixes the clipping bug
in the search dialog.
2009-05-01 14:15:11 -07:00
Mike Lockwood
e90c0da675 am 275555c: location: Add support for location providers outside of the
Merge commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e'

* commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e':
  location: Add support for location providers outside of the system process.
2009-05-01 12:39:03 -07:00
Mike Lockwood
275555c8eb location: Add support for location providers outside of the system process.
Also added new permissions android.permission.INSTALL_LOCATION_PROVIDER
and android.permission.INSTALL_LOCATION_COLLECTOR to the public API.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-01 15:06:31 -04:00
Romain Guy
a426c9609f am 9a81736: Add the ability to specify the onClick handler with XML.
Merge commit '9a81736176f507489f262344b6e3d55bbe53be7c'

* commit '9a81736176f507489f262344b6e3d55bbe53be7c':
  Add the ability to specify the onClick handler with XML. The new android:onClick attribute defines the name of the method in the Activity to invoke when the button is clicked. The method has to be public and get one View parameter.
2009-05-01 12:00:19 -07:00
Romain Guy
9a81736176 Add the ability to specify the onClick handler with XML. The new android:onClick attribute defines the name of the method in the Activity to invoke when the button is clicked. The method has to be public and get one View parameter. 2009-05-01 10:57:14 -07:00
Android (Google) Code Review
3bc15fcfdc am e5c4725: Merge change 873 into donut
Merge commit 'e5c4725666da25138193bed83831b66b9c0b2c45'

* commit 'e5c4725666da25138193bed83831b66b9c0b2c45':
  pass original ptrs to JNI release functions (instead of += index to them)
2009-05-01 07:59:31 -07:00
Mike Reed
ad8b8f57a4 pass original ptrs to JNI release functions (instead of += index to them) 2009-05-01 08:24:01 -04:00
Bjorn Bringert
da7b5e2dac Partly fix master build, by bumping attr IDs.
Fixes conflicting attr IDs due to donut-to-master automerge.
As a side effect, it fixes the "Field android.R.attr.contentAuthority
has changed value from 16843373 to 16843374" error introduced by change
804.

Background:

I submitted two changes to donut that add new public attributes:
https://android-git.corp.google.com/g/Gerrit#change,795
https://android-git.corp.google.com/g/Gerrit#change,796

This was fine in donut (though still waiting for build server to
finish), but when auto-merged to master it caused a new build breakage.
This was on top of existing breakage due to
https://android-git.corp.google.com/g/Gerrit#change,804

The problem is that there are now multiple attribute definitions with
identical IDs, as you can see at the bottom of:
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/public.xml;h=becc90ef05481321c60301176b91ca7b4553a6d7;hb=master

This did not cause an automerge failure, since my new attributes were
in the "platform 4" section, whereas the new attributes in master were
in the "platform 5" section. It seems like the temporary solution
would be to change the resource IDs in "platform 5" to come after the
ones in "platform 4". But the next time someone adds an attribute in
"platform 4", we will have the same problem. Any ideas?
2009-05-01 10:58:45 +01:00
Bjorn Bringert
6c1dc3212b am a56b318: NEW_API: Expose includeInGlobalSearch searchable attribute
Merge commit 'a56b318cf2d4c3700899f9de394c5635761dda66'

* commit 'a56b318cf2d4c3700899f9de394c5635761dda66':
  NEW_API: Expose includeInGlobalSearch searchable attribute
2009-05-01 02:11:01 -07:00
Bjorn Bringert
085dd21563 am 232cd50: NEW_API: Expose searchSuggestThreshold searchable attribute
Merge commit '232cd50f152b919f0918ee3f9fbdaf6ee1ae9f63'

* commit '232cd50f152b919f0918ee3f9fbdaf6ee1ae9f63':
  NEW_API: Expose searchSuggestThreshold searchable attribute
2009-05-01 02:10:58 -07:00
Bjorn Bringert
a56b318cf2 NEW_API: Expose includeInGlobalSearch searchable attribute
If this attribute is provided and true, the searchable activity will be
included in any global lists of search targets.

This is needed to support third-party suggestion providers in
global search. See http://b/issue?id=1819651
2009-05-01 09:43:49 +01:00
Bjorn Bringert
232cd50f15 NEW_API: Expose searchSuggestThreshold searchable attribute
This lets the searchable activity specify the number of
characters needed to trigger suggestions. Before, this was
hard-coded at 0. This caused unnecessary querying of the
suggestion provider in cases where the provider does not
return suggestions for empty or short queries.
2009-05-01 09:43:48 +01:00
The Android Open Source Project
4e07116252 am 3500f01: Merge branch \'donut\' of ssh://android-git.corp.google.com:29
Merge commit '3500f016bfc43a42b19cfc51f5472b1be87b8369'

* commit '3500f016bfc43a42b19cfc51f5472b1be87b8369':
  Fixes #1712631. Whenever a View loses focus/selection, reset its pressed state.
2009-04-30 18:12:48 -07:00
Eric Fischer
bf8e6feb0b am 222f079: am b78c31d: AI 148147: Import lots of zh_TW translation chan
Merge commit '222f079a6e180ed20a73d001d26262ee2cbf5ea3'

* commit '222f079a6e180ed20a73d001d26262ee2cbf5ea3':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 18:12:47 -07:00
The Android Open Source Project
3500f016bf Merge branch 'donut' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into donut 2009-04-30 17:59:19 -07:00
Android (Google) Code Review
dc30119c12 Merge change 842 into donut
* changes:
  Fixes #1712631. Whenever a View loses focus/selection, reset its pressed state.
2009-04-30 17:58:28 -07:00
Romain Guy
a2431d0ba2 Fixes #1712631. Whenever a View loses focus/selection, reset its pressed state. 2009-04-30 17:57:47 -07:00
Eric Fischer
222f079a6e am b78c31d: AI 148147: Import lots of zh_TW translation changes.
Merge commit 'b78c31d0644a9d91fdf705db4b39865f495287be' into donut

* commit 'b78c31d0644a9d91fdf705db4b39865f495287be':
  AI 148147: Import lots of zh_TW translation changes.
2009-04-30 17:37:21 -07:00
Eric Fischer
b78c31d064 AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
2009-04-30 17:32:14 -07:00
Android (Google) Code Review
f7911a227c Merge change 804
* changes:
  decouple SyncAdapter from ContentProvider
2009-04-30 17:28:41 -07:00
Fred Quintana
718d8a2d7f decouple SyncAdapter from ContentProvider 2009-04-30 17:28:09 -07:00
Eric Fischer
7fd4b44012 am a4d8e5c: am f8a33c3: AI 148026: Update zh_TW translations.
Merge commit 'a4d8e5ce72a299d09b40fe835ee0ec889123a256'

* commit 'a4d8e5ce72a299d09b40fe835ee0ec889123a256':
  AI 148026: Update zh_TW translations.
2009-04-30 17:24:17 -07:00
Eric Fischer
21eef98715 am c27eaa4: am 0ca686b: AI 148020: Restore accidentally-deleted zh_CN an
Merge commit 'c27eaa45fdfca8e0b3f78a80a37ce3f49c1b396b'

* commit 'c27eaa45fdfca8e0b3f78a80a37ce3f49c1b396b':
  AI 148020: Restore accidentally-deleted zh_CN and zh_TW map centers.
2009-04-30 17:24:17 -07:00
Eric Fischer
a4d8e5ce72 am f8a33c3: AI 148026: Update zh_TW translations.
Merge commit 'f8a33c313f93896115d81b4f14adbb7628aa5d93' into donut

* commit 'f8a33c313f93896115d81b4f14adbb7628aa5d93':
  AI 148026: Update zh_TW translations.
2009-04-30 17:10:27 -07:00