Commit Graph

26323 Commits

Author SHA1 Message Date
Wu-cheng Li
51caa5111d am b0dcf5eb: Merge "Avoid deadlocks when calling autoFocus from onAutoFocus callback." into jb-dev
* commit 'b0dcf5ebb26e33fde3dd8fbdec58499175f51d65':
  Avoid deadlocks when calling autoFocus from onAutoFocus callback.
2012-05-03 21:55:16 -07:00
Wu-cheng Li
b0dcf5ebb2 Merge "Avoid deadlocks when calling autoFocus from onAutoFocus callback." into jb-dev 2012-05-03 21:52:44 -07:00
Jason Simmons
34b2feb041 Avoid calling BluetoothSocket.destroyNative twice
If the destroyNative JNI method is called twice, it will attempt to free
the socketData twice, and the second free will cause an assertion failure.

To avoid this, check whether mSocketState has already been set to CLOSED
while holding the write lock.  If it has, then destroyNative has already
been called and should not be called again.

Bug: 3096033
Change-Id: Ic7c0bbf21823d389b26919da8c533d8ac4d49064
2012-05-03 19:46:01 -07:00
Dianne Hackborn
eabcde2d92 am a112461f: am 610f310b: Merge "New permissions UI." into jb-dev
* commit 'a112461fdc7ab36912dce27256ce8289be94471b':
  New permissions UI.
2012-05-03 19:22:51 -07:00
Dianne Hackborn
a112461fdc am 610f310b: Merge "New permissions UI." into jb-dev
* commit '610f310b199ec0d93cb6e78106b029d7269015df':
  New permissions UI.
2012-05-03 19:05:24 -07:00
Dianne Hackborn
0e128bb2e0 New permissions UI.
Had to keep around a little of the old API for the device
admin settings UI to continue to use.

Change-Id: I84c5666a7f3fec0495eae196a0ffc2223c9e6f82
2012-05-03 19:00:23 -07:00
Craig Mautner
3fe38c0e73 Retain current visibility when copying layoutparam
The LayoutParams members, systemUiVisibility and
subtreeSystemUiVisibility are derived values rather than app-generated
values. When copying LayoutParams members make sure these values are
not overwritten.

Overwriting them was causing the STATUS_BAR_DISABLE_XXX flags to be
overwritten exposing elements that should have remained hidden.

Fixes bug b6374541.

Change-Id: Iaae4b4167e1b148bbdba4d05f473844f7fa3bf8d
2012-05-03 17:28:09 -07:00
Makoto Onuki
35c29cfce7 Remove SocialContract, which was never used.
Bug 6148750

Change-Id: I3061b427ea20c35de826e6c0c7bb8cbe5fa1f04d
2012-05-03 16:39:40 -07:00
Chet Haase
cb150fe9e6 Minor doc fixes for animation- and view-related things
Issue #6016341 Add info about properties and ViewPropertyAnimator to View reference docs
Issue #6441062 Misleading docs in ViewPropertyAnimator

Change-Id: Ica7c026c770fe2e57013fe443ede5428cd6b6604
2012-05-03 16:30:16 -07:00
John Reck
972e8bc09a am fd84f173: am 84fa241f: Fix tap highlight annoyingness
* commit 'fd84f173a021b8c492bbd1479a5a75690c89c17a':
  Fix tap highlight annoyingness
2012-05-03 16:21:09 -07:00
John Reck
fd84f173a0 am 84fa241f: Fix tap highlight annoyingness
* commit '84fa241f6c6f8b9f72371dd540515ba8041dd6b7':
  Fix tap highlight annoyingness
2012-05-03 16:18:31 -07:00
John Reck
84fa241f6c Fix tap highlight annoyingness
Bug: 6108346
 Highlight now correctly doesn't show up unless it is a click, and
 no longer has any weirdness with sticking around unusually long

Change-Id: I06f6eae45d970085232466f17cbbd9ebaefc4d69
2012-05-03 16:08:55 -07:00
Chet Haase
5eea7b89a7 am dbad40ac: am f7ee988e: Merge "Better error logs for faulty ObjectAnimators" into jb-dev
* commit 'dbad40ac7255016b4cb17c1145346425f933504d':
  Better error logs for faulty ObjectAnimators
2012-05-03 16:03:29 -07:00
Chet Haase
dbad40ac72 am f7ee988e: Merge "Better error logs for faulty ObjectAnimators" into jb-dev
* commit 'f7ee988e55c6f6934cbb9e47feea65e62a3a2f21':
  Better error logs for faulty ObjectAnimators
2012-05-03 16:00:23 -07:00
Chet Haase
f7ee988e55 Merge "Better error logs for faulty ObjectAnimators" into jb-dev 2012-05-03 15:57:32 -07:00
Teng-Hui Zhu
508d7053ff Unify the rect names according to the coordinates
This is a pure refactor, no functional change.
bug:6338456

