2685 Commits

Author SHA1 Message Date
Jack Palevich
7e263332e0 Remove recently-added android.opengl.Version API
There's another already-existing way of obtaining this information,
the ConfigurationInfo.reqGlEsVersion field returned from
ActivityManager.getDeviceConfigurationInfo.
2009-07-22 15:22:59 -07:00
Android (Google) Code Review
ef6b66cbbb Merge change 8222 into donut
* changes:
  Add a public API that reports the supported OpenGLES API level.
2009-07-22 13:03:49 -07:00
Jack Palevich
1baf11b116 Add a public API that reports the supported OpenGLES API level. 2009-07-22 12:59:49 -07:00
Android (Google) Code Review
e94b28773d Merge change 8186 into donut
* changes:
  Move global search intent launching to search dialog
2009-07-22 12:14:58 -07:00
Dianne Hackborn
11b822d2a9 Simplify density compatibility to a boolean.
Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.
2009-07-22 11:58:31 -07:00
Android (Google) Code Review
59c25cbaf0 Merge change 8218 into donut
* changes:
  DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
2009-07-22 11:49:20 -07:00
Android (Google) Code Review
7228d0fdd7 Merge change 8213 into donut
* changes:
  Resetting the setLanguage() call to its intended behavior after change 8089 which works around the bug where a language cannot be set if the default language (which is loaded upon initialization) isn't eng-USA.
2009-07-22 11:48:11 -07:00
Romain Guy
5140141c26 DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
Before this change, DrawableContainer would always return true from getPadding(Rect)
even if all of its children were returning false from getPadding(Rect). This change
modifies this behavior to respect getPadding(Rect): mConstantPadding is kept null
when getPadding(Rect) returns false for all of the children and a flag is set
to avoid recomputing that value every time getConstantPadding() is invoked.
2009-07-22 11:35:49 -07:00
Android (Google) Code Review
2665427490 Merge change 8216 into donut
* changes:
  Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
2009-07-22 11:30:23 -07:00
Romain Guy
1f7f3c336a Fixes #1994125. Ensures AbsListView's filter window is always dismissed. 2009-07-22 11:29:59 -07:00
Android (Google) Code Review
b551fb872b Merge change 8210 into donut
* changes:
  Always call ensureImeVisible when the text field is clicked. We want this regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.
2009-07-22 11:22:07 -07:00
Android (Google) Code Review
5e21a11f00 Merge change 8209 into donut
* changes:
  Work around StateListDrawable padding in search suggestions
2009-07-22 11:19:18 -07:00
Mike LeBeau
470c565b6a Always call ensureImeVisible when the text field is clicked. We want this
regardless of whether dropDownAlwaysVisible is true or not, as long as
the popup is showing and is potentially obscuring the IME.
2009-07-22 11:17:48 -07:00
Jean-Michel Trivi
9c53a5c01f Resetting the setLanguage() call to its intended behavior after change 8089
which works around the bug where a language cannot be set if the default
language (which is loaded upon initialization) isn't eng-USA.
2009-07-22 11:15:23 -07:00
Bjorn Bringert
8051172a28 Work around StateListDrawable padding in search suggestions
Sometimes when searching, some of the suggestions had no left padding.
The left-hand side icons were flush with the left edge of the screen.
The problems was that setting a StateListDrawable as a background
will always set the padding of a View, because of a problem in
DrawableContainer.

DrawableContainer.DrawableContainerState.getConstantPadding()
will always return a Rect if mVariablePadding is false, which
makes DrawableContainer.getPadding() return true, which
causes View to change the padding.

As a workaround, we use setVariablePadding(true) on the background
that we create.

Fixes http://b/editIssue?id=1984813
2009-07-22 19:13:39 +01:00
Bjorn Bringert
4899e386ff Move global search intent launching to search dialog
Fixes http://b/issue?id=1969032
2009-07-22 18:36:22 +01:00
Android (Google) Code Review
356d4a14aa Merge change 8172 into donut
* changes:
  Add the phase2 field for EAP WiFi configuration.
2009-07-22 10:23:40 -07:00
Android (Google) Code Review
6de72ea39c Merge change 8201 into donut
* changes:
  Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).
2009-07-22 10:23:16 -07:00
Karl Rosaen
1c07ebb651 Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).
This way someone can call searchManger.startSearch() and immediately have searchManger.isVisible() reflect
the correct value.

Fixes failing tests and bug 1993675
2009-07-22 10:11:00 -07:00
Android (Google) Code Review
113eaa59c1 Merge change 8131 into donut
* changes:
  Fix android.core.FileTest#testFile: add sdcard write permission to test.
2009-07-22 10:03:56 -07:00
Android (Google) Code Review
aa0e47cbd6 Merge change 8179 into donut
* changes:
  Fix SQL generated by updateWithOnConflict()
2009-07-22 05:02:53 -07:00
Bjorn Bringert
7f4c2ea378 Fix SQL generated by updateWithOnConflict()
Before, SQLiteDatabase.updateWithOnConflict() method generated
syntactically invalid SQL if the ConflictAlgorithm was non-null.
For example, it would generate
"UPDATE  OR REPLACEshortcuts SET ...",
when it should be "UPDATE OR REPLACE shortcuts SET ...".

