15570 Commits

Author SHA1 Message Date
Romain Guy
add94f204c Merge "Free resources only from the GL context thread. Bug #3179882" 2010-11-11 15:42:35 -08:00
Jaikumar Ganesh
3ca2ee0f03 Merge "Fix crash in dump function." 2010-11-11 15:38:21 -08:00
Romain Guy
fe48f65922 Free resources only from the GL context thread.
Bug #3179882

Resources were freed following garbage collections on a worker thread.
This worker thread had no EGL context, which would cause the renderer
to incorrectly assume that the memory was liberated.

Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
2010-11-11 15:36:56 -08:00
Jaikumar Ganesh
bb0773fac8 Fix crash in dump function.
Change-Id: I5a4cd7cf3fd325ced5d05f036c191f759dee16e0
2010-11-11 15:18:19 -08:00
Chet Haase
449bb119c9 Merge "Add invalidation to Drawable when its properties change" 2010-11-11 14:04:10 -08:00
Gilles Debunne
a61cc93199 Merge "Lock screen should not display password." 2010-11-11 13:46:17 -08:00
Chet Haase
9891e1fce5 Add invalidation to Drawable when its properties change
invalidateSelf() already exists on Drawable. This triggers a call to
callback listeners so that they know the drawable has been invalidated.
For example, the background drawable on View will cause the View itself
to be invalidated.

Change-Id: I45b231a7600dcf3bc139e4059b7c9940ff49f60c
2010-11-11 13:20:08 -08:00
Gilles Debunne
d7483bfffc Lock screen should not display password.
Bug 3179062

Problem was introduced in CL 78854: changing the keyListener should not
change the transformation method.

mInputType changes are brittle. It is often reset to TYPE_CLASS_TEXT or to
mInput.getInputType(). The TYPE_TEXT_FLAG_MULTI_LINE and TYPE_TEXT_VARIATION_PASSWORD
variation are then added back based on the previous state. But this is not consistent,
and sometimes, only one of those is set.

This should be refactored if a bug is found in what seems to work correclty at the moment.

Change-Id: Ie251ec7db0ce0af4a07564b0dbb53465e6f361c6
2010-11-11 12:20:16 -08:00
Leon Scroggins
8b83d25222 Merge "Ensure that text passed in is non-null." 2010-11-11 11:41:07 -08:00
Brad Fitzpatrick
54019ee8c5 Merge "StrictMode.Span support" 2010-11-11 11:33:18 -08:00
Jaikumar Ganesh
53f0f36352 Merge "Make AUDIO_STATE_CONNECTING in BluetoothHeadset public." 2010-11-11 11:20:14 -08:00
Leon Scroggins
ef7af28975 Ensure that text passed in is non-null.
Bug:3183112
Change-Id: Icf00e2793cb9b62dd0ebb4f60b8ddcafea3e581f
2010-11-11 14:20:06 -05:00
Gilles Debunne
f170a345b3 Added drag and drop functionality in TextViews
Basic implementation. The finger is currently hiding the insertion position.
An offset has to be added in DragThumbnailBuilder to prevent this.

Change-Id: I4207c337a2a31162063fba191a5eb5d5856b24cf
2010-11-11 11:09:02 -08:00
Jaikumar Ganesh
b0a1d01b4c Make AUDIO_STATE_CONNECTING in BluetoothHeadset public.
As the SCO connection is done on a separate thread, this
state is needed to prevent silent failures in case of APIs like
voicerecognition.

Change-Id: Id08725323a2c847df4d3bd9f60e42fde46100707
2010-11-11 10:59:48 -08:00
Eric Fischer
4f66308170 Merge "Import revised translations." 2010-11-11 10:28:30 -08:00
Brad Fitzpatrick
e7520d89fe StrictMode.Span support
Support for annotating critical regions (e.g. animations) with
a tag to be uploaded.

Change-Id: I412fc78f40dc05c9a3c9f62a4b0463201dbdb767
2010-11-11 09:46:07 -08:00
Amith Yamasani
8bda1c1ef7 am f8d2aff4: am db65907a: Merge "Adding pan behavior on preference dialog."
* commit 'f8d2aff41d347e029c9c0b1f51f20c92cd1cce8e':
  Adding pan behavior on preference dialog.
