845 Commits

Author SHA1 Message Date
Guang Zhu
6d001c0f7a am e0aed796: am ccec75e7: Merge "Prevent orientation change from triggering activity recreation." into eclair
Merge commit 'e0aed796f03b080dabae6be0803d4ead1b3260a0'

* commit 'e0aed796f03b080dabae6be0803d4ead1b3260a0':
  Prevent orientation change from triggering activity recreation.
2010-01-22 09:44:34 -08:00
Doug Zongker
37f3ddb60b Merge "relocate GoogleLoginService" 2010-01-21 16:10:58 -08:00
Doug Zongker
0a2fb2174e relocate GoogleLoginService
Change-Id: I79f4ff658ab136adcc54c432db76f34d2de5f6ac
2010-01-21 14:36:17 -08:00
Derek Sollenberger
f5831d4303 Removing unused parameter from NP_Initialize. 2010-01-21 15:06:19 -05:00
Joe Onorato
fd24feaf79 Merge "Add DateTimeView, a widget that shows a time or the date depending on the current time. Use that for notifications instead of a TextView that doesn't ever update." 2010-01-19 16:45:05 -08:00
Joe Onorato
c83bb730ec Add DateTimeView, a widget that shows a time or the date depending on the
current time.  Use that for notifications instead of a TextView that
doesn't ever update.

BUG 1563917
2010-01-19 16:32:22 -08:00
Guang Zhu
e0aed796f0 am ccec75e7: Merge "Prevent orientation change from triggering activity recreation." into eclair
Merge commit 'ccec75e7a842f8ba26617406768206eb3be32222' into eclair-plus-aosp

* commit 'ccec75e7a842f8ba26617406768206eb3be32222':
  Prevent orientation change from triggering activity recreation.
2010-01-19 11:54:05 -08:00
Guang Zhu
4ddcedeff1 Prevent orientation change from triggering activity recreation. 2010-01-19 11:51:44 -08:00
Adam Powell
3e22d199a0 am b5a5a397: am 56a17690: Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can\'t reliably handle translation and scaling at the same time." into eclair
Merge commit 'b5a5a39716502be2cd325a6f9b393e155c0636ee'

* commit 'b5a5a39716502be2cd325a6f9b393e155c0636ee':
  TransformGestureDetector is now ScaleGestureDetector - scope reduced.
2010-01-19 00:02:00 -08:00
Kenny Root
d60e31cbe3 Merge "Update Time.parse3339() unit tests" 2010-01-15 14:44:58 -08:00
Kenny Root
de8aa87016 Update Time.parse3339() unit tests
Month should be n-1 from input and timezone is already normalized to
UTC.

Change-Id: I030c6444f92b96f85acea81f1675edf061bb5451
2010-01-15 14:23:20 -08:00
Vasu Nori
e495d1f74a fix a bug in compiled-sql caching & hide public api setMaxSqlCacheSize
this is a clone of https://android-git.corp.google.com/g/#change,35174.
if the cache is full to its capacity and if a new statement is to be cached,
one of the entries in the cache is thrown out to make room for the new one.
but the one that is thrown out doesn't get deallocated by SQLiteProgram
because it doesn't know that it should.
fixed this by having SQLiteProgram finalize its sql statement in
releaseReference*() methods, if the statement is not in cache.
2010-01-14 15:22:58 -08:00
Adam Powell
b5a5a39716 am 56a17690: Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can\'t reliably handle translation and scaling at the same time." into eclair
Merge commit '56a17690b0b9dc2a2e15ef38a37cc4c403c614fe' into eclair-plus-aosp

* commit '56a17690b0b9dc2a2e15ef38a37cc4c403c614fe':
  TransformGestureDetector is now ScaleGestureDetector - scope reduced.
2010-01-13 18:04:39 -08:00
Adam Powell
ae542ff055 TransformGestureDetector is now ScaleGestureDetector - scope reduced.
N1 screen can't reliably handle translation and scaling at the same time.
2010-01-13 17:08:31 -08:00
Neal Nguyen
96e40b4b37 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:19:11 -08:00
Neal Nguyen
8d1966eac0 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:48 -08:00
Neal Nguyen
83fe5de254 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:17 -08:00
Neal Nguyen
ae51f0a857 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:17:56 -08:00
Adam Powell
908c48587d am 202a6734: am 8acdb201: Added TransformGestureDetector (still in progress) Modified VelocityTracker to track multiple pointers Added TransformTest
Merge commit '202a6734fd39289257955d404edf7a1165f6e480'

