529 Commits

Author SHA1 Message Date
Evan Millar
c1a2a8296e Change FasttrackBadgeWidget->QuickContactBadge and make public.
Change-Id: I9d12beeba16c2f64742b4a99d0da4ceb73525b5b
2009-09-30 08:33:31 -07:00
Ray Chen
3ba351267a update current.xml for cancelThumbnailRequest api. 2009-09-30 00:06:37 -07:00
Mike Cleron
290947bbf8 Git sucks 2009-09-29 21:53:56 -07:00
Mike LeBeau
2e4dbe70e7 Unhide APIs for enabling geolocation in web views. I've confirmed
with Grace that these are okay to unhide.
2009-09-29 19:40:28 -07:00
Xavier Ducrohet
dd49055a9d am ac18e4f2: Update 4.xml with the native status change of breakText/measureText
Merge commit 'ac18e4f238650aa4bf8b6c7540d928b0249cfd99' into eclair

* commit 'ac18e4f238650aa4bf8b6c7540d928b0249cfd99':
  Update 4.xml with the native status change of breakText/measureText
2009-09-29 18:15:46 -07:00
Xavier Ducrohet
ac18e4f238 Update 4.xml with the native status change of breakText/measureText 2009-09-29 17:56:39 -07:00
Dianne Hackborn
e67f0c9712 Hack to fix issue #2125365: Sports Trivia compatability with Eclair (do not merge)
Adds a mechanism to tell Paint the scaling factor its target
canvas will have, for it to compute font metrics based on the
correct font size.  Only TextView uses this, but that is enough
for the large majority of apps.

This is integrated from the Eclair branch.
2009-09-29 17:49:22 -07:00
Wu-cheng Li
77153ee04e Hide zoom api. 2009-09-29 16:16:33 -07:00
Dianne Hackborn
c20a9608f3 Whoops, these shouldn't be public.
Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4
2009-09-29 11:38:01 -07:00
Dianne Hackborn
fff0b4a6c2 Fix build.
Change-Id: Ibbe15483013b82bd5bb9ec648bb4537682994b5a
2009-09-29 11:19:03 -07:00
Dianne Hackborn
b6eaaa2ab2 Clean up cacheColorHint to be better controlled by the theme.
Fixes generic lists in dialog themes, for example.

Change-Id: I0ea1cae1641d8ab3756179ce80245ed0df942115
2009-09-29 11:02:39 -07:00
Evan Millar
db1f499398 Add PhoneNumberUtils.compare() method that uses a resource to determine strictness.
Change-Id: I49fbfc683f7089f052671b567ad3e19203a568f0
2009-09-29 08:38:07 -07:00
Bjorn Bringert
86917dbb95 Unhide SearchManager.SUGGEST_PARAMETER_LIMIT
Both GlobalSearch and the search dialog now pass
SearchManager.SUGGEST_PARAMETER_LIMIT as a query parameter to all
suggestion sources. Exposing this allows suggestion sources
to return only the number of results that the client requires.

Fixes http://b/issue?id=2150992

Change-Id: I17f45d35e8f302b11812f4bb6fee40b31dc15707
2009-09-29 08:14:35 +01:00
Mike Cleron
52f0a64952 Finish off java API to allow fading scrollbars 2009-09-28 18:31:09 -07:00
Jeff Sharkey
ff18bbf835 Separate API for vCards through openAssetFileDescriptor().
Previously we overloaded Contacts.CONTENT_URI to return
vCard-formatted Contacts entries.  To fix http://b/2138790
this is a separate API that returns a well-known MIME-type.