2010-11-11 09:10:51 -08:00
Amith Yamasani
f8d2aff41d am db65907a: Merge "Adding pan behavior on preference dialog."
* commit 'db65907a2148f053e51f941979f0f7694acd5923':
  Adding pan behavior on preference dialog.
2010-11-11 09:06:02 -08:00
Amith Yamasani
db65907a21 Merge "Adding pan behavior on preference dialog." 2010-11-11 08:50:52 -08:00
satok
723a27ef3d Save the history of InputMethodSubtype for reverting the subtype when IME was changed.
- Re-revert the change https://android-git.corp.google.com/g/#q,78962,n,z
*** If you want to see the diff between reverted change and new change, please see the diff between patch set 1 and the latest patch set

- TODO: Add a public function "switchToLastInputMethod"

Change-Id: Ic85d54b3b68e47a22360acaeb81202a366a34586
2010-11-11 17:13:10 +09:00
Dianne Hackborn
c600720638 am 63f40387: am 34594e75: Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread
* commit '63f40387d931b5cd555b4743a4d8ff4f1ccf9558':
  Fix issue #3177284: Account for wake lock power usage on Crespo
2010-11-10 18:06:55 -08:00
Dianne Hackborn
63f40387d9 am 34594e75: Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread
* commit '34594e75e4a7962840f34c0b57116ecf1497f118':
  Fix issue #3177284: Account for wake lock power usage on Crespo
2010-11-10 18:01:21 -08:00
Dianne Hackborn
34594e75e4 Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread 2010-11-10 17:58:28 -08:00
Eric Fischer
0f9c9a7589 Import revised translations.
Change-Id: I268a46ef97765c4d806b84f50a5b99667ec4eb53
2010-11-10 17:29:29 -08:00
Adam Cohen
f0504eb470 Merge "Adding widget auto-advance capability" 2010-11-10 17:26:10 -08:00
Adam Powell
6e3d6cf2e9 Merge "Refine AbsListView transcript mode behavior." 2010-11-10 17:21:23 -08:00
Adam Cohen
a02fdf1ba0 Adding widget auto-advance capability
Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
2010-11-10 17:18:37 -08:00
Adam Powell
0785279dad Refine AbsListView transcript mode behavior.
Make transcript mode only scroll to the bottom if the last item is
already scrolled fully to the bottom when the change occurs Before
this, transcript mode would cause a list to scroll to the bottom as
long as the last item in the adapter was visible at all. Long items
would make this behave unexpectedly.

Change-Id: Ia6a52c969ea6d50653cf2b8cd4dc30ba517cf803
2010-11-10 17:07:35 -08:00
Jim Shuma
ec4d82046b Merge "Fix summary for FragmentTransaction.show()" 2010-11-10 16:11:32 -08:00
Jeff Brown
5314335c9e am 00e5dd44: Merge "Fix JNI reference leak in NativeActivity. (DO NOT MERGE)" into gingerbread
* commit '00e5dd44f6d014fff8c65b9c718f5641f5eae4bb':
  Fix JNI reference leak in NativeActivity. (DO NOT MERGE)
2010-11-10 16:04:13 -08:00
Jeff Brown
00e5dd44f6 Merge "Fix JNI reference leak in NativeActivity. (DO NOT MERGE)" into gingerbread 2010-11-10 16:00:37 -08:00
Brad Fitzpatrick
182e2d25cf Merge "Move ApplicationPackageManager out of ContextImpl.java" 2010-11-10 15:07:28 -08:00
Brad Fitzpatrick
b82f04df75 Merge "Move SharedPreferencesImpl out of ContextImpl.java" 2010-11-10 15:07:15 -08:00
Chris Tate
85a4ec0d2e Merge "Add description and configuration methods to the transport interface" 2010-11-10 15:00:48 -08:00
Chris Tate
a8ddef346c Add description and configuration methods to the transport interface
It's now possible for the transport to supply a descriptive string to inform
the user about the nature of the backup destination (e.g. telling the user
what account the data is being stored under), and to supply an Intent with
which the system can initiate a configuration Activity supplied by the
transport (e.g. allowing the user to select which account their data is
being stored under).