* commit '202a6734fd39289257955d404edf7a1165f6e480':
  Added TransformGestureDetector (still in progress)
2010-01-12 15:19:28 -08:00
Adam Powell
202a6734fd am 8acdb201: Added TransformGestureDetector (still in progress) Modified VelocityTracker to track multiple pointers Added TransformTest
Merge commit '8acdb201bdad2cd03c07ebad9cda29f7971ed164' into eclair-plus-aosp

* commit '8acdb201bdad2cd03c07ebad9cda29f7971ed164':
  Added TransformGestureDetector (still in progress)
2010-01-12 15:15:43 -08:00
Adam Powell
8acdb201bd Added TransformGestureDetector (still in progress)
Modified VelocityTracker to track multiple pointers
Added TransformTest
2010-01-12 15:08:23 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Doug Zongker
edc5189c33 change remaining frameworks/base Gservices to Secure settings
Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
2010-01-07 15:00:37 -08:00
Doug Zongker
43866e0c48 move some system services from gservices to secure settings
Change-Id: Ie2dfb99a2b42b2cc9310b858c044d8684e3493fa
2010-01-07 14:20:39 -08:00
Dan Egnor
6916089e83 Remove old EventLog tests from here, they will be replaced by a
(better) EventLog test in CTS.

Fix some minor errors in the handling of too-large event log values.
2010-01-07 00:28:58 -08:00
Dan Egnor
62136d3e1c Simplify EventLog interface -- remove supported for nested
sequences (which nobody used) and streamline the API, adding
documentation in preparation for inclusion in the SDK.

Gut and deprecate EventLogTags, which unfortunately was put
into the public SDK (an oversight).  Include the functionality
in EventLog proper, in a simpler and easier to use manner.

This change doesn't actually un-@hide anything, but it does
change it to @pending.
2010-01-06 12:30:12 -08:00
Jean-Baptiste Queru
432bff01ec Do not use a user tag on apps, as it is ignored.
The build system does not honor user tags on apps,
and setting it is misleading.

This removes the confusion by making the makefiles
behave like they read.

Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
2010-01-06 08:53:44 -08:00
Daisuke Miyakawa
1301341f13 Fix test breakage in vCard exporter.
Due to the change Iae8dbac1, all tests for vCard exporeter has failed.
This change fixes the breakage by using a kind of dirty Dependency Injection.

Current test framework for vCard exporter strongly depends on the assumption that
ContentValues objects are able to be directly passed to objects which use
ContentResolver, while the change above disabled the feature by removing
queryEntities().

This change makes VCardComposer forcibly uses queryEntities() via Reflection.
I agree that this change is not so clean, but works fine for now.
2010-01-05 13:44:51 +09:00
Neal Nguyen
ae46195d4f Framework Tests Cleanup: Removing CTS duplicate files
This file is basically just a wrapper around AndroidTest, which is going away as part of framework test cleanup.

AndroidTests.java is just a wrapper around all the actual tests, so can be removed as well.
2010-01-04 12:23:56 -08:00
Dan Egnor
e38d58bf89 Remove Google-specific (or only-used-by-Google-code) classes.
Fix a small typo in Context javadoc.
2010-01-04 10:14:21 -08:00
Grace Kloba
2c3058a88f am 8d562f78: am bc7afcb9: Merge "free the NPObject in NPP_Destroy." into eclair-mr2
Merge commit '8d562f78b4919babe1f7e32e974e5057dcfbb310'

* commit '8d562f78b4919babe1f7e32e974e5057dcfbb310':
  free the NPObject in NPP_Destroy.
2010-01-04 10:05:21 -08:00
Grace Kloba
8d562f78b4 am bc7afcb9: Merge "free the NPObject in NPP_Destroy." into eclair-mr2
Merge commit 'bc7afcb94688dedb0ae9b4b3415f46aa13e713e5' into eclair-mr2-plus-aosp

* commit 'bc7afcb94688dedb0ae9b4b3415f46aa13e713e5':
  free the NPObject in NPP_Destroy.
