• Home
  • History
  • Annotate
  • only in /frameworks/support/volley/src/com/
History log of /frameworks/support/volley/src/com/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
98b742c331fd68b7801853c22f710362603535f0 24-Sep-2012 Jorim Jaggi <jjaggi@google.com> Set thread priority to background in Volley.

This change sets the priority of all created threads in the Volley
library to Process.THREAD_PRIORITY_BACKGROUND as proposed by the
framework for threads running things in the background.

Change-Id: I919a70fbe2f46e8089fc5af55e8aabe8c11c7262
ndroid/volley/CacheDispatcher.java
ndroid/volley/NetworkDispatcher.java
c21893eac195508dab45d795322e3278ebb9fe1f 17-Sep-2012 Jorim Jaggi <jjaggi@google.com> Do not upscale images in Volley library.

This changes prevents that images received from the web don't get upscaled
locally. Previously, they got upscaled to match mMaxWidth and mMaxHeight,
which is wrong because mMaxWidth and mMaxHeight only specify the maximum
width and height and not the actual one.

Change-Id: I410bb73b330daeb88387584d71c1e58fa2f610a9
ndroid/volley/toolbox/ImageRequest.java
6e45c6884fb390cbdd975f624da5179686fdf861 02-Jun-2012 Ficus Kirkpatrick <ficus@android.com> Merge "Add a Future for requests."
b5f1a5083f4d6a0e4ca8403243b37ea2609bcf39 01-Jun-2012 Ficus Kirkpatrick <ficus@android.com> Add a Future for requests.

Useful for doing synchronous operations off of the main thread.

Change-Id: I4c62464682ebfeb4027a10f0236251a0569f8f47
ndroid/volley/toolbox/RequestFuture.java
1a93c6dd94e239ab34156aa7e22d12637bec18f5 01-Jun-2012 Ficus Kirkpatrick <ficus@android.com> Remove the hated drain().

Bug: 4972050
Change-Id: I4cfcfc84f1a58f3b4c26556634a07876178518a0
ndroid/volley/ExecutorDelivery.java
ndroid/volley/Request.java
ndroid/volley/RequestQueue.java
ndroid/volley/ResponseDelivery.java
4474bc11f64b2b274ca6db5a1e23e8c1d143d5fa 20-Apr-2012 Christoph Studer <chstuder@google.com> Remove Authenticator.getAuthToken(String)

It was weird to support multiple token types to begin with.

Change-Id: I4959266c92cba24cdabf2a47d5cea9cd7e9f8b9c
ndroid/volley/toolbox/AndroidAuthenticator.java
ndroid/volley/toolbox/Authenticator.java
14690ddb315cc7cf34c23966e63a46a29cec922f 18-Apr-2012 Christoph Studer <chstuder@google.com> Merge "Remove forceReauth from AndroidAuthenticator"
cbbd3af2a6fd57ebbe9da9b1c2f42a3c98171bb1 17-Apr-2012 Aurash Mahbod <aurash@google.com> Make getFileForKey() public

Change-Id: I59bbaab1533ca2826cb6ffe1831b2c03fbde589d
ndroid/volley/toolbox/DiskBasedCache.java
9c99b2fd06f73a9689709923f81c6e5a4c67330c 27-Mar-2012 Christoph Studer <chstuder@google.com> Remove forceReauth from AndroidAuthenticator

This depends on the private AccountManager.peekAuthToken that is not
supported anymore in JB.

Bug: 6212009
Change-Id: I5d187c7fe6f35f357286085eec0eb9ec99f26d06
ndroid/volley/toolbox/AndroidAuthenticator.java
ndroid/volley/toolbox/Authenticator.java
c4cbfcb8d044cea99e2471ce5c401cd959b6cdfe 29-Mar-2012 Scott Barta <sbarta@google.com> Creates a pooled ByteArrayOutputStream

Creates a version of ByteArrayOutputStream that uses a pool of buffers
instead of always allocating them fresh. This reduces heap churn and
improves GC performance.

