36911 Commits

Author SHA1 Message Date
Dirk Dougherty
e7d9ab0dcf am cb1af77f: am b1150edc: Remove HeavyWeight sample from generated html samples.
* commit 'cb1af77f1fefddb78b4540db7d4a1df673caffe2':
  Remove HeavyWeight sample from generated html samples.
2010-11-29 17:15:47 -08:00
Dirk Dougherty
cb1af77f1f am b1150edc: Remove HeavyWeight sample from generated html samples.
* commit 'b1150edc22d97b36c626a460717803f22b9fa5f2':
  Remove HeavyWeight sample from generated html samples.
2010-11-29 17:12:40 -08:00
Dirk Dougherty
b1150edc22 Remove HeavyWeight sample from generated html samples.
Change-Id: Idafb3d225d8e6a694faa2d8679c4dad6198df466
2010-11-29 17:03:15 -08:00
Costin Manolache
974ab30569 Merge "Fix permission." 2010-11-29 16:11:26 -08:00
Eric Fischer
8b780ec773 Merge "Import revised translations." 2010-11-29 16:03:04 -08:00
Joe Onorato
7b606b8957 Merge "Show the network type." 2010-11-29 15:53:48 -08:00
Joe Onorato
42f8e13024 Show the network type.
Change-Id: I3487655dce80eef26bfd575b63eb649d9b5e5325
2010-11-29 15:52:43 -08:00
Svetoslav Ganov
206316a61f New Number picker widget
Change-Id: I834e725b58682e7a48cc3f3302c93c57b35d4e27
2010-11-29 15:47:55 -08:00
Scott Main
360a102f41 Merge "docs: add preview sdk docs to provide an api overview and install steps, enable the 'preview' flag for the docs build revise sdk side nav for preview" 2010-11-29 15:23:31 -08:00
Olivier Bailly
997d15e1a6 Merge "fix int vs. pointer mismatch in return statement. Add missing include header for compilation on x86 target." 2010-11-29 15:12:33 -08:00
Eric Fischer
8d1efa9577 Import revised translations.
Change-Id: I8d5fe7c1cf2f2a7903997da38b6abfe4dcabdab7
2010-11-29 15:10:37 -08:00
Vasu Nori
a84a744bb1 Merge "if db close() fails due to un-closed sql statements, print useful msg" 2010-11-29 15:09:30 -08:00
Louis Huemiller
883ad9e260 Merge "Hardware Composer Stress Test" 2010-11-29 15:04:12 -08:00
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
Scott Main
b402f11a6d docs: add preview sdk docs to provide an api overview and install steps,
enable the 'preview' flag for the docs build
revise sdk side nav for preview

Change-Id: Ifc26cfb1f18e394e96853fd42f0e194d5f8552f3
2010-11-29 14:28:13 -08:00
James Dong
40220edf0e Merge "Renable the captureFrame unit tests" 2010-11-29 14:16:45 -08:00
Vasu Nori
b438902369 if db close() fails due to un-closed sql statements, print useful msg
The current error message says "close failed due to unfinalised statements".
This CL fixes that message by incorporating one of the un-closed sql statements
should help developers debug the problem.

Change-Id: I2a24c6ba876caa008507b236052c5f03e8cbb27e
2010-11-29 14:10:46 -08:00
Louis Huemiller
98027ada3a Hardware Composer Stress Test
Change-Id: Ief08b22dacd052483f10754b3ab61aa09ca28b17
2010-11-29 14:08:57 -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