2710 Commits

Author SHA1 Message Date
Android (Google) Code Review
9ae8b09756 am f32f746b: Merge change 7645 into donut
Merge commit 'f32f746b83826303350417ff9937a6f9e5488f24'

* commit 'f32f746b83826303350417ff9937a6f9e5488f24':
  Make the SearchDialog's AutoCompleteTextView dropdown respect the
2009-07-17 13:58:11 -07:00
Marco Nelissen
0bca96bcbf Make Process.getFreeMemory() return a long instead of an int, to better
work on the simulator now, and phones 2 years from now.
2009-07-17 12:59:25 -07:00
Jean-Michel Trivi
4bac5a3928 Fix global ref leak in android.media.AudioRecord. Delete global refs
to the native AudioRecord pointer and the callback cookie (for native
to Java calls) in the finalize() function and when an error occurs
during the allocation of the native resources.
2009-07-17 12:05:31 -07:00
Android (Google) Code Review
e96bd12914 Merge change 7707 into donut
* changes:
  * scale surface view's canvas   This will not affect GL/Video views as they're directly using surfce but not canvas.
2009-07-17 11:50:51 -07:00
Android (Google) Code Review
09a903ab5b Merge change 7696 into donut
* changes:
  add hidden Options field for native allocations
2009-07-17 11:04:06 -07:00
Dmitri Plotnikov
761ef2a281 Contacts Data type consistency. 2009-07-17 10:53:23 -07:00
Mitsuru Oshima
34bf2ee9e6 * scale surface view's canvas
This will not affect GL/Video views as they're directly using surfce but not canvas.
2009-07-17 10:11:05 -07:00
Android (Google) Code Review
54f0910138 Merge change 7613 into donut
* changes:
   * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode.  * preserve compatibility window flag when the app updates window's layout params.  * Added assertion in DEFAULT_COMPATIBILITY_INFO object to prevent unintentional modification.  * A few minor updates     * log/dump message improvement     * Removed unnecessary method in FadeInOutAnimator     * Fixed 100 char issue in WindwoManagerServer.java
2009-07-17 09:54:53 -07:00
Mitsuru Oshima
5a2b91dc14 * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode.
* preserve compatibility window flag when the app updates window's layout params.
 * Added assertion in DEFAULT_COMPATIBILITY_INFO object to prevent unintentional modification.
 * A few minor updates
    * log/dump message improvement
    * Removed unnecessary method in FadeInOutAnimator
    * Fixed 100 char issue in WindwoManagerServer.java
2009-07-17 09:53:40 -07:00
Charles Chen
bd3e0ce5a2 resolved conflicts for merge of 3e522c45 to master 2009-07-17 09:44:53 -07:00
Bjorn Bringert
dfefa3e915 Copy cached drawables in search dialog.
Before, Drawables for cached icons were reused. This is not good,
since they can then share mutable state information. This change
copies all Drawables when getting them from the cache, storing
only the constant state in the cache.

Hopefully fixes http://b/issue?id=1984813
2009-07-17 17:22:44 +01:00
Mike Reed
1b22b97925 add hidden Options field for native allocations 2009-07-17 11:21:47 -04:00
Daisuke Miyakawa
7674b81a05 Refactor VCard-related code.
Move VCard code from android/syncml/pim to android/pim since the code is not
related to SyncML at all; Previous code was misplaced, I suppose.

Reorganize "Builder" structure:
Create VCardBuilderBase.java as a base class for "Builder" classes.

Separate VCardDataBuilder to several components.
Now, VCardBuilder is able to accept EntryHandlers (interface) which handle each VCard entry.
Add EntriCommitter and ProgressShower as ones of EntryHandler implementations.

Stop using VNode/PropertyNode in the actual importing path. Instead, VCard importer directly
creates ContactStruct object.

PropertyNode is still used in test codes, since it does not drop any kind of information
while ContactStruct does.

All codes are made hidden (with package.html) like the files in syncml directory;
These files are only for Contacts app.

Issue
- due to internal issue 1975498, any performance test cannot be conducted.

Next todos
- Add tests for ContactStruct.
- remove android/syncml directory.
- Rename several methods; old names are based on V??? structure, which does not make sense in the current code.
- Use ContentProviderOperation instead of relying on beginTransaction()/endTransaction().
- Use ContactsContact in Eclair

Related internal issues
- 1784580, 1728351
2009-07-17 07:50:00 -07:00
Android (Google) Code Review
dbee03136f am 733cbb00: Merge change 7492 into donut
Merge commit '733cbb0009d3e16eac2383a694833bdbc0c7269e'

* commit '733cbb0009d3e16eac2383a694833bdbc0c7269e':
  Delete leaked global ref in AudioTrack constructor.
