Commit Graph

2415 Commits

Author SHA1 Message Date
Android (Google) Code Review
76b8c2cbb1 Merge change 20336
* changes:
  Mods to the ContactHeaderWidget to be able to have it display strings as passed in by the caller.  For example we may want to use this in the case when there is no contact in a given circumstance.
2009-08-07 14:52:34 -07:00
Mark Wagner
23d479588f Mods to the ContactHeaderWidget to be able to have it display strings
as passed in by the caller.  For example we may want to use this in
the case when there is no contact in a given circumstance.
2009-08-07 14:51:35 -07:00
Android (Google) Code Review
f23784176f Merge change 20454
* changes:
  Added lightweight exception logging to AsyncQueryHandler.
2009-08-07 13:47:00 -07:00
Jeff Sharkey
3b7c3c6b55 Added lightweight exception logging to AsyncQueryHandler.
Without this, it's really hard to debug exceptions coming
over from a ContentProvider.  This is lightweight logging
that is only triggered by an exception, and doesn't write a
full stacktrace.
2009-08-07 13:44:09 -07:00
Christian Sonntag
058779c9bb Add constant for storing market backup state in shared preferences. 2009-08-07 10:54:46 -07:00
Android (Google) Code Review
fcfd7bea4a Merge change 20357
* changes:
  Remove Voice Search constants, factored them out into the Voice Search app.
2009-08-07 09:54:02 -07:00
Android (Google) Code Review
5d1e4c4db0 Merge change 20381
* changes:
  Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.
2009-08-07 09:47:35 -07:00
Android (Google) Code Review
38028f2e28 Merge change 20383
* changes:
  As createCacheFile is called from WebCore instead of http thread now, remove the endCacheTransaction/startTransaction pairs.
2009-08-07 09:46:28 -07:00
Jeff Sharkey
bce3ab90c7 am b8560b66: Fix AppWidget layout inflation to resolve references.
Merge commit 'b8560b66fd2bdf465a8c7fad983f2236778e8106'

* commit 'b8560b66fd2bdf465a8c7fad983f2236778e8106':
  Fix AppWidget layout inflation to resolve references.
2009-08-06 21:56:53 -07:00
Jeff Sharkey
b8560b66fd Fix AppWidget layout inflation to resolve references.
When RemoteViews inflates a layout and set of actions, it
uses a cloned remote Context so it can fully access the
resources needed to complete the inflate.  However, in one
specific case when inflating the root view, LayoutInflater
calls back to the soon-to-be parent view to request the
correct set of LayoutParams through generateLayoutParams().

The default implementation of generateLayoutParams() uses
the Context of the /local/ View instead of the remote
Context being used for the inflation, which means that any
LayoutParam references in the root view are unresolved.

To fix this, we internally create our own copy of the target
remote Context.  This way, when the remote LayoutInflater
calls generateLayoutParams(), we inflate it using the remote
Context to correctly resolve any references.

This change is required as part of http://b/2038594
2009-08-06 21:53:56 -07:00
Dmitri Plotnikov
d4e0b5713a Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.
Also, giving Presence.RAW_CONTACT_ID and Presence.DATA_ID unique ids to allow easy joining.  The main rationale for this is that SQLite does not allow cross-database joins in VIEWs, so we cannot hide this join inside a VIEW.
2009-08-06 20:19:29 -07:00
Grace Kloba
bf951c5afd As createCacheFile is called from WebCore instead of http thread now, remove
the endCacheTransaction/startTransaction pairs.
2009-08-06 18:44:02 -07:00
Dmitri Plotnikov
8dcd14021c Introducing default email and phone number to replace the primary ones on the Contact. 2009-08-06 18:02:30 -07:00
Alex Gruenstein
50dac8c673 Remove Voice Search constants, factored them out into the Voice Search app. 2009-08-06 16:51:51 -07:00
Karl Rosaen
332aaaf92f am a7a3b6ef: Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Merge commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077'

* commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077':
  Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
