History log of /frameworks/base/core/java/android/widget/RemoteViews.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a19402165000e9513f3097e10df2b7ebc8dbe1d4 29-Jun-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #6756472: Share button is not defocusing the shade

I got this reproduce a few times, then wasn't able to. I made this
change and then couldn't reproduce it. Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class. This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
/frameworks/base/core/java/android/widget/RemoteViews.java
1927ae8a56a010919a7535231fa0f7db70f7e152 23-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
/frameworks/base/core/java/android/widget/RemoteViews.java
d5353b475001f19e3cbc9c1a4165c9e6038a812f 21-Jun-2012 Daniel Sandler <dsandler@android.com> Fix docs

Change-Id: Ic5ff9aa07e65166a4ecaeecc5fb5e0091275bdcc
/frameworks/base/core/java/android/widget/RemoteViews.java
064f9907c98283e76ed03fa65484fc6face22f92 21-Jun-2012 Daniel Sandler <dsandler@android.com> Unhide new methods on RemoteViews and Notification.

Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d
/frameworks/base/core/java/android/widget/RemoteViews.java
636fd528f7ad51f565a390226d9f469f8c675ccf 06-Jun-2012 Dianne Hackborn <hackbod@google.com> Docs (mostly): enumerate JELLY_BEAN target SDK changes.

Okay this isn't entirely docs. I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c
/frameworks/base/core/java/android/widget/RemoteViews.java
99d1f74864c3449585690f85a5fe6fb36ef796d5 21-May-2012 Daniel Sandler <dsandler@android.com> Add RemoteViews.setViewPadding().

Bug: 6519374
Change-Id: I29ad738d741153a9d9e74c9e2ac110a8b97f046b
/frameworks/base/core/java/android/widget/RemoteViews.java
7264f71399018e2dd79d974ee5162cf652ac786f 21-May-2012 Daniel Sandler <dsandler@android.com> Remotable view method for TextView.setTextSize(int, float).

The only remotable method on TextView is setTextSize(float)
which assumes "sp" dimensions, making it tricky to get exact
text sizes.

Bug: 6519374
Change-Id: I961bbdd607ca6786c0630ff1ce19186f54f6f31f
/frameworks/base/core/java/android/widget/RemoteViews.java
311c79c3e93589c6fc720fe6c58ed522af591376 10-May-2012 Adam Cohen <adamcohen@google.com> Cap widget bitmap usage by screen size (issue 6464700)

Change-Id: I04e16223861a88d40ad757afa086a0f92e84493b
/frameworks/base/core/java/android/widget/RemoteViews.java
66388dcb09018933ccd1d38eae563f0890ba4f06 04-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Hide RTL related APIs - DO NOT MERGE

- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
/frameworks/base/core/java/android/widget/RemoteViews.java
ffc46a5c7c60c911fdaab48681c323c89b570dac 01-May-2012 Adam Cohen <adamcohen@google.com> Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)

Change-Id: If60f98c5e1be66ca840cbd4953841ef2c57a012b
/frameworks/base/core/java/android/widget/RemoteViews.java
c431c156bbb5c59f921c031e56744e5d6f12a77a 27-Apr-2012 Adam Cohen <adamcohen@google.com> Fix NPE in RemoteViews (issue 6408103)

Change-Id: I3e7ff2941b721c2c0c5c4e7d598df794b105c391
/frameworks/base/core/java/android/widget/RemoteViews.java
5d20064651b9947a4573c9a0eefec90f66eb1b59 24-Apr-2012 Adam Cohen <adamcohen@google.com> Enabling RemoteViews to have a landscape and portrait layout

-> Implmented BitmapCache to ensure no bitmap data is duplicated
within a RemoteViews hierarchy.

Change-Id: I68f0f5e2882ee2a2a9a110c1642b93c4c7518743
/frameworks/base/core/java/android/widget/RemoteViews.java
dc6f79bf4374f2fcea2b9d4d0aa7f2e39cc42456 18-Apr-2012 Winson Chung <winsonc@google.com> Updating activity/task transition animations.