2009-07-17 02:09:14 -07:00
Android (Google) Code Review
5c28964650 Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base 2009-07-16 23:47:19 -07:00
Android (Google) Code Review
fe5d9f5252 am a0eb87db: Merge change 7619 into donut
Merge commit 'a0eb87db12aed10bf578e06a35cf89d1779d7cf6'

* commit 'a0eb87db12aed10bf578e06a35cf89d1779d7cf6':
  Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
2009-07-16 23:47:06 -07:00
Jaikumar Ganesh
7f74d534f3 Reconnect to A2DP device only if it supports that profile, fix HF AG UUID. 2009-07-16 23:42:42 -07:00
Android (Google) Code Review
f32f746b83 Merge change 7645 into donut
* changes:
  Make the SearchDialog's AutoCompleteTextView dropdown respect the IME again when the user presses right or left from a query-jammed suggestion to continue editing. Previously we required the user to press on the text field again in order to get the IME to show.
2009-07-16 19:54:19 -07:00
Android (Google) Code Review
3e522c45b2 Merge change 7498 into donut
* changes:
  Adding public intents for TTS to enable checking for TTS data, installing TTS data, and finding out when the TTS queue has finished processing.
2009-07-16 19:54:02 -07:00
Mike LeBeau
ffe3ecf2b1 Make the SearchDialog's AutoCompleteTextView dropdown respect the
IME again when the user presses right or left from a query-jammed
suggestion to continue editing. Previously we required the user
to press on the text field again in order to get the IME to show.

We accomplish this by factoring out the code to 'ensureImeVisible'
into a separate method and calling that from SearchDialog.

Fixes http://b/1976338
2009-07-16 19:51:48 -07:00
Android (Google) Code Review
733cbb0009 Merge change 7492 into donut
* changes:
  Delete leaked global ref in AudioTrack constructor.
2009-07-16 18:34:15 -07:00
Charles Chen
49a60157d1 Adding public intents for TTS to enable checking for TTS data,
installing TTS data, and finding out when the TTS queue has
finished processing.
2009-07-16 18:32:07 -07:00
Android (Google) Code Review
b2536b0b5c am 9ce081aa: Merge change 7551 into donut
Merge commit '9ce081aa2493dc163a42decfd4e1756b5c55a834'

* commit '9ce081aa2493dc163a42decfd4e1756b5c55a834':
  Add ability to delay messages in Filter based on constraint.  Use this to delay 500ms for delete keys in the search dialog.
2009-07-16 17:54:35 -07:00
Android (Google) Code Review
019de98b84 am eb09c6a0: Merge change 7568 into donut
Merge commit 'eb09c6a07abf58b4da2c4baf3800a1f96e3b0731'

* commit 'eb09c6a07abf58b4da2c4baf3800a1f96e3b0731':
  Issue #1969025: need api for launching intent as if it were coming from another component
2009-07-16 17:54:31 -07:00
Android (Google) Code Review
fff0fd748c am 2493097c: Merge change 7566 into donut
Merge commit '2493097cb077b772af779bf14251e3ac0fff95f8'

* commit '2493097cb077b772af779bf14251e3ac0fff95f8':
  Fix the style of preferences headers in the light theme.
2009-07-16 17:54:07 -07:00
Android (Google) Code Review
53245df9c1 am 8e3c3f64: Merge change 7514 into donut
Merge commit '8e3c3f6461b53dc587ba92b3fe8cfbeb985f8514'

* commit '8e3c3f6461b53dc587ba92b3fe8cfbeb985f8514':
  Only parse search suggestions that look like HTML
2009-07-16 17:53:57 -07:00
Android (Google) Code Review
991e986bed am 5380aa29: Merge change 7512 into donut
Merge commit '5380aa29470274de5b3e445d577ef0834cfacb71'

* commit '5380aa29470274de5b3e445d577ef0834cfacb71':
  Get rid of drawing hacks for search dialog suggestions
2009-07-16 17:53:53 -07:00
Bjorn Bringert
8145c35fdb am ee716fa2: Make sure SearchDialog.mSearchable != null in key handlers
Merge commit 'ee716fa2b03666622a73f8cc54dae4afd091353d'

* commit 'ee716fa2b03666622a73f8cc54dae4afd091353d':
  Make sure SearchDialog.mSearchable != null in key handlers
2009-07-16 17:53:48 -07:00
Android (Google) Code Review
cad18157e7 am c93af6dc: Merge change 7441 into donut
Merge commit 'c93af6dc5bc78f02d4ee549890da12dc669fc2fe'

* commit 'c93af6dc5bc78f02d4ee549890da12dc669fc2fe':
  Allow system colors in <font> tags
2009-07-16 17:53:44 -07:00
Android (Google) Code Review
a0eb87db12 Merge change 7619 into donut
* changes:
  Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus search.