Change-Id: Ib40af53f4e2ff8ce5c9f82f3472989b2d3f2007c
2012-05-03 15:55:29 -07:00
Chet Haase
db4101c7d5 Better error logs for faulty ObjectAnimators
Previously, if you set up an ObjectAnimator with the name of a property
which could not be resolved to an existing method (e.g., "foo" becomes "getFoo()"
or "setFoo()"), the errors in the log could be a bit obscure and the animation might
just crash sometime later with an unexplained NPE. This change provides a more
detailed log message detailing the actual method/class involved.

Issue #5990756 NullPointerException on no such property

Change-Id: Ic5bf7069c4879623e00ab8a794b799773cce487c
2012-05-03 15:19:24 -07:00
Eino-Ville Talvala
92718ecace am b239d1a9: am 163a3ae7: Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev
* commit 'b239d1a974c9fafef5dd905f51d657a9efe42f27':
  Update docs for YV12 format and camera preview callbacks.
2012-05-03 13:55:42 -07:00
Eino-Ville Talvala
b239d1a974 am 163a3ae7: Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev
* commit '163a3ae770c290f87347e5b413ec8ff9f128a311':
  Update docs for YV12 format and camera preview callbacks.
2012-05-03 13:51:39 -07:00
Eino-Ville Talvala
163a3ae770 Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev 2012-05-03 13:49:57 -07:00
Jeff Sharkey
ac3fcb1590 Reduce persist threshold for lower warning/limit.
Default is 2MB persist threshold, but even that can be substantial
for devices on 100MB/month plans. This change gradually reduces the
persist threshold up to 8x lower (256kb outstanding) based on lowest
active policy.

Bug: 5382676
Change-Id: Ief4e8cdb169bfb151a3d1b45722a8eaa01926508
2012-05-03 12:12:10 -07:00
Jeff Brown
3025afded3 am d4daf521: am e19dbd9f: Merge "Separate the internal and external display rotations." into jb-dev
* commit 'd4daf5212ebee0886ad02ceb6301a829cb1674a1':
  Separate the internal and external display rotations.
2012-05-03 12:01:13 -07:00
Jeff Brown
d4daf5212e am e19dbd9f: Merge "Separate the internal and external display rotations." into jb-dev
* commit 'e19dbd9f9d0fea5959d8384d5d9d577d25cc8963':
  Separate the internal and external display rotations.
2012-05-03 11:59:05 -07:00
Jeff Brown
e19dbd9f9d Merge "Separate the internal and external display rotations." into jb-dev 2012-05-03 11:56:25 -07:00
Adam Powell
5da992bb76 am b8eba14f: am 43b8fd76: Merge "Fix nested cross-scrolling for ScrollView/HorizontalScrollView" into jb-dev
* commit 'b8eba14f133997f3ab6de490afd2e4fad55913e8':
  Fix nested cross-scrolling for ScrollView/HorizontalScrollView
2012-05-03 11:06:14 -07:00
Gilles Debunne
7c5de58c2c am 449fa826: am 57e6136c: Merge "Hide TextDirectionHeuristics" into jb-dev
* commit '449fa82612deb196e705cbf97460c98b612edc39':
  Hide TextDirectionHeuristics
2012-05-03 11:06:12 -07:00
Adam Powell
836021143d am e43a4e90: am f27ba974: Merge "JB API cleanup; ActionMode and View docs" into jb-dev
* commit 'e43a4e90173cdb1a8e22a8e8e05356c12df44a0e':
  JB API cleanup; ActionMode and View docs
2012-05-03 11:03:24 -07:00
Adam Powell
b8eba14f13 am 43b8fd76: Merge "Fix nested cross-scrolling for ScrollView/HorizontalScrollView" into jb-dev
* commit '43b8fd76c03fe4d3c46919e98af91a18176c2654':
  Fix nested cross-scrolling for ScrollView/HorizontalScrollView
2012-05-03 11:02:56 -07:00
Gilles Debunne
449fa82612 am 57e6136c: Merge "Hide TextDirectionHeuristics" into jb-dev
* commit '57e6136ce79241348b3563c4368a327ca2906610':
  Hide TextDirectionHeuristics
2012-05-03 11:02:55 -07:00
Eino-Ville Talvala
951516358e Update docs for YV12 format and camera preview callbacks.
- Define stride for YV12 when using it for preview callbacks

- Include equations for calculating stride and start indexes of Y, U,
  and V planes for YV12.

- Add more cross-references so that equations are easier to find.

Bug: 6330501
Change-Id: I85a78757ec767d08173b9fe714adb715835244b4
2012-05-03 11:02:18 -07:00
Adam Powell
43b8fd76c0 Merge "Fix nested cross-scrolling for ScrollView/HorizontalScrollView" into jb-dev 2012-05-03 11:00:53 -07:00
Gilles Debunne
57e6136ce7 Merge "Hide TextDirectionHeuristics" into jb-dev 2012-05-03 11:00:49 -07:00
Adam Powell
e43a4e9017 am f27ba974: Merge "JB API cleanup; ActionMode and View docs" into jb-dev
* commit 'f27ba974d5af68baf071282de65a22ca6e59244c':
  JB API cleanup; ActionMode and View docs