Fixes http://b/issue?id=1995470
2009-07-22 12:49:17 +01:00
Chung-yih Wang
b96ea206d9 Add the phase2 field for EAP WiFi configuration. 2009-07-22 15:58:30 +08:00
Android (Google) Code Review
dfca0ee879 Merge change 8082 into donut
* changes:
  Cleanup the old keystore APIs.
2009-07-22 00:57:48 -07:00
Android (Google) Code Review
9fc20b0e38 Merge change 8126 into donut
* changes:
  First pass at reworking screen density/size APIs.
2009-07-21 19:01:28 -07:00
Dianne Hackborn
c4db95c077 First pass at reworking screen density/size APIs.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
2009-07-21 18:28:42 -07:00
Android (Google) Code Review
7c94ceaeac Merge change 8130 into donut
* changes:
  Increase the volume of the AudioTrack instance used for the speech synthesis.
2009-07-21 18:17:42 -07:00
Brett Chabot
d0bff15377 Fix android.core.FileTest#testFile: add sdcard write permission to test. 2009-07-21 18:17:05 -07:00
Jean-Michel Trivi
d702c357fc Increase the volume of the AudioTrack instance used for the speech synthesis. 2009-07-21 18:10:04 -07:00
Mitsuru Oshima
38ed7d7701 * Adjust canvas size under compatibility mode. 2009-07-21 17:41:16 -07:00
Android (Google) Code Review
fe6f45c814 Merge change 8098 into donut
* changes:
  cast is floor. Use round instead.  This fixes a few layout issues (that was due to smaller widnow size)
2009-07-21 17:39:05 -07:00
Android (Google) Code Review
74cb705f0c Merge change 8121 into donut
* changes:
  Fixes #1818201. Do not attempt to display the popup until after the first layout.
2009-07-21 17:06:04 -07:00
Romain Guy
9bc9fa1538 Fixes #1818201. Do not attempt to display the popup until after the first layout. 2009-07-21 17:05:09 -07:00
Mitsuru Oshima
61324e58c5 cast is floor. Use round instead.
This fixes a few layout issues (that was due to smaller widnow size)
2009-07-21 16:42:41 -07:00
Android (Google) Code Review
7e71fb284d Merge change 8111 into donut
* changes:
  Don't start search from a dialog if there is no activity associated with the search manager at that point.
2009-07-21 16:41:41 -07:00
Android (Google) Code Review
43f8d2e58c Merge change 8106 into donut
* changes:
  Add note to Intent.fillIn javadoc to describe component copying behavior.
2009-07-21 16:32:14 -07:00
Karl Rosaen
ec0a12cf19 Don't start search from a dialog if there is no activity associated with
the search manager at that point.

Still works:
- hitting search when a managed dialog of an app is showing will dismiss
  the dialog and start in-app search (if it supports it), falling back
  on global search
- hitting search when a dialog of an app (not managed by the activity) will
  dismiss the dialog and start global search
- hitting search when a system dialog is showing will just dismiss the dialog.
2009-07-21 16:21:32 -07:00
Brett Chabot
3e391759d9 Add note to Intent.fillIn javadoc to describe component copying behavior. 2009-07-21 16:09:08 -07:00
Chung-yih Wang
24988b3491 Cleanup the old keystore APIs. 2009-07-22 06:04:58 +08:00
Android (Google) Code Review
841ed8596a Merge change 8073 into donut
* changes:
  Reset the speech synth singleton to null when the service is destroyed so it can be recreated when the service is initialized. In the interface with the native synthesizer library, close the lib in the finalizer, delete the global ref to the SynthProxy java object.
2009-07-21 14:44:18 -07:00
Chung-yih Wang
22726cf817 Return error codes for storing the key/cert in addPkcs12Keystore() 2009-07-22 05:35:20 +08:00
Jean-Michel Trivi
cee3bd4d68 Reset the speech synth singleton to null when the service is destroyed
so it can be recreated when the service is initialized.
In the interface with the native synthesizer library, close the lib
in the finalizer, delete the global ref to the SynthProxy java object.
2009-07-21 14:22:25 -07:00
Android (Google) Code Review
8ece3445e8 Merge change 8061 into donut
* changes:
  Throw a connecting exception when timed out.
2009-07-21 14:16:55 -07:00
Hung-ying Tyan
bb22192421 Throw a connecting exception when timed out. 2009-07-22 04:37:39 +08:00
Jean-Baptiste Queru
db7db69a21 Merge snapshot variant of donut back into main tree 2009-07-21 11:55:23 -07:00
Android (Google) Code Review
2c25fac23e Merge change 8036 into donut
* changes:
  * Disable compatibility mode for all cases.
2009-07-21 11:37:27 -07:00
Mitsuru Oshima
69fff4a72d * Disable compatibility mode for all cases. 2009-07-21 11:35:18 -07:00
Jean-Baptiste Queru
cf4550c319 donut snapshot 2009-07-21 11:16:54 -07:00
Android (Google) Code Review
6fb608ee67 Merge change 7854 into donut
* changes:
  Issue #1884058 (Need to only record frequency and duration for selected Google apps)
2009-07-21 11:10:16 -07:00
Android (Google) Code Review
69a841a164 Merge change 8026 into donut
* changes:
  Make sure the speech synthesizer proxy is a singleton in the TTS service.
2009-07-21 10:20:48 -07:00