2010-01-04 10:01:24 -08:00
Grace Kloba
c782c8d327 free the NPObject in NPP_Destroy. 2009-12-27 14:38:14 -08:00
Neal Nguyen
2574d50bd5 Framework Tests Cleanup: Removing CTS duplicate files
First phase of cleanup: removing duplicate files that already exist in CTS.
DatabaseTests.java and ContentTests.java are modified to remove entries
of deleted files, the remaining files are deleted duplicates.
2009-12-23 18:05:01 -08:00
Neal Nguyen
c19be0527c Framework Tests Cleanup: Removing CTS duplicate files
NeighboringCellInfoTest.java is already included in CTS, so removing this one under frameworks.
2009-12-23 16:30:36 -08:00
Neal Nguyen
a5411f5b8d Framework Tests Cleanup: Removing CTS duplicate files
CookieTest.java is already included in CTS, so removing this one under frameworks.
2009-12-23 16:02:55 -08:00
Tom Taylor
f0108cda21 resolved conflicts for merge of ad2fa35d to master
Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
2009-12-22 10:11:55 -08:00
Android (Google) Code Review
f966afa146 Merge change I34a427a5
* changes:
  Adding support for LoggingPrintStream.write(byte[]) and friends.
2009-12-21 18:39:19 -08:00
Jean-Baptiste Queru
5237f019b9 am c4978805: merge from open-source master
Merge commit 'c4978805dc8837570701629a9b8098e80804ad34'

* commit 'c4978805dc8837570701629a9b8098e80804ad34':
  ImageButton example doesn't work. Default state should be at the last.
  Time.parse3339 range checking and proper 'sec-frac' skip
2009-12-21 15:52:57 -08:00
Tom Taylor
ad2fa35d88 am d4a4729c: Update imports to android-common
Merge commit 'd4a4729c0cac582a2dcec7c8cfb316b81885a0f0' into eclair-mr2-plus-aosp

* commit 'd4a4729c0cac582a2dcec7c8cfb316b81885a0f0':
  Update imports to android-common
2009-12-21 15:44:34 -08:00
Jean-Baptiste Queru
c4978805dc merge from open-source master 2009-12-21 15:32:25 -08:00
Tom Taylor
d4a4729c0c Update imports to android-common
Several files were moved to android-common. Update all the references
to import those files from the new location.
2009-12-21 13:59:18 -08:00
Android (Google) Code Review
e8bae73b8c Merge change I3632fede
* changes:
  Bug 2330278
2009-12-18 15:31:49 -08:00
Jesse Wilson
f41de2a4a1 Adding support for LoggingPrintStream.write(byte[]) and friends.
By default, Android's System.out and System.err are implemented by
the AndroidPrintStream subclass of LoggingPrintStream. Until now,
that class has silently discarded the raw bytes it has received.
This causes two problems:

Applications may be accidentally wasting CPU+memory writing to
System.out. By making this output visible, the developers of such
applications can silence the problem at the source.

Application developers may be purposefully writing to these streams
and perplexed by the data's disappearance. For example, the core
library's own java.util.logging.ConsoleHandler sends its log data
into this black hole. By making the data visible, we save the data
and remove an unnecessary sharp edge from our API.
2009-12-18 13:41:15 -08:00
Paul Westbrook
b8d4698818 Bug 2330278
Deleted old copy of SimplePullParser, since it has been moved to
gdata
2009-12-17 10:47:17 -08:00
Adam Powell
89107c1521 Updated test GridTouchVerticalSpacingStackFromBottomTest for larger screens.
Addresses bug 2176089 http://b/issue?id=2176089
Now takes into account screen scaling.
2009-12-16 15:06:33 -08:00
Fred Quintana
2c5634198a resolved conflicts for merge of 5a374f94 to master 2009-12-15 15:57:33 -08:00
Paul Westbrook
01dde47ea9 Bug 2326468
Deleted old copy of the GoogleHttpClient, and the unit tests.
2009-12-15 14:26:13 -08:00
Fred Quintana
5a374f94f8 am 274dc9d3: moved the hidden sync helpers out of the framework
Merge commit '274dc9d35fdf5d0464f74071a9a8f14e497d4d5f' into eclair-mr2-plus-aosp

* commit '274dc9d35fdf5d0464f74071a9a8f14e497d4d5f':
  moved the hidden sync helpers out of the framework
2009-12-15 05:56:03 -08:00
Fred Quintana
274dc9d35f moved the hidden sync helpers out of the framework 2009-12-14 16:33:13 -08:00