4c96a59b4354c4a593a07a3273c186b51597bcc1 |
|
04-Nov-2011 |
Adam Cohen <adamcohen@google.com> |
Making default widget padding public API Change-Id: Ibf4f5dc1a36d84be1acc3ccdc4330276f82aa303
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
5d5f3405204ecb5045edc756fde71c97d10bcda4 |
|
01-Oct-2011 |
Adam Cohen <adamcohen@google.com> |
Adding default padding to AppWidgetHostView for widgets >= API level 14 Change-Id: Idbbeafba664847f01393bb0c6102f774390380d5
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
2148d43eb23c702e834c93ae427f822f32d280a2 |
|
28-Jul-2011 |
Adam Cohen <adamcohen@google.com> |
Fixing widget notifyDataSetChanged() not getting called, issue 5092676 Change-Id: I61a034a77c0c9d07aba71bfabe7a0864ce92c2e9
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
d110889cbca4d40f8cdeddfe6eb2f498f470ae4b |
|
17-Jan-2011 |
Adam Cohen <adamcohen@google.com> |
Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids Change-Id: I2512b83078cff6c4d444c95275625ff39466ac83
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
6394c0e52cf641d93f678fd052499aa952e3595d |
|
16-Aug-2010 |
Winson Chung <winsonc@google.com> |
Adding callback and fix to RemoteViewsFactory on notifyDataSetChanged. Also removing extra parameter in AppWidgetManager.notifyDataSetChanged. Change-Id: Ic771fe045ae793a6dacf09f1230e7c1c4b59a13e
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.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/appwidget/AppWidgetHostView.java
|
a18dbdf420fabebb83e7403d000384a8d98daffa |
|
24-Jun-2010 |
Joe Onorato <joeo@android.com> |
am 801b63d3: am 51e895f0: Merge "Need to give the AppWidgetHostView the new info about the provider, in case the initialLayout changed." into gingerbread Merge commit '801b63d3b865054b3015e2cf315ca7c9386d1212' * commit '801b63d3b865054b3015e2cf315ca7c9386d1212': Need to give the AppWidgetHostView the new info about the provider, in case the initialLayout
|
c27bb559805ae5cd06f7ecf575959c60c51a22aa |
|
24-Jun-2010 |
Joe Onorato <joeo@android.com> |
Need to give the AppWidgetHostView the new info about the provider, in case the initialLayout changed. Bug: 2772728 Change-Id: I9e230fbe42d01cfc953cdafb86dd0d616d96a3ea
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.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/appwidget/AppWidgetHostView.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/appwidget/AppWidgetHostView.java
|
f140be6c3c21dd0f6d2214929e89d60de31d2c04 |
|
04-May-2010 |
Joe Onorato <joeo@android.com> |
Call into app widget hosts when the provider is updated. Change-Id: If0a2459901e88cf04810b23178e4673d44fa69cc
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
ae8dd29c035fffa6e302bd485d0552f97db39127 |
|
05-Nov-2009 |
Romain Guy <romainguy@android.com> |
Prevent crash in Home when using widgets whose ids collide with Home's resources. Bug #2228943. Approved by mcleron, triaged by ryanpc. Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
a8a720d8cd208d7d265de28ab69f7e68eb10140a |
|
16-Oct-2009 |
Romain Guy <romainguy@android.com> |
Fix possible NPE in the code that restores widgets' state. Bug #2189714 Reviewed by: ryanpc Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
220dec2897d739ecb627e46b4cafbd664f4ff762 |
|
19-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Use remote Context when inflating initialLayout, add debug. To help track down http://b/2055197 this change adds back exception logging when inflating initialLayout. On a hunch, it also assigns the remote Context so generateLayoutParams() can inflate correctly.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
09ddc08b0d9c849e22f778666f383b7ceefbd9c8 |
|
11-Aug-2009 |
Romain Guy <romainguy@android.com> |
Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
b8560b66fd2bdf465a8c7fad983f2236778e8106 |
|
07-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Fix AppWidget layout inflation to resolve references. When RemoteViews inflates a layout and set of actions, it uses a cloned remote Context so it can fully access the resources needed to complete the inflate. However, in one specific case when inflating the root view, LayoutInflater calls back to the soon-to-be parent view to request the correct set of LayoutParams through generateLayoutParams(). The default implementation of generateLayoutParams() uses the Context of the /local/ View instead of the remote Context being used for the inflation, which means that any LayoutParam references in the root view are unresolved. To fix this, we internally create our own copy of the target remote Context. This way, when the remote LayoutInflater calls generateLayoutParams(), we inflate it using the remote Context to correctly resolve any references. This change is required as part of http://b/2038594
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.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/appwidget/AppWidgetHostView.java
|
a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 |
|
02-Jul-2009 |
Romain Guy <romainguy@android.com> |
Cleanup a bunch of warnings in app widgets code.
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|