36893 Commits

Author SHA1 Message Date
Gilles Debunne
8df09a0906 SelectAllOnFocus switches to highlighted mode, not text selection mode
Change-Id: Ia0adf561f207e0a82d9588471823da7f5b2f1799
2010-11-29 14:57:12 -08:00
Joe Onorato
3abc5b00f8 Merge "Do not disturb." 2010-11-29 14:55:57 -08:00
Joe Onorato
2039e48474 Do not disturb.
Change-Id: I9550970f322872787ef903ca762dfdf2ed9d2835
2010-11-29 14:54:24 -08:00
Dianne Hackborn
e26092e202 Merge "Don't leak." 2010-11-29 14:43:06 -08:00
Dianne Hackborn
1f5b195ed0 Don't leak.
Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6
2010-11-29 14:41:46 -08:00
James Dong
40220edf0e Merge "Renable the captureFrame unit tests" 2010-11-29 14:16:45 -08:00
Jeff Brown
40c01e3826 Merge "Tweak key layouts." 2010-11-29 13:49:01 -08:00
Shimeng (Simon) Wang
7691451094 Merge "Set initial view scale to be at least overview scale." 2010-11-29 13:43:36 -08:00
Shimeng (Simon) Wang
96fcb87ae1 Set initial view scale to be at least overview scale.
Some website will have an initial view scale which is less
than the overview scale and the page will display poorly.

This fix sets the initial scale and text wrap scale to be at least
overview scale to make the page looking good at first load.  When a page
is restored, the scale will not be changed.

Also make the reading level scale always bigger than overview
scale for consistency.

issue: 3226625
Change-Id: I8b77cf4fda454a35c3037fa09aaff1aac0c0f664
2010-11-29 13:32:52 -08:00
James Dong
7411c1b836 Renable the captureFrame unit tests
o We need to make sure that
  /sdcard/media_api/metadata rwx to the test app
  before tests

Change-Id: Iaa2d58bb2d380bf7e93ec71f77c4c769d65b1d85
2010-11-29 12:59:39 -08:00
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
Jeff Brown
d49c347921 Tweak key layouts.
Change-Id: I19777ec4e5d0a5485cfe2a44a15e2b0680557d08
2010-11-25 15:02:36 -08: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