Also helps fix http://b/2078399 by adding OFFICE_LOCATION.
2009-09-28 17:44:53 -07:00
Mike Cleron
fe81d386a8 Remove obsolete links; start at a method to turn on fading scrollbars 2009-09-28 14:34:14 -07:00
Nick Pelly
aef439e6f8 Move android.bluetooth.ParcelUuid to android.os.ParcelUuid
Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
2009-09-28 13:06:22 -07:00
Mike Cleron
3ecd58c650 Fix build 2009-09-28 11:44:36 -07:00
Nick Pelly
1acdcc1a50 Add an API to request a system activity to turn on Bluetooth.
Change-Id: I2fca33ad27017ea4e2ecba37854b749682d07672
2009-09-28 11:04:00 -07:00
Dmitri Plotnikov
879664e3e2 Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.
Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
2009-09-27 19:47:48 -07:00
Wu-cheng Li
068ef42c3f Add documentation about flash and change video-light to torch. 2009-09-27 17:29:44 -07:00
Dianne Hackborn
039c68e756 The touch screen is probably a feature.
Also extend the feature APIs a bit.

Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
2009-09-26 16:39:23 -07:00
Jesse Wilson
2d6c325e78 API XML changes to accompany dalvik.system deprecation.
See https://android-git.corp.google.com/g/26570
2009-09-26 09:09:10 -07:00
Fred Quintana
6ecaff1583 add a optional String to the key of notifications to allow users
to scope them
2009-09-25 16:01:22 -07:00
John Wang
fb2b04b7bc Unhide NETWORK_TYPE_XXX.
Make NETWORK_TYPE_HSDPA etc. unhide in TelephonyManager.
2009-09-25 14:50:26 -07:00
johnwang
9c118c80fd Update CID in NeighboringCellInfo
NeighboringCellInfo works in GSM and UMTS network.

In GSM network, the locaiton value is the combination of LAC and CID.

In UMTS network, the locaiton value is PSC code.

NeighboringCellInfo should access and store those two values seperately.

It involves the change of Public API.

1. Add new API getRadioType(), getLac(), and getPsc() to get location info in GSM and UMTS.

2. Deprecate setCid() and NeighboringCellInfo(int cid) because cid is set by interpreting network type.
2009-09-25 12:17:46 -07:00
Dianne Hackborn
3b3e145d3c A variety of work on animations.
- The lock screen now fades in and out.
- Fixed a bug where we would accidentally freeze the screen when switching
  to an activity with a different orientation than the current (but
  the screen itself is in the current orientation).  This would mess up
  the animations on the car dock.
- New API to force a particular animation for an activity transition
  (untested).
- New wallpaper animations.
- Resources now uses the next API version when in a development build,
  to help applications being developed against such builds.

Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
2009-09-25 00:48:02 -07:00
Nick Pelly
18b1e79a12 Bluetooth API: Do not allow apps to programmatically make BT discoverable.
Instead add ACTION_REQUEST_DISCOVERABLE for the system to show a dialog to
adjust discoverable mode.

Also remove createBond(), removeBond() and cancelBondProcess(). The Settings
App already handles these automatically when connections require bonding.

Change-Id: I216154cd1b6de410de64ba91b07d7263ac03e8df
2009-09-24 19:34:54 -07:00
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07:00
Jack Palevich
82cbaab450 Publish minor additions to GLSurfaceView API.
Clients can now modify the way that the EGL context and the EGL window
surface are created and destroyed.
2009-09-24 11:55:04 -07:00
Amith Yamasani
c15255a979 Add a PRIVACY_SETTINGS action to launch the new Privacy settings screen. 2009-09-24 10:24:04 -07:00
Jeff Hamilton
f852698cc3 Make the new ContactsContract APIs public.
Also, squelch warnings that were caused by the
deprecation of the old Contacts APIs.

Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
2009-09-24 11:36:03 -05:00
Jeff Hamilton
7d2795c80c Really fix the build.
Change-Id: I4e45d00b5caede0acf6b9c2e491aee337b05e7a1
2009-09-24 01:20:25 -05:00
Dianne Hackborn
ffa424800d Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
Lot of infrastructure for more things to go away when "clear system dialogs"
happens, and now do this when we turn on the lock screen.

Change-Id: I567130296fe47ce82df065ed58ef21b37416ceaf
2009-09-23 23:17:07 -07:00
Tammo Spalink
3cc97f8dbc Add Phone.getPhoneType() operation.
This routine returns integer values defined in the Phone interface,
derived from RILConstants values.  Direct references to the
RILConstants are replaced by references to these new ones for
consistency.

