36882 Commits

Author SHA1 Message Date
Xavier Ducrohet
98dccc5a3c Merge "Layoutlib: Animation support." 2010-11-29 12:07:21 -08:00
Xavier Ducrohet
2eea6fab1c Layoutlib: Animation support.
New locking mechanims to prevent concurrent renderings.

There's now a thread specific prepareThread() method (only
prepares the looper) and its associated cleanupThread().

For the rendering itself, acquire must be called before doing
any type of Android specific work on the scene (inflate or rendering)
After instantiation, init() must be called, which also acts as acquire.

Added a lot of checks to make sure method aren't called without
acquire or if scenes try to be rendered while acquire was called
from the same thread but on another scene.

Animation implementation:
- Handler delegate to use our own queue (since the animation runs
  through handler messages). This uses a callback to process
  the message. This callback is per-thread and only used in
  animation threads.
- SystemClock delegate to provide clock implementation.
- AnimationThread to handle playing the animation and calling back
  to the animation listener.

Change-Id: Ia39aba7ed476759df1da3200e413fe3e92590d15
2010-11-29 12:05:43 -08:00
Vasu Nori
f1cdfc9f6d Merge "fix messages from sqlite layer in c++ code to be useful." 2010-11-29 12:00:40 -08:00
Vasu Nori
b37f8a8af1 fix messages from sqlite layer in c++ code to be useful.
Change-Id: Ib13f86f3481aae391f5e887bb14877f12bf48034
2010-11-29 11:53:55 -08:00
Gilles Debunne
f076eebd05 Restore isTextEditable() method meaning.
Change-Id: I52a4e71026396b27ed804d94e8373487a2645212
2010-11-29 11:42:55 -08:00
Gilles Debunne
7dca01e254 Merge "Paste popup shows up after a delay on tap. Immediately if there is a recent copy/cut." 2010-11-29 11:41:31 -08:00
Gilles Debunne
0a2aa40363 Paste popup shows up after a delay on tap. Immediately if there is a recent copy/cut.
Change-Id: Ib13f7731eb9b25c39c1b962763b3d16310fe2923
2010-11-29 11:23:24 -08:00
Vasu Nori
4628ddd1ca Merge "Revert "Merge "print certain rows from downloads.db when bugreports are taken""" 2010-11-29 11:05:22 -08:00
Vasu Nori
00e4017189 Revert "Merge "print certain rows from downloads.db when bugreports are taken""
This reverts commit 34878787f06c07b5cf14879254ef9abccffa631b, reversing
changes made to 5a2755d0c9220b6bc52cb1262927e27dc3dce6c1.
2010-11-29 11:03:23 -08:00
Robert Greenwalt
d576483787 Make the internal data-disable mechanism internal
Break links to the outside world and limit its use.
A new public, persisted and separate mechanism will be coming soon.

Change-Id: Ia51a663125f7fe583e6d5d93bc2253f4e318847b
2010-11-29 10:54:34 -08:00
Scott Main
b6d1832fc4 Merge "docs: more docs for action bar add drop-down navigation and action view" 2010-11-29 09:56:26 -08:00
Eric Laurent
4f1a1aa39b Merge "Revert "Temporary workaround for issue 3187563"" 2010-11-29 08:53:52 -08:00
Iain Merrick
ac19268a36 Fix 'BCCscript' build break.
frameworks/compile/libbcc/include/bcc/bcc.h was updated
in change I3f3d31fc. What used to be "struct BCCscript"
is now "class bcc::BCCscript" for C++ code.

Looks like the framework/base header rsScriptC.h is just
trying to forward-declare the same type, so we just need
to make the same change there.

Change-Id: I6f6f9dd7608af01d519c2e26fd9b5e6649f71902
2010-11-29 15:36:26 +00:00
Cary Clark
6f5dfc6b3c scroll the selection when dragging near the edge
Also move a debug statement so it can report the
extra selection choice.

This does not scrolls overflow divs for now; once
Pat has that code checked in, this can adapt to
work for that as well.

requires a companion change in external/webkit

