Commit Graph

12944 Commits

Author SHA1 Message Date
4e30d89ced Per designers, update the algorithm for when effect is clipped or stretched.
New algo is:
1) if view width < MIN_WIDTH (currently 300px), clip glow and edge to fit
2) else stretch glow and edge to fill width
3) make alpha and height of edge and glow 30% "more intense"

Change-Id: I8f121bb165a8fb835bc33950dbedd1bc80c5df65
2010-11-24 16:09:03 -08:00
2880294cc6 Lazily create the paste popup window.
Change-Id: I271a790bd652cdcdc221896ede9f99858a24cc7a
2010-11-24 14:16:14 -08:00
9948ad7b37 Long press in empty space moves cursor and shows Paste affordance.
Change-Id: I487e9028201a90da76dff5390a64d2d57e7723ea
2010-11-24 14:00:46 -08:00
e587d838e9 Comments on lazy controllers initialization.
Also a couple of bug fixes where the field value was used instead of the
get method().

Change-Id: Ia2c63158febc136065a6e12755c88e6d23ce6cc1
2010-11-24 13:48:24 -08:00
c1a968a8ed Option to enable StrictMode flashing on userdebug builds.
Change-Id: Ifc8e733ea0e0f6bda234a18ad84bcd230879e802
2010-11-24 13:41:48 -08:00
1c96a00685 Fix some formatting issues.
Review comments from a previous review.

Change-Id: Ifa6136f9bc5590ffb6a777240ad1e6607b616ca6
2010-11-24 13:07:29 -08:00
64ad5586c4 Merge "Update BT code for voice capability cases." 2010-11-24 12:44:04 -08:00
7750c2ac61 Merge "this should be @hidden" 2010-11-24 11:15:07 -08:00
a89e903fd4 this should be @hidden
Change-Id: Ib372fa15a5284b30e2edef5a1d90544eb2166ee4
2010-11-24 11:13:44 -08:00
58b93c3640 Update BT code for voice capability cases.
1. Disable PBAP and Headset / Handsfree records.
2. Add API to query for local adapter UUIDs.

Change-Id: Ic84ba6a49738adc89a8695d3a4890f08562e0621
2010-11-24 10:49:47 -08:00
a111187a5b Change rotation freeze to all be implemented in window manager.
Lots of work for no visible change in behavior, but now we can
do some fancier stuff...

Also allow rotation in all 4 directions.

Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461
2010-11-24 10:41:07 -08:00
9fb2807e2b Merge "Allow status bar panels to be on top of the status bar." 2010-11-24 10:28:20 -08:00
29fc2c9705 Allow status bar panels to be on top of the status bar.
Change-Id: I3c74ece5f7042e6302717f4263746d59d5447ec9
2010-11-24 10:26:50 -08:00
0df0269832 defer resume while selecting text
Allow scrolling, dragging, zooming to process normally
while selecting text, but prevent them from resuming
the webkit update until the selection is done.

Also, resume the webkit priority when resuming the
updates.

bug:3226364
Change-Id: Idfad6b63b6eb02208f977d89a8409377e9d731e7
2010-11-24 11:01:37 -05:00
93fbae34ce Merge "Don't drop zeros in the second position in formatDuration()" 2010-11-24 03:25:17 -08:00
4ffb3e097d Merge "Misc ActivityManagerNative cleanup." 2010-11-23 20:09:15 -08:00
c90993f9e4 Merge "Add an API to set InputMethodAndSubtype" 2010-11-23 19:49:35 -08:00
2820351489 Add an API to set InputMethodAndSubtype
Change-Id: I66f1a4c8e0d98705614f12a737e7efcd0263b72a
2010-11-24 12:28:45 +09:00
663f4f33e2 Misc ActivityManagerNative cleanup.
Change-Id: Ib1fba1a72d074a12b44cce64741071815cb680f3
2010-11-23 19:15:24 -08:00
1065685400 Fix potential weird StrictMode NPE.
Seen once in an eng build.  Could in theory happen if there was a
violation in the system server before the activity manager was
registered.

Change-Id: I785f06848af0e2af4657be3a8edbbd658eeb3cf2
2010-11-23 19:01:13 -08:00
83f5eccb0c Merge "Fix bug 3226108 - WebView would not update content properly after a fling." 2010-11-23 18:11:31 -08:00
4c3ce84864 Fix bug 3226108 - WebView would not update content properly after a fling.
Change-Id: Ie5d163740ab1b919fef497c06caeb6807db0df52
2010-11-23 18:06:56 -08:00
ab0a3c05fc Merge "Misc Looper cleanups; add android.util.PrefixPrinter" 2010-11-23 17:59:53 -08:00
994b0d2b7d Merge "changes to support Change-Id: I572fdfd6d34dbb5a0577c6cf14664b6f2d5700b4" 2010-11-23 17:52:19 -08:00
af150b5bbd Merge "Long press starts a new selection if one is already started." 2010-11-23 17:29:17 -08:00
1b29825cca Misc Looper cleanups; add android.util.PrefixPrinter
Change-Id: I0b9adce46cb785b4dd4e6296e1f97c8bcf0dbfbf
2010-11-23 17:17:33 -08:00
710a910e73 Long press starts a new selection if one is already started.
Change-Id: Ide525ff0021cf145bb5d2b8db2d09b7b7909289b
2010-11-23 17:09:15 -08:00
9123cbfe80 Merge "Create logic for applying padding only to custom preference layouts" 2010-11-23 15:34:27 -08:00
2266b92072 Create logic for applying padding only to custom preference layouts
n the case of any standard PreferenceFragment layout, we can
change the list styling to add padding and set clipToPadding to false.
In this case, we don't want extra padding in the parent ViewGroup
(R.id.prefs).
When an app specifies a custom preference fragment layout, we want
to add the previously existing padding styles R.id.prefs.

