503 Commits

Author SHA1 Message Date
Guang Zhu
d186ef12b3 am 8c5b3e2f: Change browser reliability test to start a new activity for each url
Merge commit '8c5b3e2fa60e29e45c97bf83b2aa8c6505987f82'

* commit '8c5b3e2fa60e29e45c97bf83b2aa8c6505987f82':
  Change browser reliability test to start a new activity for each url
2009-08-03 15:05:35 -07:00
Guang Zhu
8c5b3e2fa6 Change browser reliability test to start a new activity for each url 2009-08-03 12:18:40 -07:00
Grace Kloba
bf3e69efac DO NOT MERGE
Fix the build, which has been also fixed separately in the master
2009-08-03 12:13:15 -07:00
Grace Kloba
699c646839 fix the build. handleSslErrorRequest needs a return value now. 2009-08-03 11:46:44 -07:00
Android (Google) Code Review
afcf686cb0 am 25dff70f: Merge change 9039 into donut
Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de'

* commit '25dff70f153529b87f5ad4a92f4de21e8950b1de':
  Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
2009-07-30 16:05:27 -07:00
Android (Google) Code Review
2a8c531bac am 65e5438d: Merge change 8966 into donut
Merge commit '65e5438df929ceb8c44fd930b2a363e021914bd0'

* commit '65e5438df929ceb8c44fd930b2a363e021914bd0':
  Add tests for android.net.vpn.
2009-07-30 09:57:02 -07:00
Dianne Hackborn
0d221012ff Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
It turns out we were not returning the density for anything retrieved from a
TypedArray...  which basically means any bitmap references from a layout or style...!!!

This is now fixed.

Also fiddle with the density compatibility mode to turn on smoothing in certain situations,
helping the look of things when they need to scale and we couldn't do the scaling at
load time.
2009-07-29 19:44:01 -07:00
Android (Google) Code Review
65e5438df9 Merge change 8966 into donut
* changes:
  Add tests for android.net.vpn.
2009-07-29 17:16:13 -07:00
Android (Google) Code Review
ba58c6f228 am ad346278: Merge change 8208 into donut
Merge commit 'ad346278fe129a341543d4a75bf9cc08c50742f8'

* commit 'ad346278fe129a341543d4a75bf9cc08c50742f8':
  Removing MD2
2009-07-29 16:45:22 -07:00
Hung-ying Tyan
53582b33e5 Add tests for android.net.vpn. 2009-07-29 19:49:52 +08:00
Andrei Popescu
59e2ad93bf Wire in the AppCache out-of-space callback 2009-07-29 11:07:44 +01:00
Android (Google) Code Review
ad346278fe Merge change 8208 into donut
* changes:
  Removing MD2
2009-07-29 00:38:53 -07:00
Tammo Spalink
f62a2bf29a allow illegal subparam sizes for CDMA SMS
addresses http://buganizer/issue?id=2008358
2009-07-29 14:31:43 +08:00
Guang Zhu
f4bf552b5a checkin for port forwarding through adb, gets access to external network via USB, this also adds in related plumbing for running the http hosted tests, but will not enable those tests yet. 2009-07-27 12:59:02 -07:00
Android (Google) Code Review
e624ee4e57 am 0fdedd00: Merge change 8612 into donut
Merge commit '0fdedd00c510e62223e47d0c5e605b2350d2d304'

* commit '0fdedd00c510e62223e47d0c5e605b2350d2d304':
  Remove visibility checks from SearchManager tests
2009-07-27 09:42:09 -07:00
Tammo Spalink
1424fe0059 added non-numeric cdma sms address support
addresses bug http://buganizer/issue?id=1992198
2009-07-27 14:59:10 +08:00
Bjorn Bringert
3fc78e1294 Remove visibility checks from SearchManager tests
Since the search UI is handled by the system process, and
the service calls to show and hide it are asynchronous,
the tests that checked the visibility of the search UI were
very flaky. This change sclaes the tests back to just check
that nothing crashes when showing and hiding the search UI.

Fixes http://b/issue?id=1993675
2009-07-26 22:27:47 +01:00
Dianne Hackborn
e2dba02441 am 11ea3347: Allow for screen density drawables in compatibility mode.
Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'

* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
  Allow for screen density drawables in compatibility mode.
2009-07-24 16:08:56 -07:00
Dianne Hackborn
11ea33471e Allow for screen density drawables in compatibility mode.
This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode.  In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable.  For
the small rare chance of them breaking, it worth getting the correct
graphics.  Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
2009-07-24 10:47:15 -07:00
Android (Google) Code Review
4b0c3c73c7 Merge change 8302
* changes:
  add account manager permission checking
2009-07-23 17:17:03 -07:00
Android (Google) Code Review
2b067451dc am 1d4b87d4: Merge change 8360 into donut
Merge commit '1d4b87d492dfefb5506e9fcf358ced680322b754'

* commit '1d4b87d492dfefb5506e9fcf358ced680322b754':
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
2009-07-23 16:25:58 -07:00
Fred Quintana
d4a1d2e142 add account manager permission checking 2009-07-23 16:03:54 -07:00
Android (Google) Code Review
1d4b87d492 Merge change 8360 into donut
* changes:
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.
2009-07-23 11:12:19 -07:00
Brett Chabot
a8b30990cb Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
medium continuus suite.
2009-07-23 10:55:32 -07:00
Android (Google) Code Review
1186bb1eca am ae1ba650: Merge change 8227 into donut
Merge commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383'

* commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383':
  Handle null in MatrixCursor.get*()
2009-07-22 13:29:31 -07:00
Android (Google) Code Review
ae1ba65007 Merge change 8227 into donut
* changes:
  Handle null in MatrixCursor.get*()
2009-07-22 13:27:26 -07:00
Bjorn Bringert
f2cec58d90 Handle null in MatrixCursor.get*()
Before, if a column contained null, MatrixCursor.getString()
returned the string "null", and the get<Number>() methods
threw exceptions.

Now, getString() returns null, and get<Number>() return 0.

Fixes http://b/issue?id=1996628
2009-07-22 21:20:51 +01:00
Dianne Hackborn
c00c04d7d8 am 11b822d2: Simplify density compatibility to a boolean.
Merge commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864'

* commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864':
  Simplify density compatibility to a boolean.
2009-07-22 12:01:19 -07:00
Dianne Hackborn
11b822d2a9 Simplify density compatibility to a boolean.
Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.
2009-07-22 11:58:31 -07:00
Android (Google) Code Review
c33bd02e0f am 113eaa59: Merge change 8131 into donut
Merge commit '113eaa59c1dfafd548a13919e48c0346c0c925ac'

* commit '113eaa59c1dfafd548a13919e48c0346c0c925ac':
  Fix android.core.FileTest#testFile: add sdcard write permission to test.
2009-07-22 11:50:57 -07:00
Urs Grob
dbda5ceb49 Removing MD2 2009-07-22 20:09:52 +02:00
Android (Google) Code Review
113eaa59c1 Merge change 8131 into donut
* changes:
  Fix android.core.FileTest#testFile: add sdcard write permission to test.
2009-07-22 10:03:56 -07:00
Andrei Popescu
bc4aa5f693 Fix master build 2009-07-22 09:13:29 +01:00
Android (Google) Code Review
a8339dfec9 am 9fc20b0e: Merge change 8126 into donut
Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'

* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
  First pass at reworking screen density/size APIs.
2009-07-21 19:03:53 -07:00
Dianne Hackborn
c4db95c077 First pass at reworking screen density/size APIs.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
2009-07-21 18:28:42 -07:00
Brett Chabot
d0bff15377 Fix android.core.FileTest#testFile: add sdcard write permission to test. 2009-07-21 18:17:05 -07:00
Android (Google) Code Review
ca9b596505 am 1aa1a154: Merge change 7959 into donut
Merge commit '1aa1a154fd0103d7f0b7e3a2207aae0153549370'

* commit '1aa1a154fd0103d7f0b7e3a2207aae0153549370':
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
2009-07-20 16:13:21 -07:00
Android (Google) Code Review
1aa1a154fd Merge change 7959 into donut
* changes:
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
2009-07-20 16:11:33 -07:00
Yu Shan Emily Lau
24e65beee6 am b42c3a58: Fix the build
Merge commit 'b42c3a5809b16527b38c82be3165128ce10e77e6'

* commit 'b42c3a5809b16527b38c82be3165128ce10e77e6':
  Fix the build
2009-07-20 16:09:57 -07:00
Swarna Kumar
c1889da850 Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file. 2009-07-20 16:06:20 -07:00
Yu Shan Emily Lau
b42c3a5809 Fix the build 2009-07-20 16:01:54 -07:00
Android (Google) Code Review
e83419bae2 am ff851a1d: Merge change 7917 into donut
Merge commit 'ff851a1d669febe3981e248ade14906f1652f018'

* commit 'ff851a1d669febe3981e248ade14906f1652f018':
  Added the vpn unit test template.
2009-07-20 15:36:37 -07:00
Yu Shan Emily Lau
873eb57394 Added the vpn unit test template. 2009-07-20 14:51:25 -07:00
Guang Zhu
f56e1a1ed4 Call WebView#freeMemory before collecting memory information 2009-07-20 11:16:28 -07:00
Android (Google) Code Review
bec99bffee am 5c536e91: Merge change 7840 into donut
Merge commit '5c536e9162721c460699a041959a0d67de1d20db'

* commit '5c536e9162721c460699a041959a0d67de1d20db':
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 21:14:48 -07:00
Android (Google) Code Review
469b4c67ad am aad0fcc9: Merge change 7783 into donut
Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-19 20:28:49 -07:00
Android (Google) Code Review
b933dc7f47 am 22eef5da: Merge change 7753 into donut
Merge commit '22eef5da75604cd14c0f87332cf957c9948a6e33'

* commit '22eef5da75604cd14c0f87332cf957c9948a6e33':
  Add a delay before collecting memory information
2009-07-19 20:20:03 -07:00
Android (Google) Code Review
5c536e9162 Merge change 7840 into donut
* changes:
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 15:29:09 -07:00
Dianne Hackborn
2784ff0af8 Fix issue where scaled bitmap sizes could be wrong.
The Bitmap functions to get the scaled width/height couldn't actually
do the right thing because they didn't know the destination they would
be drawing to.  Now there are two forms of them, taking an explicit
parameter specifying the destination.
2009-07-18 17:13:29 -07:00
Android (Google) Code Review
aad0fcc961 Merge change 7783 into donut
* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-17 17:50:41 -07:00