180cfd5feb4fe415d04494bf00f2013896f93b77 |
|
04-Nov-2012 |
Adam Cohen <adamcohen@google.com> |
If a default keyguard layout isn't specified, fallback to the default layout -> Also fixing a typo in AppWidgetProvider clone() -- this was the cause of the "couldn't load widget". It wasn't getting expressed before for various reasons. Change-Id: Ib7114565a414d66facd8b4baeb97d5a71e96b5e9
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
4ddcd573dd06a96c32285e34469cae6e7f03109b |
|
02-Nov-2012 |
Adam Cohen <adamcohen@google.com> |
Widget size policy, size callbacks -> vertically resizable widgets behave are sized to fill -> non-vertically resizable widgets use the small size all the time -> providing size call-backs. ensuring that we don't send excessive / incorrect size callbacks. These are expensive. Had to clean things up to ensure we only send the truth, and not bounce around. Change-Id: I8038de01096906526e2622c6f1cd24c171e3a4ec
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
c4842c11932ea4f60fe7ae09b0a59660207e1587 |
|
31-Oct-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Accessibility support for the lockscreen - phone. Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
a21bf0c6ea0205abced7bfdcaf552535f395f34f |
|
06-Oct-2012 |
Adam Cohen <adamcohen@google.com> |
Suppress unnecessary calls to update widget size (issue 7287744) Change-Id: I2cec03a32b42f7a56e0f538dcd5c09de4ce2e076
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
6ccf4e279170ef7f7602d1e2a63e9a2ef98cd57f |
|
22-Sep-2012 |
Adam Cohen <adamcohen@google.com> |
Fixing onRestoreInstanceState crash in Launcher -> Issue 7084152 Change-Id: Ic91074adfff5918e6471c861313a51d0a179ad08
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
0aa2d42e87e4a1ed5b83f356690e465d6a3587cc |
|
08-Sep-2012 |
Adam Cohen <adamcohen@google.com> |
Adding notion of keyguard widgets -> Persisting certain appwidget options -> Adding ability to specify appwidget options on bind so as to avoid AppWidgetProvider update call with no options. Change-Id: I5631039f19f1822b8e123b559b6353c880c0192e
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
e667a7add46a6389c64f2105bd33943cfe6a3fa4 |
|
10-Aug-2012 |
Jim Miller <jaggies@google.com> |
Update AppWidgetHost with better support for OnClickHandlers This updates AppWidgetHost and AppWidgetHostView to do a better job at refreshing widgets and their host views. It now allows an OnClickHandler to be specified when creating the AppWidgetHost which allows it to correctly update AppWidgetHostViews when needed. Change-Id: I710c1d00a8d145bf3a9fd5f5691885bec9d1c7e4
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
1affb937641fd42c3b94f0c2427b1b68336a572f |
|
15-May-2012 |
Guang Zhu <guangzhu@google.com> |
Expose class name in AppWidgetHostView for accessibility The class is public, part of framework, exposing it for launcher testing. Change-Id: Icd9b0f3e300de964b98de8d9f5f62fdc916584e3
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
f065c9663172094d2d79eb5f77c59d89e812437a |
|
09-May-2012 |
Adam Cohen <adamcohen@google.com> |
Accounting for widget padding in dips instead of pixels Change-Id: I29c4290274f8b9fa6d9b49072d3cf37cf6f1acb8
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
88f041ed312299f1d2746e570b989c336bfd97c8 |
|
09-May-2012 |
Adam Cohen <adamcohen@google.com> |
Account for auto-padding in AppWidgetHostView#updateAppWidgetSize (issue 6454251) Change-Id: Ibf837671cc13ee89ca979e9e6dc9d144b296deba
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
d2097ebacf3a3658624cad10669a4d98e8d7d846 |
|
02-May-2012 |
Adam Cohen <adamcohen@google.com> |
Changing app widget "extras" to "options" and another small API Review issue -> (issue 6427146), (issue 6427861) Change-Id: Ib69a9b3717a5b62317ec227936bc3b2fd5954043
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
c88d11f9493e65d318dcd3b094ef446e1905ebfd |
|
28-Apr-2012 |
Adam Cohen <adamcohen@google.com> |
Pushing widget resize callback responsibility to AppWidgetHost Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
e8724c82ab1479f13c85a2c6219841e1fd95f2d2 |
|
20-Apr-2012 |
Adam Cohen <adamcohen@google.com> |
Adding callback for widget size changed, and potentially other extra info Change-Id: I57738c92b6a0ba68ae66b19a533559470c64e6f1
/frameworks/base/core/java/android/appwidget/AppWidgetHostView.java
|
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
|