The transport interface is not public.

Part of bug 2753632 and bug 2987804

Change-Id: I911f70a3ea440daf2a7a04710e9d7e65b61a58db
2010-11-10 14:45:07 -08:00
Brad Fitzpatrick
390dae1a8b Move ApplicationPackageManager out of ContextImpl.java
Change-Id: I706bce3fc4a5c7e6ee351d677899a01ac222960c
2010-11-10 14:02:52 -08:00
Brad Fitzpatrick
d3da440320 Move SharedPreferencesImpl out of ContextImpl.java
Change-Id: I3a58ec4c9501e906c133e841b5c5ec6bced04a02
2010-11-10 14:02:52 -08:00
Adam Powell
a4dba7f515 Fix bug 3183378 - make theme attribute selectableItemBackground public.
This will always be a reference to a state list drawable that shows
proper pressed/focused/etc background highlights for the current
theme.

Change-Id: I60671e581ad0fa8cc2f6a808beafa506784112de
2010-11-10 12:07:44 -08:00
Eric Fischer
403f16ae0b Merge changes I40bfa0f8,I9fe6a999
* changes:
  Restore deleted string still referenced from AndroidManifest.
  Import revised translations.
2010-11-10 10:26:08 -08:00
Brian Carlstrom
5d4c6226ca Merge "Correctly parse cookies with spaces after = in attributes" 2010-11-10 08:52:33 -08:00
Owen Lin
5ee0c8832f am 8ffb135d: am 45ca778d: Merge "Make sure the controller will get repositioned after size changing." into gingerbread
* commit '8ffb135dc892c09f1781231f783b0890515b3d60':
  Make sure the controller will get repositioned after size changing.
2010-11-10 08:37:51 -08:00
Owen Lin
8ffb135dc8 am 45ca778d: Merge "Make sure the controller will get repositioned after size changing." into gingerbread
* commit '45ca778d8ed90aff3f72fc85f806cedbd4121cc1':
  Make sure the controller will get repositioned after size changing.
2010-11-10 08:25:02 -08:00
Brian Carlstrom
87ad930037 Correctly parse cookies with spaces after = in attributes
Bug: 3167208
Change-Id: I8adebf9f9e92967a3250e61ccfbb45e02bbee3f9
2010-11-09 22:03:17 -08:00
Jim Shuma
baa1553c8d Fix summary for FragmentTransaction.show()
An apparent copy-paste left out a change that should have
been made in the method summary.

Change-Id: I158a30462fadcf617240047960e1b187b8210f6c
2010-11-09 20:37:03 -08:00
Dianne Hackborn
6c8e20f96a Implement new task transition animations.
Change-Id: I62c10e7b2afac4371b3739f1cd5948c655edc125
2010-11-09 19:04:49 -08:00
Owen Lin
45ca778d8e Merge "Make sure the controller will get repositioned after size changing." into gingerbread 2010-11-09 19:02:23 -08:00
Jim Miller
cb120a9ba7 Merge "Initial pass to update RecentApps panel to new UI specification." 2010-11-09 18:11:38 -08:00
Mathias Agopian
90d6b69426 am 0e438287: am b48189cc: Merge "Improve gyro and accelerometer java doc" into gingerbread
* commit '0e438287995698aacdda715713300fc01a6d1585':
  Improve gyro and accelerometer java doc
2010-11-09 17:43:16 -08:00
Jim Miller
fefef31191 Initial pass to update RecentApps panel to new UI specification.
This updates recent apps to show a vertical list, complete
with thumbnails and a text description of the application.

Change-Id: I178ed8d7d32e790ac51aa7f88593aa24d6786a78
2010-11-09 17:42:49 -08:00
Eric Fischer
363eedcd65 Restore deleted string still referenced from AndroidManifest.
I think this must have been an accidental deletion since the comment
is still there.

Change-Id: I40bfa0f839efed19c073a0e9fc0b48b65d3eb293
2010-11-09 17:32:09 -08:00