Change-Id: I0d4295d269222310a5a6594fb379b9592dd9ced0
/frameworks/base/core/java/android/widget/RemoteViews.java
820ba323f9919d33aac5e999bd8daa7842d3969c 23-Mar-2012 Daniel Sandler <dsandler@android.com> Add remotable methods for TextView's compound drawables.

Change-Id: I67445e5b1d4a571020dfcd551ab00bd83a8eb536
/frameworks/base/core/java/android/widget/RemoteViews.java
b8b36b8b78e408f8b95cbf1ec7bfd87f30e8da7b 05-Mar-2012 Scott Main <smain@google.com> am dc022a6f: am 08e91352: am 93dc642e: docs: fix misc bugs from external tracker

* commit 'dc022a6f9aa30d9282c4f82c1cc4d1c8bde7e808':
docs: fix misc bugs from external tracker
93dc642eaf48e3db58c4929df26283fbc5fd663f 24-Feb-2012 Scott Main <smain@google.com> docs: fix misc bugs from external tracker

Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a
/frameworks/base/core/java/android/widget/RemoteViews.java
c6151f2369d92e7725d30d13c62b64cff49285a6 03-Feb-2012 Adam Cohen <adamcohen@google.com> Handle null PendingIntents, Bitmaps, Uris and Intents in RemoteViews (issue 5223291)

Change-Id: If8895b774dee6ba4138751a0c2f68c70402b3fa5
/frameworks/base/core/java/android/widget/RemoteViews.java
e261e283eaedd38235fc93b2a5c35758c613b10c 19-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Add content description setter to RemoteViews

bug:5480389

Change-Id: I66616f379a244ba7f3552d766f3aaa77f207550a
/frameworks/base/core/java/android/widget/RemoteViews.java
037300bba5c87c9a9efe1f693b48f6ff1ffd7479 30-Mar-2011 Winson Chung <winsonc@google.com> Deprecating old RemoteViews API which takes appWidgetId when setting the RemoteViewsAdapter intent.

Change-Id: I72edaa839ae0633a1a24d8f69f5f8c664832ed30
/frameworks/base/core/java/android/widget/RemoteViews.java
0b96a57c851af2f66e3bc738035478efb3c1957e 11-Feb-2011 Adam Cohen <adamcohen@google.com> Making AdapaterViewAnimator setDisplayedChild remotable

Change-Id: Idee91f457e1d4316feb077aaa949baa54eca6ab1
/frameworks/base/core/java/android/widget/RemoteViews.java
0fd9be211881d3942e44962c6dff364719443c3b 19-Jan-2011 Winson Chung <winsonc@google.com> Removing deprecated widget api method.

Change-Id: I0610dcb5cf1001b2b7e86d78a88addf174cedd77
/frameworks/base/core/java/android/widget/RemoteViews.java
81f39eb6e76d0be1dd341af835e8002a0f80524e 12-Jan-2011 Winson Chung <winsonc@google.com> Refactoring app widgets to address security/performance issues.

- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
/frameworks/base/core/java/android/widget/RemoteViews.java
f01345e19d6ab39c368d030a7741a06d25b4d2cc 18-Jan-2011 Joe Onorato <joeo@google.com> Don't crash with non-standard bitmap types.

Bug: 3299780
Change-Id: I435c3bedda22395db1b65dc9ff488bfea9069deb
/frameworks/base/core/java/android/widget/RemoteViews.java
a32edd4b4c894f4fb3d9fd7e9d5b80321df79e20 26-Oct-2010 Adam Cohen <adamcohen@google.com> Adding click feedback to widget collections

Change-Id: I97fceb6c68ca6eb1b703eafacf201e1aed7c38e7
/frameworks/base/core/java/android/widget/RemoteViews.java
ae615981315d9318edb1d8bf2a0f607f90cc77ac 01-Nov-2010 Winson Chung <winsonc@google.com> Adding more exception handling to RemoteViews calls to startIntentSender

Change-Id: I03d7b48813aaf7f94785389c2838d68b0ba913d3
/frameworks/base/core/java/android/widget/RemoteViews.java
2b69ce469d544f4b2cb6423feaf4da8df7cf7a64 31-Oct-2010 Joe Onorato <joeo@google.com> Allow RemoteViews to silently fail when a view can't be found.