2009-08-06 16:40:13 -07:00
Karl Rosaen
a7a3b6ef0f Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Fixes bug 2039508.  This makes backing out of the search dialog easier when dismissing the soft keyboard doesn't really
add any value.
2009-08-06 16:23:19 -07:00
Fred Quintana
8851e163fc - add several common kinds and beef up some others
- change the ContentProviderOperation selection backref store the backref as a long instead of as a string
2009-08-06 15:59:28 -07:00
Mike LeBeau
597543c5e7 am e303d2cf: Send a special respond to the cursor in SuggestionsAdapter to tell it to close itself directly because it may not happen correctly for some cursors currently. This fixes http://b/2036290, which is being caused by http://b/2015069 which we are not fixing f
Merge commit 'e303d2cf94da6bb7f0569fbddd6dfd5b85ed8295'

* commit 'e303d2cf94da6bb7f0569fbddd6dfd5b85ed8295':
  Send a special respond to the cursor in SuggestionsAdapter to tell it to
2009-08-06 14:55:29 -07:00
Mike LeBeau
e303d2cf94 Send a special respond to the cursor in SuggestionsAdapter to tell it to
close itself directly because it may not happen correctly for some cursors
currently. This fixes http://b/2036290, which is being caused by
http://b/2015069 which we are not fixing for Donut, so this is a hack around
that for the time being.
2009-08-06 14:52:15 -07:00
Android (Google) Code Review
b2cf27a178 Merge change 20326
* changes:
  Fix build.
2009-08-06 14:08:37 -07:00
Dianne Hackborn
73cf55d963 Fix build. 2009-08-06 14:07:39 -07:00
Android (Google) Code Review
d44364fe57 Merge change 20306
* changes:
  Fix crash when MotionEvent is initialized with more than 2 fingers, and bump its initial size to allow for up to 5 fingers.
2009-08-06 13:50:41 -07:00
Jeff Sharkey
6bfe14dea2 Add SHOW_OR_CREATE size modes, trigger from contact header.
Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE.  Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
2009-08-06 13:07:20 -07:00
Grace Kloba
e397a88e4f Couple of tuning for the Browser zoom.
1. Added a setting to control whether a page is loaded with overview mode;
2. If there is no viewport metag tag, a page will be loaded in the viewport
   at least 800px wide.
3. When we adjust zoom scale in the overview mode, don't use animation.
4. When zoom out to close to min zoom scale, switch to overview mode. So double
   tap will always have visual feedback unless it is mobile site.
2009-08-06 13:06:10 -07:00
Android (Google) Code Review
b65aca2463 Merge change 20284
* changes:
  Use multi-pointer support to improve 2-thumb typing. No more missed keys!
2009-08-06 12:59:41 -07:00
Dianne Hackborn
1e8dfc73fb Fix crash when MotionEvent is initialized with more than 2 fingers, and bump
its initial size to allow for up to 5 fingers.
2009-08-06 12:43:01 -07:00
Amith Yamasani
e877ec632c Use multi-pointer support to improve 2-thumb typing. No more missed keys!
Also reduce garbage when switching between keyboards.
2009-08-06 11:32:06 -07:00
Derek Sollenberger
1bd20523ef adding ability to fix the size of a surface view when created. 2009-08-06 11:41:36 -04:00
Andrei Popescu
bf70afa212 Do not merge
Fix for 1900694: create the full path to the Gears permission database file so SQLite can actually create the database on the device
2009-08-06 14:46:59 +01:00
Android (Google) Code Review
9488437b4f Merge change 20240
* changes:
  First bit of wallpaper work.
2009-08-05 21:39:14 -07:00
Dianne Hackborn
8cc6a5026a First bit of wallpaper work.
This is mostly refactoring, adding a new WallpaperManager class that takes care
of the old wallpaper APIs on Context, so we don't need to pollute Context with
various new wallpaper APIs as they are needed.  Also adds the first little
definition of a wallpaper service, which is not yet used or useful.
2009-08-05 21:29:42 -07:00
Dianne Hackborn
d41ba666d1 Fix documentation. 2009-08-05 15:30:56 -07:00
Android (Google) Code Review
d657b72aeb Merge change 20126
* changes:
  Removing SyncColumns from Contact - they were put there by accident.
2009-08-05 14:22:41 -07:00
Android (Google) Code Review
46e1198c9e Merge change 20146
* changes:
  Calendar attendee support: add columns.
2009-08-05 14:22:05 -07:00
Ken Shirriff
79f0c56b63 Calendar attendee support: add columns.
Add HAS_ATTENDEE_DATA and OWNER_ACCOUNT column names to the provider classes.
2009-08-05 13:29:42 -07:00
Android (Google) Code Review
b1d39aae13 Merge change 9649
* changes:
  Finish implementation of multiple pointer support for MotionEvent.