Change-Id: I296ba4be7174d2b768b16bc02df6972f25e86bc2
ndroid/volley/toolbox/BasicNetwork.java
ndroid/volley/toolbox/ByteArrayPool.java
ndroid/volley/toolbox/DiskBasedCache.java
ndroid/volley/toolbox/PoolingByteArrayOutputStream.java
19a56e8495477bfd89e4c4913860fdbcb7beb504 24-Mar-2012 Ficus Kirkpatrick <ficus@android.com> Implement cancel by tag and deprecate drain.

Bug: 5687514
Change-Id: Id7cecdd34185c1bf3ce1f3acebcbd530b34df994
ndroid/volley/Request.java
ndroid/volley/RequestQueue.java
ndroid/volley/ResponseDelivery.java
9c19fc62ddd9d1b371cb3ead4e10bb5ff1100a6c 15-Feb-2012 Jeff Sharkey <jsharkey@android.com> Use elapsedRealtime() to avoid NITZ changes.

When calculating duration of events, use elapsedRealtime() which
is monotonic during a single boot, and isn't subject to wall clock
changes triggered by NITZ.

Change-Id: I127440dc357e639e1bf91509a215e9ae4f40d310
ndroid/volley/Request.java
ndroid/volley/VolleyLog.java
ndroid/volley/toolbox/BasicNetwork.java
ndroid/volley/toolbox/DiskBasedCache.java
65ba8a453a64cd8cedb176b26ab505711c46a89d 17-Nov-2011 Ficus Kirkpatrick <ficus@android.com> Correctly parse headers for JSON requests.

We were previously ignoring both charset and cache headers.

Bug: 5613882
Change-Id: Ib4c1e70b0eb728e1db53fa9e721389b6454de56e
ndroid/volley/toolbox/JsonArrayRequest.java
ndroid/volley/toolbox/JsonObjectRequest.java
ccde61ed8922020f05bd43a80dfcc130c99c00f0 11-Nov-2011 Scott Barta <sbarta@google.com> Adds support for Cache-Control HTTP header.

Adds header parsing for the Cache-Control header, in addition to the
Exipres header. As per the HTTP spec, Cache-Control takes precedence
over Expires if both are specified, even if Expires is more
restrictive. This particular case will let us properly cache Ocean
thumbnails, which give us a funky Expires header but normal
Cache-Control.

Bug: 5584852
Change-Id: I7405f0f1062d39d014807e39dacb39c2e2471fde
ndroid/volley/toolbox/HttpHeaderParser.java
3713094c56d25e25df2a508dbee4aea869ffdea1 03-Nov-2011 Ficus Kirkpatrick <ficus@android.com> Volley: an HTTP RPC library.

Change-Id: I05bb67da2bdcaf127dcaf772947ba56cd115b00a
ndroid/volley/AuthFailureError.java
ndroid/volley/Cache.java
ndroid/volley/CacheDispatcher.java
ndroid/volley/DefaultRetryPolicy.java
ndroid/volley/ExecutorDelivery.java
ndroid/volley/Network.java
ndroid/volley/NetworkDispatcher.java
ndroid/volley/NetworkError.java
ndroid/volley/NetworkResponse.java
ndroid/volley/NoConnectionError.java
ndroid/volley/ParseError.java
ndroid/volley/Request.java
ndroid/volley/RequestQueue.java
ndroid/volley/Response.java
ndroid/volley/ResponseDelivery.java
ndroid/volley/RetryPolicy.java
ndroid/volley/ServerError.java
ndroid/volley/TimeoutError.java
ndroid/volley/VolleyError.java
ndroid/volley/VolleyLog.java
ndroid/volley/toolbox/AndroidAuthenticator.java
ndroid/volley/toolbox/Authenticator.java
ndroid/volley/toolbox/BasicNetwork.java
ndroid/volley/toolbox/ClearCacheRequest.java
ndroid/volley/toolbox/DiskBasedCache.java
ndroid/volley/toolbox/HttpClientStack.java
ndroid/volley/toolbox/HttpHeaderParser.java
ndroid/volley/toolbox/HttpStack.java
ndroid/volley/toolbox/HurlStack.java
ndroid/volley/toolbox/ImageRequest.java
ndroid/volley/toolbox/JsonArrayRequest.java
ndroid/volley/toolbox/JsonObjectRequest.java
ndroid/volley/toolbox/JsonRequest.java
ndroid/volley/toolbox/NoCache.java
ndroid/volley/toolbox/StringRequest.java