Generally, I'm not a huge fan of allowing bugs like this, but this
will allow people to write apps with better compatibility across
configurations. They can just add a bunch of actions, and have
only some of them apply based on which views are in the layout
resource.

Bug: 3107945
Change-Id: Iecb118ce5f56421ac53a7b95ea470de9f726ee82
/frameworks/base/core/java/android/widget/RemoteViews.java
3ec9a45c36d3ca5ffbc6e85bbeb497b065e14155 24-Sep-2010 Winson Chung <winsonc@google.com> Re-architecting RemoteViewsAdapter internals due to new constraints.

- Respecting the AdapterView/Adapter contract using FrameLayout notification to update individual items
- Initial changes to allow for keeping (currently bitmap only) memory in check when loading numerous RemoteViews
- Fixing issue with leaking activities due to extra service connection references
- Fixing issue with multiple RemoteViewsAdapters being set on the same AdapterView
- Fixing small issue with StackView sometimes requesting indices out of bounds
- Removing background loading, reverting to previous message-queuing method (seems to be performant now)

Change-Id: I42313767aa791dfe35c247c97ae5d64389e6bb4c
/frameworks/base/core/java/android/widget/RemoteViews.java
35ae9ca5bf4b99bc341afe43d501a2d166f5df43 21-Sep-2010 Adam Cohen <adamcohen@google.com> Modifying PendingIntent APIs for collection widgets

Change-Id: Ib8e3b46542389afe93e74358a9138b1935634e90
/frameworks/base/core/java/android/widget/RemoteViews.java
ca6fd847945464c2ddddcd165021082c048f05fb 04-Sep-2010 Adam Cohen <adamcohen@google.com> Modifying API for setting on-click intents for items
in widget collections.

Change-Id: I0ad1f1241b7a40f0790ecd9fd3228f204d2c8499
/frameworks/base/core/java/android/widget/RemoteViews.java
1480fddea874a42adb43b4bcdac6704e4c3e110b 26-Aug-2010 Adam Cohen <adamcohen@google.com> -> Added the ability to specify an AdapterView's empty view
through RemoteViews. An empty view is the view that appears
in lieu of the collection when the collection is empty.
-> Made StackViews start at their last item

Change-Id: Ica44e5e8f8f2a2e5589a6c74414ec4d08303887f
/frameworks/base/core/java/android/widget/RemoteViews.java
2dd2197805edb4d9547b143deef2226413218f4c 16-Aug-2010 Adam Cohen <adamcohen@google.com> -> Enabled partial updates to app widgets through AppWidgetManager.
Partial updates are not cached by the AppWidgetService.
-> Added the ability to insert commands with no parameters into
RemoteViews objects.
-> Added showNext() and showPrevious() methods to RemoteViews.
-> Made showNext() / showPrevious() of AdapterViewFlipper remotable.

Change-Id: Ic5491bb374424a54728c4ca92b94b1f00dfb87ff
/frameworks/base/core/java/android/widget/RemoteViews.java
95362595ed4a42aec87b4d166092b30c8139d220 20-Jul-2010 Winson Chung <winsonc@google.com> Fixing build breakage due to misnamed javadoc variable.

Change-Id: I883a53107d2c0fcd4544c85811aeaad3fc4f13c2
/frameworks/base/core/java/android/widget/RemoteViews.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
/frameworks/base/core/java/android/widget/RemoteViews.java
e6ac8b9aade9443ab8456c8f7a47cdfba3b70266 17-Jun-2010 Gilles Debunne <debunne@google.com> Removed API changes from CL 54712.

onLoadClass(Class ) was replaced by onLoadClass(Class<?> ) in CL 54712.
This changes the API and may introduce errors in users' implementations.

Change reverted.

Change-Id: Ie578a444168423959b44857f22e13f004e108965
/frameworks/base/core/java/android/widget/RemoteViews.java
3030193dc179b3010f2dd3bffe9c1dec54da38fc 17-Jun-2010 Gilles Debunne <debunne@google.com> Removed warnings in LayoutInflater.

