History log of /frameworks/base/core/java/android/widget/ImageView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b241b4c6ab8dc6174375b6f18f83e04f569b299f 11-Nov-2011 Adam Powell <adamp@google.com> Make the overridden ImageView#setVisibility remotable

Change-Id: Idaf061ea8c2a06ec8abaf74cf865446d9092afa2
/frameworks/base/core/java/android/widget/ImageView.java
6a939ae6fd7d130a3dc9b011877eac4e280c0546 10-Nov-2011 Adam Powell <adamp@google.com> Fix access modifiers on ImageView overrides

Change-Id: I64cc10c877ac4adc4b79abcd7c7617480bd82906
/frameworks/base/core/java/android/widget/ImageView.java
37419d7321e71edb179faa0eafd2a2acf12b62c1 10-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5581874 - Animated drawables don't start as expected

Fix a bug that caused animated drawables to not schedule properly when
a view has not yet been attached. Also make ImageViews update their
drawable visibility state properly, which will handle scheduling
concerns as ImageViews are attached and detached from their windows.

This should also fix the bug where animated notification icons in the
status bar do not animate until the posting app posts an update to the
notification.

Change-Id: I24c403182831258d1f251736e920c9efe1d38299
/frameworks/base/core/java/android/widget/ImageView.java
ba1fe8e3cfcf029a9bbd9bc7575e2b5c4f4ad8b0 15-Oct-2011 Chet Haase <chet@google.com> Issue 5432115: Speed up notification scrolling

The NotificationPanel was using views that had non-1 alpha
values set on them (permanently). This is costly in the GL
implementation and caused more rendering overhead, and worse
performance, than simple opaque views would.

The fix is to set the text color and ImageView drawable alpha
directly, without setting the View alpha property.

Change-Id: I381e0bd45bf45784b8e364a27a339e6583189a43
/frameworks/base/core/java/android/widget/ImageView.java
031d9c1389de2b9dac7f175af0b962e24b21d5be 10-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility delegate mechanism for backwards compatibility support.

1. Added an AccessibilityDelegate class in View which can be set by
a client that wants to cutomize accessibility behavior via
composition as opposed to inheritance. Insead overriding a new method in
View thus being bound to the API version that introduced this
method a developer can conditionally inject the accessibility
customization if the platform API version is heigh enough. The
developer will have to override the method of interest of the
delegate. The default implementation of the delegate methods is
the same as that of View in the case that there is no delegate
set. If a delegate is set calling an accessibility related method
on View will be handed off to the corresponsing method of the
delegate.

bug:5259555

Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4
/frameworks/base/core/java/android/widget/ImageView.java
9e648c44dee1e86e7839292feac9d49b3f3c8ce4 18-Aug-2011 Romain Guy <romainguy@google.com> Invoke requestLayout() when drawables have different sizes.
Bug #5142668

Change-Id: I0d3ae27984e69394e64b8aa0623bc3d6b22bc629
/frameworks/base/core/java/android/widget/ImageView.java
2a0e99da03ae85d18c9f35913e7dd04b94c1cf41 04-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5118908 - ImageView.setImageDrawable always requests layout

Make ImageView a bit more conservative about when it requests a
layout. This improves performance for ListViews where apps
asynchronously load images and replace placeholders outside of the
optimized getView path.

Change-Id: I564a4a343ab9c8c2d5baf907b5f573b5ee02c87a
/frameworks/base/core/java/android/widget/ImageView.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
/frameworks/base/core/java/android/widget/ImageView.java
c0053223bedf33581b0830fb87be32c1f26e5372 13-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View.getResolvedLayoutDirection()

- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout

Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
/frameworks/base/core/java/android/widget/ImageView.java
a98eef8601dfd280f56f7a51495ecd4127eefbb2 27-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix overrides of isLayoutRtl(Drawable dr)

Change-Id: I7042805747db134d93e39cbb41773d8d5a1cb370
/frameworks/base/core/java/android/widget/ImageView.java
6a03640539405afbdefe72894759281b98aa6e6f 23-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Add support for Gravity BEFORE and AFTER

- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests

Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
/frameworks/base/core/java/android/widget/ImageView.java
9fc27819d75e24ad63d7b383d80f5cb66a577a0d 27-Apr-2011 Romain Guy <romainguy@google.com> Correctly compute tex coords for rect layers.
Bug #4192695

This change also fixes Javadoc links in the framework.

Change-Id: Ia548bcb18baba5d6fe6a4a04a2278e3a3bd465b2
/frameworks/base/core/java/android/widget/ImageView.java
189ee18d6c6483ad63cc864267328259e2e00b95 03-Dec-2010 Dianne Hackborn <hackbod@google.com> Implement smarter sizing of WRAP_CONTENT windows.

