2585 Commits

Author SHA1 Message Date
Android (Google) Code Review
41944da6ef am 8b9baf2d: Merge change 7857 into donut
Merge commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368'

* commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368':
  Remove exception throw when a view has a self dependency inside a
2009-07-19 21:15:01 -07:00
Mitsuru Oshima
a065b01904 am 841f13c8: * Reverted the change in PackageParser that I checked by accident * More surface view fix. - correct event translation on surface view. - use compatible window * removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works,
Merge commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff'

* commit '841f13c8e9ff3f7695b6c18a8abcec3c947983ff':
  * Reverted the change in PackageParser that I checked by accident
2009-07-19 21:14:56 -07:00
Android (Google) Code Review
bec99bffee am 5c536e91: Merge change 7840 into donut
Merge commit '5c536e9162721c460699a041959a0d67de1d20db'

* commit '5c536e9162721c460699a041959a0d67de1d20db':
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 21:14:48 -07:00
Android (Google) Code Review
469b4c67ad am aad0fcc9: Merge change 7783 into donut
Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-19 20:28:49 -07:00
Android (Google) Code Review
8b9baf2dfb Merge change 7857 into donut
* changes:
  Remove exception throw when a view has a self dependency inside a RelativeLayout.
2009-07-19 19:50:33 -07:00
Romain Guy
da3003e1d7 Remove exception throw when a view has a self dependency inside a
RelativeLayout.

There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.
2009-07-19 19:49:47 -07:00
Mitsuru Oshima
841f13c8e9 * Reverted the change in PackageParser that I checked by accident
* More surface view fix.
  - correct event translation on surface view.
  - use compatible window
* removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary.
* Added compatibility related info to package dumpsys
2009-07-19 19:17:06 -07:00
Android (Google) Code Review
5c536e9162 Merge change 7840 into donut
* changes:
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 15:29:09 -07:00
Dianne Hackborn
2784ff0af8 Fix issue where scaled bitmap sizes could be wrong.
The Bitmap functions to get the scaled width/height couldn't actually
do the right thing because they didn't know the destination they would
be drawing to.  Now there are two forms of them, taking an explicit
parameter specifying the destination.
2009-07-18 17:13:29 -07:00
Android (Google) Code Review
aad0fcc961 Merge change 7783 into donut
* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-17 17:50:41 -07:00
Android (Google) Code Review
2dcfafcb31 Merge change 7453
* changes:
  Add zoom and postview callbacks to Camera. This patch adds a zoom callback to the Java layer. If the hardware supports a smooth zoom function, this provides a way to update the UI as the zoom is moving from its original setting to the new commanded setting. This postview callback supports receive a processed image before the JPEG encode completes. This allows the display to be rotated without losing the final preview frame.
2009-07-17 17:25:48 -07:00
Dave Sparks
e8b26e197f Add zoom and postview callbacks to Camera. This patch
adds a zoom callback to the Java layer. If the hardware supports
a smooth zoom function, this provides a way to update the UI as
the zoom is moving from its original setting to the new commanded
setting. This postview callback supports receive a processed
image before the JPEG encode completes. This allows the display
to be rotated without losing the final preview frame.
2009-07-17 17:24:07 -07:00
Android (Google) Code Review
ddd12804d1 am 261a784c: Merge change 7720 into donut
Merge commit '261a784c44d6ac4377651e4842c7a96326462857'

* commit '261a784c44d6ac4377651e4842c7a96326462857':
  Fix global ref leak in android.media.AudioRecord. Delete global refs
2009-07-17 17:13:28 -07:00
Android (Google) Code Review
568ebf06bc am cf492afd: Merge change 6809 into donut
Merge commit 'cf492afdeb3a1da04cc71518285eb778f2ef6837'

* commit 'cf492afdeb3a1da04cc71518285eb778f2ef6837':
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 17:13:24 -07:00
Android (Google) Code Review
97900afa9f am e96bd129: Merge change 7707 into donut
Merge commit 'e96bd1291482175ac1740780cbd0f42bbe9ff746'

* commit 'e96bd1291482175ac1740780cbd0f42bbe9ff746':
  * scale surface view's canvas
2009-07-17 17:13:20 -07:00
Dianne Hackborn
a53b828635 Add "nodpi" density, and expose a bunch of density-related APIs.
Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
2009-07-17 16:59:08 -07:00
Android (Google) Code Review
c634fdd803 am 09a903ab: Merge change 7696 into donut
Merge commit '09a903ab5b8d940605783ae4ee591c0f090a31d1'

* commit '09a903ab5b8d940605783ae4ee591c0f090a31d1':
  add hidden Options field for native allocations
2009-07-17 15:43:14 -07:00
Android (Google) Code Review
bc9b80750a Merge change 7651
* changes:
  Contacts Data type consistency.
2009-07-17 15:40:40 -07:00
Jaikumar Ganesh
12cae39747 Revert "Initial support of 2.1 pairing."
This reverts commit 228b2f3a813e93413a0f9e2f29dfbfc54590a356.
2009-07-17 14:45:22 -07:00
Android (Google) Code Review
261a784c44 Merge change 7720 into donut
* changes:
  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 14:39:52 -07:00
Android (Google) Code Review
cf492afdeb Merge change 6809 into donut
* changes:
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 14:27:23 -07:00
Android (Google) Code Review
7ff6b74cf2 Merge change 6736
* changes:
  Refactor VCard-related code.
2009-07-17 14:09:00 -07:00
Jaikumar Ganesh
228b2f3a81 Initial support of 2.1 pairing.
Note: Some cases have not been tested yet, as we would need to
get proper UI support.
2009-07-17 14:00:32 -07:00
Android (Google) Code Review
0fde7de9d6 am 54f09101: Merge change 7613 into donut
Merge commit '54f09101381fa63dca35ae4ea0ba3802ee863236'

* commit '54f09101381fa63dca35ae4ea0ba3802ee863236':
  * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode.
2009-07-17 13:58:40 -07:00
Android (Google) Code Review
1007bf2e50 am 0e230c57: Merge change 7688 into donut
Merge commit '0e230c574bdbf096994f6b658a19c19585907f11'

* commit '0e230c574bdbf096994f6b658a19c19585907f11':
  Copy cached drawables in search dialog.
2009-07-17 13:58:36 -07:00
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