These changes are similar to those of CL 49296. They do not include the
generic fixes done on GenericInflater.java, which had issues and broke the build.

Added a asSubClass method in LayoutInflater which will (correctly) throw a
ClassCastException when the inflated class is not a View subclass.

Performance testing on these changes showed a 10% performance improvement,
which is still to be explained.

Change-Id: Id4d3b45f0945baccdbbda15fcce095e855b23c9a
/frameworks/base/core/java/android/widget/RemoteViews.java
18e69dfc7235f8a4bfe257f9d1c43539049a22ce 18-May-2010 Joe Onorato <joeo@android.com> Checkpoint. Data structures for Notifications in place.

Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
/frameworks/base/core/java/android/widget/RemoteViews.java
d755b06805dd3ed4dc6c08ff1750e28543901854 06-Jan-2010 Bjorn Bringert <bringert@android.com> Add RemoteViews.setBundle() method.

This is needed for setting the app search data for an upcoming search
source selection widget which is @RemoteView.

Change-Id: I2d04ff68d0ad7f12e88ed25ded75e174a8403bcc
/frameworks/base/core/java/android/widget/RemoteViews.java
a503f6f7cf09c64bde708e3bcfb7103378ddfcff 09-Dec-2009 Jeff Sharkey <jsharkey@android.com> Adjust for compatibility mode before setSourceBounds().

When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode. This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
/frameworks/base/core/java/android/widget/RemoteViews.java
7597065d6b0877ffc460b443fdb1595965ccd7b2 03-Dec-2009 Joe Onorato <joeo@android.com> Make RemoteViews also set the sourceBounds in the PendingIntent.
/frameworks/base/core/java/android/widget/RemoteViews.java
1162fd77a8ff8467c96204c00bcaf941aef6aa85 05-Nov-2009 Jeff Sharkey <jsharkey@android.com> Let RemoteViews nest children, allow ViewFlipper.

This change allows applications to nest children RemoteViews
inside an existing set of RemoteViews. These nested views
are inflated and treated as addView() calls.

This change also allows ViewFlipper through RemoteViews, and
adds logic surpress flipping when the parent window is
detached or behind the lockscreen. Also fixes ViewAnimator
to observe the measureAllChildren flag when set.

Fixes http://b/2239905
/frameworks/base/core/java/android/widget/RemoteViews.java
995d8561a6f6dee9f7b032bb2c3d78d885ba1e56 29-Sep-2009 Romain Guy <romainguy@android.com> Do not crash appwdiget host when a pending intent send fails.

Change-Id: Id29ec50dcb4d51589b9732ace6d505fcea9cc787
/frameworks/base/core/java/android/widget/RemoteViews.java
fa82f22f1d8c4c828bdf9b670006be4f4fec772e 18-Sep-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2093608: Calendar widget takes a few seconds to launch

Avert your eyes!

The key change here is that RemoteViews can now call a Context API to
start its pending intent, which inside of the activity manager we can
use to determine to cancel the timeout delay for external entities
to disrupt the home screen.

Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
/frameworks/base/core/java/android/widget/RemoteViews.java
870e09fcd2dfdc12ac318962efd28b0420c562bb 07-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1963229. Introduces Context#isRestricted().

A restricted Context is a special type of Context that prevents specific features
from being used. For instance, android:onClick, used by View, can be dangerous when
used from within apps widgets. By using a restricted Context to inflate apps widgets,
widgets providers are prevented from using android:onClick.
/frameworks/base/core/java/android/widget/RemoteViews.java
a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 02-Jul-2009 Romain Guy <romainguy@android.com> Cleanup a bunch of warnings in app widgets code.
/frameworks/base/core/java/android/widget/RemoteViews.java
592d0650d5bfc673082c4e58ac8ba2dc3103c842 25-Mar-2009 Joe Onorato <> Automated import from //branches/donutburger/...@142301,142301
/frameworks/base/core/java/android/widget/RemoteViews.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/RemoteViews.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/RemoteViews.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/RemoteViews.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/RemoteViews.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/widget/RemoteViews.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
/frameworks/base/core/java/android/widget/RemoteViews.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/RemoteViews.java