2009-08-05 12:36:11 -07:00
Dmitri Plotnikov
c9ec66b68b Removing SyncColumns from Contact - they were put there by accident. 2009-08-05 12:11:22 -07:00
Android (Google) Code Review
9d1a3149f3 am d4543c51: Merge change 20108 into donut
Merge commit 'd4543c519b7724841eb77bb57ff360e6c40cd69a'

* commit 'd4543c519b7724841eb77bb57ff360e6c40cd69a':
  Guard against remote process dying when retrieving column from cursor.
2009-08-05 10:43:47 -07:00
Karl Rosaen
cbd7fa57ee am 69423302: Remove the menu from the search dialog since there are a couple of issues with it we don\'t have time to fix for donut.
Merge commit '6942330251cd778f85169c6265c584648b42428d'

* commit '6942330251cd778f85169c6265c584648b42428d':
  Remove the menu from the search dialog since there are a couple of issues with it we don't have time to fix for donut.
2009-08-05 10:41:25 -07:00
Android (Google) Code Review
d4543c519b Merge change 20108 into donut
* changes:
  Guard against remote process dying when retrieving column from cursor.
2009-08-05 10:41:09 -07:00
Karl Rosaen
a02d0d6020 Guard against remote process dying when retrieving column from cursor.
Fixes bug 2035791.
2009-08-05 10:35:00 -07:00
Karl Rosaen
6942330251 Remove the menu from the search dialog since there are a couple of issues with it we don't have time to fix for donut.
Fixes bugs 2034242 and 2034216 (the issues with the menu showing up above the ime, and triggering the ime to reshow
when closed).
2009-08-05 10:34:53 -07:00
Grace Kloba
fd055b2d7c Add the support for the new SystemInterface of android_npapi, expose
getApplicationDataDirectory to the plugin.
2009-08-05 10:04:46 -07:00
Patrick Scott
2ba1262b42 Add a callback for the url of an apple-touch-icon.
Hide the apis until this is a well-tested feature. The url is reported rather
than the actual icon since it may never be used. The apple-touch-icon is meant
for shortcuts on the home screen.
2009-08-05 08:29:40 -04:00
Tadashi G. Takaoka
0f0767d4da am 94e114c9: Moved Market related Checkin Stats enum to Events enum and merged
Merge commit '94e114c951008c831d1a31a2e6773fb40e4e9392'

* commit '94e114c951008c831d1a31a2e6773fb40e4e9392':
  Moved Market related Checkin Stats enum to Events enum and merged
2009-08-04 22:20:23 -07:00
Dianne Hackborn
0dd7cb4b4e Finish implementation of multiple pointer support for MotionEvent.
The major things going on here:

- The MotionEvent API is now extended to included "pointer ID" information, for
  applications to keep track of individual fingers as they move up and down.
  PointerLocation has been updated to take advantage of this.

- The input system now has logic to generate MotionEvents with the new ID
  information, synthesizing an identifier as new points are down and trying to
  keep pointer ids consistent across events by looking at the distance between
  the last and next set of pointers.

- We now support the new multitouch driver protocol, and will use that instead
  of the old one if it is available.  We do NOT use any finger id information
  coming from the driver, but always synthesize pointer ids in user space.
  (This is simply because we don't yet have a driver reporting this information
  from which to base an implementation on.)

- Increase maximum number of fingers to 10.  This code has only been used
  with a driver that reports up to 2, so no idea how more will actually work.

- Oh and the input system can now detect and report physical DPAD devices.
2009-08-04 20:53:52 -07:00
Tadashi G. Takaoka
94e114c951 Moved Market related Checkin Stats enum to Events enum and merged
Internal Bug: bug1844952
2009-08-04 18:46:29 -07:00
Android (Google) Code Review
c2a72ec579 Merge change 9597
* changes:
  ListView.setItemChecked(p, false) always clears all items.
2009-08-04 17:05:56 -07:00
Android (Google) Code Review
61ff32f02c Merge change 20013
* changes:
  Update the comment for setBackgroundResource that 0 removes the background.
2009-08-04 15:48:09 -07:00
Wink Saville
7cd88e1713 Update the comment for setBackgroundResource that 0 removes the background. 2009-08-04 14:45:10 -07:00