8349 Commits

Author SHA1 Message Date
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
Android (Google) Code Review
e9bd4788d4 Merge change 26881 into eclair
* changes:
  Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
2009-09-25 03:37:03 -04:00
Android (Google) Code Review
3f790d8783 Merge change 27011 into eclair
* changes:
  Added the checking for the wma in the memory test.
2009-09-25 03:31:28 -04:00
Yu Shan Emily Lau
a56e653130 Added the checking for the wma in the memory test. 2009-09-25 00:07:47 -07:00
Eric Laurent
af141d529f Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
When the AudioTrack callback notification size is relatively high (Which is the case on Sholes and over A2DP), it is likely that the end of tone is reached during the first callback. In this case, the AudioTrack is stopped before exiting the callback which causes 2 problems:
- 1: If the AudioFlinger thread is scheduled before we exit the ToneGenerator callback, the track can be stopped and reset before the data is actually marked as present in the buffer by the AudioTrack callback => no audio will be processed by AudioFlinger.
- 2: In this case, the data write index in the AudioTrack buffer is incremented after the track was reset by the AudioFlinger which leaves unplayed data in the buffer. This data will be played the next time the AudioTrack is started if not flushed in between.

The fix consists in adding an intermediate state to ToneGenerator state machine so that we exit the callback function when the stop condition is reached and stop the AudioTrack the next time we execute the callback.
2009-09-24 23:49:40 -07:00
Android (Google) Code Review
fdf53a4628 Merge change 26935 into eclair
* changes:
  Fix bug 2129190 The context used by the status bar (i.e., the system context) was not properly initialized to have the right ApplicationInfo inside its PackageInfo. This eventually caused it to believe that it was running at 160dpi.
2009-09-25 00:45:23 -04:00
Mike Cleron
432b713c94 Fix bug 2129190
The context used by the status bar (i.e., the system context) was
not properly initialized to have the right ApplicationInfo inside
its PackageInfo. This eventually caused it to believe that it
was running at 160dpi.

Kudos to Dianne for figuring this out.
2009-09-24 21:41:19 -07:00
Android (Google) Code Review
80d8ace484 Merge change 26997 into eclair
* changes:
  Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail.
2009-09-25 00:21:15 -04:00
Scott Main
c0cd11f4da implement browser history for tabbed search results...
this adds a parameter to the URL hash on all search queries.
the main motive is to allow searches from the blog to automatically open the blog tab.

Change-Id: Ib81896948e63e8173d521713496bb98065683ce7
2009-09-24 20:35:14 -07:00
Scott Main
9762ff450d am c7d1ee8b: docs only. add new Updating Your SDK doc; update the \'android\' tool documentation.
Merge commit 'c7d1ee8b235fa947c6223d1a28363c269c5ae771' into eclair

* commit 'c7d1ee8b235fa947c6223d1a28363c269c5ae771':
  docs only.
2009-09-24 20:33:47 -07:00
Katarina Stenstedt
dc884053ed am 20972da0: New localization document and tutorial
Merge commit '20972da079adb6e53fe5f8758aa473d9d46a1b54' into eclair

* commit '20972da079adb6e53fe5f8758aa473d9d46a1b54':
  New localization document and tutorial
2009-09-24 20:33:34 -07:00
Bjorn Bringert
3309940c04 am 2f2daf8e: (-s ours) Fix search intent component bug DO NOT MERGE
Merge commit '2f2daf8ed4d45ff68a0aeffcd0b284c45e5a5d82' into eclair

* commit '2f2daf8ed4d45ff68a0aeffcd0b284c45e5a5d82':
  Fix search intent component bug DO NOT MERGE
2009-09-24 20:33:25 -07:00
Ray Chen
343449f018 Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail. 2009-09-24 20:22:37 -07:00
Android (Google) Code Review
ea1241f037 Merge change 26244 into eclair
* changes:
  docs only. change sdk sidenav for offline docs to exclude SDK-specific links like installing/upgrading. revise the offline home page.
2009-09-24 23:22:31 -04:00
Android (Google) Code Review
3656a34407 Merge change 26974 into eclair
* changes:
  Disallow concurrent backups; consult transport requestBackupTime()
2009-09-24 23:22:29 -04:00
Scott Main
c7d1ee8b23 docs only.
add new Updating Your SDK doc;
update the 'android' tool documentation.

Change-Id: I14fc78da2e198069defd7d83097f5cb685e0f677
2009-09-24 20:11:25 -07:00
Christopher Tate
21ab6a5bdb Disallow concurrent backups; consult transport requestBackupTime()
* We now check for in-progress backups when asked to perform one, and don't
  bother firing off another one concurrently (nor do we adjust the scheduling;
  after all, someone asked to do a backup "now" and we're doing one, so we are
  in line with expectations).  We also defer backup passes while a restore is
  in flight, and abort attempts to perform a restore during a backup pass.

* When a backup attempt fails, we now ask the transport how far in the future we
  should put our retry.  Previously we were simply not bothering to consult with
  the transport, so we would wind up retrying backup while network connectivity
  was known to be down, etc.

Change-Id: Ic7758010b74e06e90c50d46b7b0dd01b17af7c90
2009-09-24 19:54:46 -07:00
Android (Google) Code Review
56024f260f Merge change 26991 into eclair
* changes:
  Add null check at isEmergencyNumber().