This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size. They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
/frameworks/base/core/java/android/widget/ImageView.java
fd52b18d9bf3cd62c7a07058536e9f97db65beea 11-Nov-2010 Joe Onorato <joeo@google.com> The beginnings of the new status bar.

There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
/frameworks/base/core/java/android/widget/ImageView.java
e213677037f836529efcc0ac201fc61dd95481c5 04-Nov-2010 Dianne Hackborn <hackbod@google.com> Push the jumpDrawablesToCurrentState() thing off everywhere it should be.

Also add a new interface that items in AbsListView can implement to
adjust the bounds of the selection shown for them. This will allow
contacts to use list view's regular selection facility rather than
implementing something special in their item views.

Change-Id: I29cbdbc7122111ee97e47fe7d6ec55ff07be79cc
/frameworks/base/core/java/android/widget/ImageView.java
e5ebcb0107a939395e03592fd44c746cd09e311d 15-Oct-2010 Romain Guy <romainguy@google.com> Fix clipping issue in StackView.

Change-Id: I7ec28f25c3993a2bd7ef6399ba1923839d239905
/frameworks/base/core/java/android/widget/ImageView.java
c6b0b7755c7932136c3bcdadfb56657f1f611465 27-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> Document blocking behavior of ImageView setImageURI and setImageResource

Change-Id: I3b0633321229cad80ebf32e052c0db170a56de21
/frameworks/base/core/java/android/widget/ImageView.java
b4938201bad1050a5e3821d60ea43e71861cc733 16-Mar-2010 Romain Guy <romainguy@android.com> Round up ImageView translations to avoid nasty surprises.
Bug #2499812

Change-Id: If90acb7e13aa30e5a0a4e73782d033a5bb4e3264
/frameworks/base/core/java/android/widget/ImageView.java
42c79880b0c19dfbcd8589d89d35fcedb1a7c9da 02-Mar-2010 Romain Guy <romainguy@android.com> Apply alpha animations on ImageView instances.
Bug #2479570
/frameworks/base/core/java/android/widget/ImageView.java
2b95c2413838c2e2b127ebab8fb4fead7d52e460 09-Feb-2010 Jeff Sharkey <jsharkey@android.com> Added more @RemotableViewMethod methods, mutate ImageView.

Catch some View methods missed during the first pass of
marking with @RemotableViewMethod annotation. Also adds new
ImageView.setColorFilter(int) to match the android:tint XML
attribute.

When ImageView touches ColorFilter or alpha, mutate the
underlying Drawable. Fix NPE in StateListDrawable.mutate().
/frameworks/base/core/java/android/widget/ImageView.java
9d8d9c22bb98e656cb2e42673c4ba801821c4e5d 06-Jan-2010 Bjorn Bringert <bringert@android.com> Get correct density info when using resource URIs in ImageView

Before, when an android.resource URI was passed to
ImageView.setImageURI(), it was loaded through an InputStream.
This didn't get the density information correctly.

Instead, we use Resources to load the Drawable, which fixes
the denisty problem.

Change-Id: Ie8427ea04da43f414b49014d012671fc0aa27a30
/frameworks/base/core/java/android/widget/ImageView.java
0f8555b72861b7b9a233ab65b14055c98b145c91 27-Nov-2009 Bjorn Bringert <bringert@android.com> Allow resource and file URIs in ImageView.setImageURI()

Before, if you passed an android.resource URI, e.g.
"android.resource://com.android.browser/2130837550"
to ImageView.setImageURI(), it failed with:

I/System.out( 1730): resolveUri failed on bad bitmap uri: android.resource://com.android.browser/2130837550

This change allows android.resource: and file: URIs in addition to the
existing support for content: URIs.

Fixes: http://b/issue?id=2289441

Change-Id: I98819b183c29eb60a70708d373d2199cdc0ea017
/frameworks/base/core/java/android/widget/ImageView.java
f88872655e85570f3b9bfebe78647ed36916b3f4 30-Jul-2009 Chih-Chung Chang <chihchung@google.com> Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.

The drawing matrix used in onDraw() is mDrawMatrix, but in setImageMatrix()
only mMatrix is updated. We need to call configureBounds() to update
mDrawMatrix if it was null. The is found in bug 2023281.
/frameworks/base/core/java/android/widget/ImageView.java
11ea33471e1a14a8594f0b2cd012d86340dd3bd8 23-Jul-2009 Dianne Hackborn <hackbod@google.com> 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.
/frameworks/base/core/java/android/widget/ImageView.java
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec 15-May-2009 svetoslavganov <svetoslavganov@google.com> Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/core/java/android/widget/ImageView.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/widget/ImageView.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/ImageView.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/ImageView.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/widget/ImageView.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/widget/ImageView.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/widget/ImageView.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/frameworks/base/core/java/android/widget/ImageView.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/ImageView.java