bug:3186988
Change-Id: I071ecd31d589e9ef715d2ecb12b1768696075686
2010-11-29 09:20:23 -05:00
Jesse Wilson
1318af1a47 Fixing a typo in onCreate sample code.
Change-Id: Ia03bf2bfcfee95fd3a856f9fb87d12cd6c99219c
2010-11-28 21:06:57 -08:00
Dianne Hackborn
4a4f0cd86f Merge "Implement rotation animations." 2010-11-28 18:30:09 -08:00
Dianne Hackborn
f9d0be917b Implement rotation animations.
This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension.  Maybe not
useful for anything else, but I needed it for this.

Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p

Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
2010-11-28 18:28:57 -08:00
Joe Onorato
536c58fbe5 Show the down back instead of the left back when the IME is up.
Change-Id: Ief99935c4341b492d985c5f705b41f75e6b4d291
2010-11-28 17:52:28 -08:00
Joe Onorato
5e759460dc Auto-hide the peek window after 5 seconds, not right away.
Change-Id: Idf210f25e6cefc61a4eca40a9943dc156adafbf7
2010-11-28 17:43:50 -08:00
Joe Onorato
50ec5ec0b8 Deal with re-posting tickers.
Change-Id: If3c6e8ad57eb6682145cf8ed0f3755f176f117d0
2010-11-28 17:19:50 -08:00
Joe Onorato
5a6b4f8265 tighten up the notifciation layouts
Change-Id: I8e4f6a6412123fdd2d76381d568ab0bc3157b974
2010-11-27 21:58:49 -08:00
Joe Onorato
5797f192eb Check if this is null.
Change-Id: Ia74babdd1b1d76a2e5965db66bb995ea659dc6c1
2010-11-27 17:45:14 -08:00
Joe Onorato
af5e4da2a5 Don't crash when there's a flood of tickers.
Tell if the queue is empty, not if there's currently something showing.

Change-Id: I6d8530d4c749a7566419741710d588005a698e1a
2010-11-27 17:32:41 -08:00
Joe Onorato
dff2e9a458 Rename strings.
Change-Id: I0a9d016aa5864e5d64e9cab6b0e720daaa816537
2010-11-27 16:13:36 -08:00
Joe Onorato
4386191851 Scroll back to the top when the notification window closees.
Change-Id: I72cfe292950953cc3bebe27367dab5149cc10080
2010-11-27 16:08:58 -08:00
Joe Onorato
755cc74e4c Rename the status bar layouts to more consistent names
Change-Id: Ic593e6c93794f2a2eb36576501d35be54a0a0681
2010-11-27 15:45:35 -08:00
Joe Onorato
2e76ccad08 Merge "Long press on home shouldn't open recents" 2010-11-26 14:07:34 -08:00
Joe Onorato
50262e587c Long press on home shouldn't open recents
Change-Id: Iafb8205878768b74a833528532ab399d44b04263
2010-11-26 14:04:54 -08:00
Joe Onorato
1e66008fe6 Merge "Start filling in the system settings panel." 2010-11-26 13:27:05 -08:00
Joe Onorato
a8e3418907 Start filling in the system settings panel.
Change-Id: I3384bb1cf6c2339d6136764635bb010ba096659b
2010-11-26 13:19:58 -08:00
Steve Block
5fd5d74f79 No longer need to pass storage paths to WebRequestContext.cleanupPrivateBrowsingFiles()
Requires the following changes to external/webkit and packages/apps/Browser
https://android-git.corp.google.com/g/81781
https://android-git.corp.google.com/g/81780

Bug: 3232569
Change-Id: I0247f3db25edfdc95363a5a94296458b20456a46
2010-11-26 11:55:35 +00:00
satok
b416a71e56 Fix build breakage
- Reverted unintenitionally removed function