2009-07-16 17:06:47 -07:00
Romain Guy
6bdbfcfa77 Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
search.

This change makes sure the focus search does not attempt to traverse views from
the recycler.
2009-07-16 17:05:36 -07:00
Jean-Michel Trivi
8a1496855c Delete leaked global ref in AudioTrack constructor. 2009-07-16 15:59:44 -07:00
Android (Google) Code Review
a4170099b1 Merge change 7587
* changes:
  Fixes merge conflict.
2009-07-16 15:17:55 -07:00
Jean-Baptiste Queru
6a294263f7 Merge commit 'goog/readonly-korg-master' into merge_korg_master
* commit 'goog/readonly-korg-master':
  Fixed Android issue #400, where the Intent documentation was inaccurate in a number of places, undoubtedly causing untold grief to innumerable masses.
  Bug Fixed for libagl.
2009-07-16 14:54:11 -07:00
Romain Guy
e9dcb803a0 Fixes merge conflict. 2009-07-16 14:46:55 -07:00
Android (Google) Code Review
9ce081aa24 Merge change 7551 into donut
* changes:
  Add ability to delay messages in Filter based on constraint.  Use this to delay 500ms for delete keys in the search dialog.
2009-07-16 14:41:10 -07:00
Android (Google) Code Review
eb09c6a07a Merge change 7568 into donut
* changes:
  Issue #1969025: need api for launching intent as if it were coming from another component
2009-07-16 14:31:52 -07:00
Karl Rosaen
8bf92e003d Add ability to delay messages in Filter based on constraint. Use this to delay 500ms for delete keys in the search dialog.
Holding down delete is nice and zippy in the browser now :)
2009-07-16 14:14:08 -07:00
Dianne Hackborn
2d91af0608 Issue #1969025: need api for launching intent as if it were coming from another component
And now there is.
2009-07-16 13:34:33 -07:00
Android (Google) Code Review
2493097cb0 Merge change 7566 into donut
* changes:
  Fix the style of preferences headers in the light theme.
2009-07-16 13:17:31 -07:00
Romain Guy
c444805f9b Fix the style of preferences headers in the light theme. 2009-07-16 13:16:46 -07:00
Android (Google) Code Review
46ba4bf25e Merge change 7534
* changes:
  Show the password in browser password fields.
2009-07-16 12:33:32 -07:00
Leon Scroggins
0857767516 Show the password in browser password fields.
Fix for http://b/issue?id=1979719 : cannot see password in browser
textfield.  Show the system's password transformation in a password
field, which can be set to show the text partially or completely,
rather than webkit's version, which never shows the text.
2009-07-16 15:03:27 -04:00
Fred Quintana
ffc34c13fb finish the group membership support 2009-07-16 11:18:03 -07:00
Android (Google) Code Review
384d63cd9c am 8a733e8f: Merge change 7473 into donut
Merge commit '8a733e8fa2b2e6c1404ca536da645e897405eb5f'

* commit '8a733e8fa2b2e6c1404ca536da645e897405eb5f':
  Fixes #1844366. Prevents window leak in Spinner.
2009-07-16 09:54:48 -07:00
Android (Google) Code Review
8e3c3f6461 Merge change 7514 into donut
* changes:
  Only parse search suggestions that look like HTML
2009-07-16 06:32:52 -07:00
Bjorn Bringert
84ee74335f Only parse search suggestions that look like HTML
HTML parsing of search suggestions is still a major
CPU hog in the search dialog. This change first
checks if the text contains any HTML markup
(by looking for < and &) before bothering to
treat it as HTML.
2009-07-16 14:31:00 +01:00
Android (Google) Code Review
5380aa2947 Merge change 7512 into donut
* changes:
  Get rid of drawing hacks for search dialog suggestions
2009-07-16 06:08:59 -07:00
Bjorn Bringert
391eaa3ba8 Get rid of drawing hacks for search dialog suggestions
Before, SuggestionsAdapter parsed every HTML formatted
string three times, to support state-dependent colors
in <font> tags. Now that there is support in Html
for color resources (added in
https://android-git.corp.google.com/g/7441),
we can get rid of this code.

Also, SuggestionsAdapter had a special purpose view
for drawing background colors when suggestion items
were not selected or pressed. This change replaces that
code with a StateListDrawable of ColorDrawables.

Before this change, HTML parsing used ~17% (uncontrolled benchmark,
just did some random searching) of the system_process CPU.
This change should reduce that by 2/3, i.e. about ~11% total
system_process reduction.
2009-07-16 13:57:20 +01:00
Patrick Scott
4c3ca701fe Check for a null url before trying to load it.
There are some bad things that happen if WebCore gets a blank url.
2009-07-16 08:37:27 -04:00