API CHANGE:
  unhide TelephonyManager.PHONE_TYPE_CDMA

Addresses issue:
http://buganizer/issue?id=1905415

Change-Id: Icfec6d457231b098c031677a66770b5e57be4a44
2009-09-24 13:19:08 +08:00
Jeff Hamilton
85abdc59c3 Make the new ContactsContract public.
It replaces the now deprecated Contacts APIs.

Change-Id: Id65ff35d78cb79740cdc4c94388cc965ce4f2f2d
2009-09-23 22:41:59 -05:00
Dianne Hackborn
5baba16989 Newer animations.
Change-Id: I1bb8e52f91dc60a6ec9496e2c66623bc8080b95d
2009-09-23 17:03:41 -07:00
Ray Chen
00c575a3fc Add new thumbnail API. 2009-09-23 11:23:45 -07:00
Jesse Wilson
ecaf00e88f DO NOT MERGE: Copy 4.xml to 5.xml to allow Eclair to diverge from Donut. 2009-09-22 23:27:57 -07:00
Daniel Sandler
465ccb8a40 Add support for thumbnails to WallpaperInfo.
Clean up the Gallery to show thumbnails appropriately; still using FPO artwork
for wallpapers without thumbnails.

This change introduces a new "thumbnail" attribute to the API (used
in wallpaper metadata to point to the thumbnail drawable resource).
2009-09-22 20:56:10 -04:00
Dianne Hackborn
9bfb707597 Various fixes and improvements to window, activity.
- New meta-data you can add to a dock activity to have it launched by the
  home key when the device is in that dock.

- Fix a deadlock involving ActivityThread's internal content provider lock.

- New window flag to have a non-secure keyguard entirely dismissed when a
  window is displayed.

- New WindowManagerPolicy APIs to allow the policy to tell the system when
  a change it makes during layout may cause the wall paper or
  overall configuration to change.

- Fix a bug where an application token removed while one of its windows is
  animating could cause the animating window to get stuck on screen.

Change-Id: I6d33fd39edd796bb9bdfd9dd7e077b84ca62ea08
2009-09-22 13:39:34 -07:00
Jeff Sharkey
9cea89c103 Basic API for third-party apps to define custom Data rows.
This change adds the attributes to current.xml
2009-09-21 21:39:19 -07:00
Dianne Hackborn
bfe319e06a Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.

Fix Theme.NoDisplay to actually work.

Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.

Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).

Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
2009-09-21 17:26:41 -07:00
Wu-cheng Li
36322db575 Add focus API and FLASH_MODE_VIDEO_LIGHT. 2009-09-22 06:28:09 +08:00
Wu-cheng Li
ffe1cf251a Unhide Camera lock and unlock API. 2009-09-21 07:28:44 +08:00
Chih-Chung Chang
eb68c46a40 Fix 2092386: Support yuyv for camera preview format.
Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
2009-09-21 04:38:19 +08:00
Dianne Hackborn
edd9316ca9 Add better APIs for the battery status, and other cleanup.
Also add new configs for keeping screen on while docked, which will
be used elsewhere.

Change-Id: Ifaa1118f14fd850ac809895f9a5c9e8c413259b8
2009-09-19 14:03:05 -07:00
Dianne Hackborn
efa199f016 Add API to send an ordered sticky broadcast.
Change-Id: Ida7081204e226db0cd07ff618c08e308a909ec0c
2009-09-19 12:05:25 -07:00
Mike LeBeau
5825b64e4a Unhide attributes textAppearanceSearchResultSubtitle and
attr/textAppearanceSearchResultTitle. We had discussed doing
this in Donut but looks like it never happened. We need these
attributes for voice search so now's as good a time as any.
2009-09-19 01:19:52 -07:00
Chih-Chung Chang
872a30ec72 Improve ExifInterface API.
Change-Id: Ic6c4df8244b51b9a0d1c73c3797847220d86604d
2009-09-18 11:30:47 -07:00