Change-Id: Idfd77dcbef264c6f5f4121b66fd54c684ad0a288
2010-11-23 14:47:52 -08:00
07cb89432c Merge "StrictMode.Span annotations for ScrollView." 2010-11-23 14:15:00 -08:00
2970c49938 various fixes for animations and javadocs
Issues around threading of animations and AnimatorSet bugs are
fixed in this change. Unrelated fixes to javadocs in other
framework classes are also part of the change.

Change-Id: I35f7e03ffdec9143bc2eb155e8f9384798ad35b3
2010-11-23 14:05:42 -08:00
f3db1af8d5 Change return type of getShortcutInputMethodsAndSubtypes to Map<InputMethodInfo, List<InputMethodSubtype>>
bug: 3201828

- Brushed up the code

Change-Id: I11ad9d1d749bd8947144ca7f1676bab3cf777fd6
2010-11-24 06:32:44 +09:00
ce81f3a955 StrictMode.Span annotations for ScrollView.
Between the animation system, ListView, and this, we can now account
for the large majority of animations in-flight at any point and annotate
StrictMode violations accordingly.

Note that StrictMode.Span goes out of its way to not allocate memory
and is very light-weight, especially on user builds where it's a
no-op.

I've tested this with the LOG_V debugging in StrictMode and I think
I've gotten all the entry/exit cases of ScrollView's animations.  At
least, I'm not able to get it out-of-sync at least, even with
orientation changes during scroll/fling, etc.  It's possible I missed
a path, but that should show up as excessive false positives during
dropbox uploads if so.

Change-Id: I3b0545111a775d9fa8e171f2a190031f1b56c4c0
2010-11-23 12:44:08 -08:00
b43d7589cf Merge "Update edge and glow rendering to match new specs." 2010-11-23 11:32:51 -08:00
05063d8a59 Merge "StrictMode fingerprinting / hashCode improvements." 2010-11-23 11:19:53 -08:00
a5531d784b Update edge and glow rendering to match new specs.
Change-Id: Id2ad0ff4fa78617cb79475952e9ce561ee8fec10
2010-11-23 11:12:20 -08:00
a8f84063ff Merge "b/3186860: fix failing layout tests: fast/events/touch/basic-multi-touch-events-limited.html fast/events/touch/touch-target-limited.html" 2010-11-23 10:56:54 -08:00
f3d86be6d7 StrictMode fingerprinting / hashCode improvements.
Change-Id: I08ff939327f7c11a562851847ae91c67b1db4f87
2010-11-23 10:48:55 -08:00
a6a52dece7 Merge "Cache WindowManager in StrictMode; add android.util.Singleton" 2010-11-23 10:41:07 -08:00
3ebb51daa4 b/3186860: fix failing layout tests:
fast/events/touch/basic-multi-touch-events-limited.html
 fast/events/touch/touch-target-limited.html

Change-Id: I55ecc9944c888a005885704e296de7b7513a8172
2010-11-23 10:24:02 -08:00
c5cd5e9079 cancel text selection on rotate
Rotating the screen may cause it to layout differently. The
selected text may be hard to match or may not be visible at
all. Cancel the text selection mode when a rotate is detected.

bug:3205291
Change-Id: If7e8f98a1cc396bf21f8261f2a7b4a342907ef2f
2010-11-23 13:12:32 -05:00
693c99ffdc Merge "Merge overscrolling from gingerbread." 2010-11-23 10:06:10 -08:00
34878787f0 Merge "print certain rows from downloads.db when bugreports are taken" 2010-11-23 10:05:06 -08:00
637d337b58 Merge overscrolling from gingerbread.
Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
2010-11-23 09:30:10 -08:00
a31560598a Rename android.provider.Mtp to android.provider.Ptp
We are only supporting the PTP subset of MTP in host mode and have
no plans for full MTP, so calling it Mtp was misleading.

Also moved ACTION_MTP_SESSION_END Intent name to android.provider.MediaStore
and added it to the public API.

Change-Id: Ie35d15864d5972e65a39b982aa51316ecca3725a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-23 10:30:31 -05:00
901b3796fd Don't drop zeros in the second position in formatDuration()
Bug: 3223250
Change-Id: I462c96af51cc052f9df1dc3d2c668551b10155ea
2010-11-23 14:43:12 +00:00
57914381a8 Offer the user the option to configure an AutoFill profile.
When the user selects a form field that is part of a form that can
be autofilled, inform the embedder that this is the case to give
them the opportunity to configure a profile if they the user has
not done so already. A Message is also provided
to the embedder that when sent will trigger the form to be filled
with the profile that the embedder set up.

Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57
2010-11-23 12:18:02 +00:00
cdcb73ef78 Cache WindowManager in StrictMode; add android.util.Singleton
Change-Id: I15a85461424de930710d4901658440b5d305cabb
2010-11-22 23:00:23 -08:00
6804433b0a StrictMode visual notification support.
Change-Id: I64a5adb683060d9649f1132414547bb3c346a2a8
2010-11-22 19:39:52 -08:00
621e17de87 Implement issue #3221502: New APIs to support new back stack / task navigation
What this adds:

- A new Intent activity flag to completely replace an existing task.
- A new Intent activity flag to bring the current home task up behind
  a new task being started/brought to the foreground.
- New versions of startActivity() that take an array of Intents to be
  started, allowing applications to start a task in a specific state.
- A public moveTaskToFront() method on ActivityManager, with a new flag
  that allows the caller to have the task moved to the front with the
  current home task immediately behind it.

Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8
2010-11-22 18:35:55 -08:00