Change-Id: If083119e31c28b6f73d8ac85f2df4a8ab12dcb7f
2010-11-25 20:42:14 +09:00
satok
440aab54ca Removed InputMethodSubtypePicker
Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
2010-11-25 19:53:56 +09:00
Adam Powell
fc19b84448 Merge "Updated list assets for holo" 2010-11-24 21:14:54 -08:00
Adam Powell
d50761d7e6 Updated list assets for holo
Change-Id: I9ea3ee7e171432ddba76123d0cd38179f96c4d20
2010-11-24 21:13:24 -08:00
satok
cd7cd2969f Store the current IME's token in the system bar for changing the current IME to a shortcut IME from the system bar
Bug: 3212206
Bug: 3201828

- Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input)
- Made the positions of IME buttons left aligned
- IME token is required to change IME because of the security reasons.

Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
2010-11-25 14:02:04 +09:00
Gilles Debunne
d1544d38a2 Merge "Handle hiding timer reset on every move." 2010-11-24 17:13:01 -08:00
Gilles Debunne
2a7f346ff1 Handle hiding timer reset on every move.
updatePosition is the centralized place where this should happen.

Change-Id: If4aab404ab0f3988af96b8d2cb1b41f39f4afa50
2010-11-24 16:56:24 -08:00
Wink Saville
b0be5d1d4a Merge "Use apn types instead of host when sending notifications." 2010-11-24 16:50:32 -08:00
Scott Main
50403a2033 docs: more docs for action bar
add drop-down navigation and action view

Change-Id: I9968def5442646263a482eb28520f099d3c7d6e0
2010-11-24 16:45:47 -08:00
Wink Saville
26f5a384d8 Use apn types instead of host when sending notifications.
Previously we were passing the apn host not the type and this
caused us to sometimes not send out network change notifications.

Also rename of getActivceApn to getActiveApnHost to make
the method clearer on what is being returned and add some debug.

A future change will rename ApnSetting.apn to ApnSetting.host
and getActiveApnString.

bug: 2995554
Change-Id: I0c405b0f823f62c9596968c8516b820d9f8a94f2
2010-11-24 16:44:29 -08:00
Trevor Johns
a4db01151e am d3f19b86: am 210e9c4a: Merge "Revert "Disabling AccessibilityService sample from build system."" into gingerbread
* commit 'd3f19b86b0f454b1bd2600d51d241b05fd5d9331':
  Revert "Disabling AccessibilityService sample from build system."
2010-11-24 16:27:34 -08:00
Xia Wang
a54998f423 am a23fff33: (-s ours) am c1c04ad0: Merge "Add Wi-Fi tests for static IP. DO NOT MERGE" into gingerbread
* commit 'a23fff33517ec4b117064dbc481862abfc55a4c2':
  Add Wi-Fi tests for static IP. DO NOT MERGE
2010-11-24 16:27:17 -08:00
Gilles Debunne
c4440f039e Lazy creation of selection and insertion handles.
Change-Id: I960f6988e8f4c6f933a40fca7dc860e58a6b67d3
2010-11-24 16:24:47 -08:00
Trevor Johns
d3f19b86b0 am 210e9c4a: Merge "Revert "Disabling AccessibilityService sample from build system."" into gingerbread
* commit '210e9c4a8b1fdbe9c409f9ce426907587430858a':
  Revert "Disabling AccessibilityService sample from build system."
2010-11-24 16:23:47 -08:00
Scott Main
d4fbcfa220 am 9e3d14c4: am 93116f8f: am 3577f51d: docs: clarify <include> layout properties bug: 3227820
* commit '9e3d14c4aad7e41406f633734973b191c21b5c5c':
  docs: clarify <include> layout properties bug: 3227820
2010-11-24 16:23:04 -08:00
Trevor Johns
210e9c4a8b Merge "Revert "Disabling AccessibilityService sample from build system."" into gingerbread 2010-11-24 16:21:16 -08:00
Amith Yamasani
f9beaeffef Merge "Use newer SearchView icons and improve layout and highlights." 2010-11-24 16:20:00 -08:00
Amith Yamasani
a9f1e1503f Use newer SearchView icons and improve layout and highlights.
Also fix the theming for AutoCompleteTextView, which is used by SearchView.
2010-11-24 16:16:23 -08:00
Mindy Pereira
85265ad98f Merge "Per designers, update the algorithm for when effect is clipped or stretched." 2010-11-24 16:13:24 -08:00