2012-05-03 11:00:20 -07:00
Adam Powell
f27ba974d5 Merge "JB API cleanup; ActionMode and View docs" into jb-dev 2012-05-03 10:58:48 -07:00
John Reck
b3d30e444d am 7ecf3dc6: am eaca069a: Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev
* commit '7ecf3dc6fc6ae4a152e19fe6be14787c6372cb9f':
  Fix clicking on a fake element (address, phone number, etc..)
2012-05-03 10:05:06 -07:00
Wu-cheng Li
f05c1d63d1 Avoid deadlocks when calling autoFocus from onAutoFocus callback.
Applicatons may use different threads for calling autoFocus and
onAutoFocus callback.

bug:6026574

Change-Id: I114a60240e22af15ca469b591e080121367db8e2
2012-05-04 01:01:46 +08:00
John Reck
7ecf3dc6fc am eaca069a: Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev
* commit 'eaca069aff710eb8776669bd5d8016d10b7d2467':
  Fix clicking on a fake element (address, phone number, etc..)
2012-05-03 10:01:26 -07:00
John Reck
eaca069aff Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev 2012-05-03 09:59:46 -07:00
John Reck
9155cbac78 Fix clicking on a fake element (address, phone number, etc..)
Bug: 6426909

Change-Id: Ic45deea2423dbeb2bcb4ecbcaac32ec194f7511e
2012-05-03 09:51:32 -07:00
George Mount
ea182174ad am 5b6726fa: am aac5066d: Merge "Add intercept path for UI touch handling." into jb-dev
* commit '5b6726fab1bfb9305c938af805be7bcf96193a62':
  Add intercept path for UI touch handling.
2012-05-03 09:42:15 -07:00
George Mount
5b6726fab1 am aac5066d: Merge "Add intercept path for UI touch handling." into jb-dev
* commit 'aac5066dbf17987887dc46d90df1ce465d0c4c50':
  Add intercept path for UI touch handling.
2012-05-03 09:39:20 -07:00
George Mount
aac5066dbf Merge "Add intercept path for UI touch handling." into jb-dev 2012-05-03 09:37:18 -07:00
John Reck
4f1fa1bb44 am 58e7dc96: am d4796461: Fix accessibility drawing
* commit '58e7dc96a8c94b215f274e91e5bab9f292e803f2':
  Fix accessibility drawing
2012-05-03 09:27:27 -07:00
John Reck
58e7dc96a8 am d4796461: Fix accessibility drawing
* commit 'd4796461ee29c2d2560412dbb51e0c931aa22db5':
  Fix accessibility drawing
2012-05-03 09:24:26 -07:00
John Reck
d4796461ee Fix accessibility drawing
Bug: 6407623
 If script injection is disabled, the accessibility injector works
 by modifying the text selection. However, this would cause WebView
 to go into text selection mode, showing the CAB and such, which
 we don't want. Add a flag saying WHY text selection is being changed
 so that we can respond accordingly in WebViewClassic.

Change-Id: Ia509def3fcdb022b93fbbc7ed89bc9558663afd3
2012-05-03 09:07:11 -07:00
George Mount
7a33acf123 Add intercept path for UI touch handling.
Bug 6410164

Change-Id: Ia3907a9a57321d0f25763c88fd0c0a7617d5da48
2012-05-03 09:02:14 -07:00
Chris Wren
e1cb5e0674 am 6145ec08: am 1243b967: Merge "rework big text to handle gmail use case" into jb-dev
* commit '6145ec08372940e3d0b84b68a5acd6c496217d4a':
  rework big text to handle gmail use case
2012-05-03 07:51:41 -07:00
Chris Wren
b323cc47ef am 6908d1f6: am 71964645: Merge "Allow the Notification.Builder to carry around a Style to apply at build" into jb-dev
* commit '6908d1f6d4aa441652563544a53189df5395b664':
  Allow the Notification.Builder to carry around a Style to apply at build
2012-05-03 07:51:39 -07:00
Chris Wren
6145ec0837 am 1243b967: Merge "rework big text to handle gmail use case" into jb-dev
* commit '1243b967595c72f0efafae5efea7d33314efe0b1':
  rework big text to handle gmail use case
2012-05-03 07:48:03 -07:00
Chris Wren
6908d1f6d4 am 71964645: Merge "Allow the Notification.Builder to carry around a Style to apply at build" into jb-dev
* commit '719646454ac408fdcb23324213115aa13f1d37e7':
  Allow the Notification.Builder to carry around a Style to apply at build
2012-05-03 07:48:01 -07:00