2009-09-24 22:50:28 -04:00
Scott Main
2417b9f8a2 docs only.
change sdk sidenav for offline docs to exclude SDK-specific
links like installing/upgrading. revise the offline home page.
2009-09-24 19:45:06 -07:00
Nick Pelly
1a42cfac15 Use LM_SECURE when auth && encrypt.
LM_SECURE enforces man in the middle (MITM) protection.

Change-Id: Ia800bb657b429f8872d72072f7c9450a74028af0
2009-09-24 19:36:27 -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
Peng Zhu
694bd8bf73 Add null check at isEmergencyNumber().
Change-Id: I7eca1ba1ce42e02c7506a7d969e4865778bb49cc
2009-09-24 18:02:37 -07:00
Android (Google) Code Review
cc89ef3d6e Merge change 26971 into eclair
* changes:
  Implement pause/resume for the RS thread.
2009-09-24 20:50:39 -04:00
Jason Sams
65e7aa56f5 Implement pause/resume for the RS thread. 2009-09-24 17:38:20 -07:00
Android (Google) Code Review
0665ae22aa Merge change 26939 into eclair
* changes:
  Fix 2101425: Camera crashes spontaneously in preview.
2009-09-24 19:59:08 -04:00
Android (Google) Code Review
0808c96126 Merge change 26954 into eclair
* changes:
  Update layouts to show status (battery, alarm) info on pattern unlock screen.  make buttons dark.
2009-09-24 19:54:07 -04:00
Android (Google) Code Review
7d0bdfaf9a Merge change 26948 into eclair
* changes:
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-24 19:53:57 -04:00
Karl Rosaen
816ef1c116 Update layouts to show status (battery, alarm) info on pattern unlock screen. make buttons dark. 2009-09-24 16:51:50 -07:00
Fred Quintana
91a00d3a42 fix typo 2009-09-24 16:45:37 -07:00
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07:00
Android (Google) Code Review
4579ed287a Merge change 26944 into eclair
* changes:
  Add "TYPE=" to type attribute when appropriate.
2009-09-24 19:31:20 -04:00
Yu Shan Emily Lau
5b0b63b674 Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build 2009-09-24 16:17:14 -07:00
Android (Google) Code Review
d35db5ec8b Merge change 26946 into eclair
* changes:
  Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
2009-09-24 19:13:30 -04:00
Daisuke Miyakawa
ccca121ecd Add "TYPE=" to type attribute when appropriate.
Internal issue number: 2142140
2009-09-24 15:52:40 -07:00
Android (Google) Code Review
0d3999f788 Merge change 26942 into eclair
* changes:
  Minor cleanup of profile and compile logging.
2009-09-24 18:46:39 -04:00
Jason Sams
d3f2eaf60a Minor cleanup of profile and compile logging. 2009-09-24 15:42:52 -07:00
Chih-Chung Chang
6157de0e2d Fix 2101425: Camera crashes spontaneously in preview.
The problem is we missed an "obj" parameter while calling
postEventFromNative (which put it in a field of a Message object),
so a garbage value on stack is used.

When the GC tries to follow that "obj" field, expecting to find
another object, it crashes.
2009-09-24 15:38:18 -07:00
Android (Google) Code Review
20b394719d Merge change 26933 into eclair
* changes:
  AAPT: Ignore visual source safe files in resources
2009-09-24 18:36:37 -04:00
Raphael
3cdfc042dc AAPT: Ignore visual source safe files in resources
BUG 1895888
2009-09-24 15:30:53 -07:00
Android (Google) Code Review
b9c932ba12 Merge change 26925 into eclair
* changes:
  minor SurfaceFlinger code cleanup and remove unnecessary tests
2009-09-24 18:21:40 -04:00
Wei Huang
ed16d4b7de Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
Change-Id: I0aad5b3d2834695b44cbb63e40c43a2159b723d9
2009-09-24 15:04:01 -07:00
Mathias Agopian
f2d28b7485 minor SurfaceFlinger code cleanup and remove unnecessary tests 2009-09-24 14:57:26 -07:00
Android (Google) Code Review
a6a4113d50 Merge change 26917 into eclair
* changes:
  Fix invokables to make sure script pointers are setup before invoking function calls.  Reduce app startup time up to 1s.
2009-09-24 17:56:39 -04:00
Android (Google) Code Review
b7e89e4cdc Merge change 26912 into eclair
* changes:
  Add appendType() utility method.
2009-09-24 17:56:13 -04:00
Jason Sams
e60446b9c1 Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s. 2009-09-24 14:55:38 -07:00
Android (Google) Code Review
117f574e10 Merge change 26911 into eclair
* changes:
  OpenGL ES doesn't allow glColorPointer with a size parameter other than 4
2009-09-24 17:45:32 -04:00
Daisuke Miyakawa
7497b78c56 Add appendType() utility method.
Some fix toward coll history related code is included.
2009-09-24 14:41:23 -07:00
Android (Google) Code Review
dccf22dcea Merge change 26698 into eclair
* changes:
  Fix the shortcuts
2009-09-24 17:35:11 -04:00
Android (Google) Code Review
dfb7bc8c87 Merge change 26821 into eclair
* changes:
  Make removeOnAccountsUpdateListener cope with null handlers.
2009-09-24 17:29:53 -04:00
Fred Quintana
531e580ab1 remove the incorrectly located nickname 2009-09-24 14:27:41 -07:00