Home
last modified time | relevance | path

Searched refs:AppWidgetProviderInfo (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java34 public class AppWidgetProviderInfo implements Parcelable { class
212 public AppWidgetProviderInfo() { in AppWidgetProviderInfo() method in AppWidgetProviderInfo
220 public AppWidgetProviderInfo(Parcel in) { in AppWidgetProviderInfo() method in AppWidgetProviderInfo
339 public AppWidgetProviderInfo clone() { in clone()
340 AppWidgetProviderInfo that = new AppWidgetProviderInfo(); in clone()
384 public static final Parcelable.Creator<AppWidgetProviderInfo> CREATOR
385 = new Parcelable.Creator<AppWidgetProviderInfo>()
387 public AppWidgetProviderInfo createFromParcel(Parcel parcel)
389 return new AppWidgetProviderInfo(parcel);
392 public AppWidgetProviderInfo[] newArray(int size)
[all …]
DAppWidgetManager.java689 … public List<AppWidgetProviderInfo> getInstalledProvidersForProfile(@Nullable UserHandle profile) { in getInstalledProvidersForProfile()
693 return getInstalledProvidersForProfile(AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN, in getInstalledProvidersForProfile()
700 public List<AppWidgetProviderInfo> getInstalledProviders() { in getInstalledProviders()
704 return getInstalledProvidersForProfile(AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN, in getInstalledProviders()
720 public List<AppWidgetProviderInfo> getInstalledProviders(int categoryFilter) { in getInstalledProviders()
745 public List<AppWidgetProviderInfo> getInstalledProvidersForProfile(int categoryFilter, in getInstalledProvidersForProfile()
756 List<AppWidgetProviderInfo> providers = mService.getInstalledProvidersForProfile( in getInstalledProvidersForProfile()
761 for (AppWidgetProviderInfo info : providers) { in getInstalledProvidersForProfile()
778 public AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId) { in getAppWidgetInfo()
783 AppWidgetProviderInfo info = mService.getAppWidgetInfo(mPackageName, appWidgetId); in getAppWidgetInfo()
[all …]
DAppWidgetHost.java76 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info) { in providerChanged()
108 onProviderChanged(msg.arg1, (AppWidgetProviderInfo)msg.obj); in handleMessage()
312 AppWidgetProviderInfo appWidget) { in createView()
335 AppWidgetProviderInfo appWidget) { in onCreateView()
342 protected void onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget) { in onProviderChanged()
DAppWidgetProviderInfo.aidl19 parcelable AppWidgetProviderInfo;
DAppWidgetHostView.java82 AppWidgetProviderInfo mInfo;
138 public void setAppWidget(int appWidgetId, AppWidgetProviderInfo info) { in setAppWidget()
204 public AppWidgetProviderInfo getAppWidgetInfo() { in getAppWidgetInfo()
328 void resetAppWidget(AppWidgetProviderInfo info) { in resetAppWidget()
553 if (category == AppWidgetProviderInfo.WIDGET_CATEGORY_KEYGUARD) { in getDefaultView()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java26 import android.appwidget.AppWidgetProviderInfo;
59 … AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)… in onCreate()
105 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in handleAppWidgetPickResult()
127 AppWidgetProviderInfo appWidget = mAppWidgetManager.getAppWidgetInfo(appWidgetId); in handleAppWidgetConfigureResult()
134 void addAppWidgetView(int appWidgetId, AppWidgetProviderInfo appWidget) { in addAppWidgetView()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetHost.aidl21 import android.appwidget.AppWidgetProviderInfo;
27 void providerChanged(int appWidgetId, in AppWidgetProviderInfo info); in providerChanged()
DIAppWidgetService.aidl23 import android.appwidget.AppWidgetProviderInfo;
57 List<AppWidgetProviderInfo> getInstalledProvidersForProfile(int categoryFilter, in getInstalledProvidersForProfile()
59 AppWidgetProviderInfo getAppWidgetInfo(String callingPackage, int appWidgetId); in getAppWidgetInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java28 import android.appwidget.AppWidgetProviderInfo;
442 public AppWidgetProviderInfo resolveSearchAppWidget() { in resolveSearchAppWidget()
447 List<AppWidgetProviderInfo> widgets = mAwm.getInstalledProviders( in resolveSearchAppWidget()
448 AppWidgetProviderInfo.WIDGET_CATEGORY_SEARCHBOX); in resolveSearchAppWidget()
449 for (AppWidgetProviderInfo info : widgets) { in resolveSearchAppWidget()
460 public Pair<Integer, AppWidgetProviderInfo> bindSearchAppWidget(AppWidgetHost host) { in bindSearchAppWidget()
465 AppWidgetProviderInfo searchWidgetInfo = resolveSearchAppWidget(); in bindSearchAppWidget()
474 AppWidgetProviderInfo.WIDGET_CATEGORY_SEARCHBOX); in bindSearchAppWidget()
479 return new Pair<Integer, AppWidgetProviderInfo>(searchWidgetId, searchWidgetInfo); in bindSearchAppWidget()
485 public AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId) { in getAppWidgetInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsAppWidgetHost.java20 import android.appwidget.AppWidgetProviderInfo;
64 protected void onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidgetInfo) { in onProviderChanged()
DRecentsActivity.java24 import android.appwidget.AppWidgetProviderInfo;
80 AppWidgetProviderInfo mSearchAppWidgetInfo;
284 Pair<Integer, AppWidgetProviderInfo> widgetInfo = in bindSearchBarAppWidget()
304 AppWidgetProviderInfo.WIDGET_CATEGORY_SEARCHBOX); in addSearchBarAppWidgetView()
DAlternateRecentsComponent.java24 import android.appwidget.AppWidgetProviderInfo;
475 Pair<Integer, AppWidgetProviderInfo> widgetInfo = ssp.bindSearchAppWidget(host); in reloadSearchBarAppWidget()
658 AppWidgetProviderInfo searchWidget = null; in startRecentsActivity()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dhost.jd167 AppWidgetProviderInfo appWidget =
255 AppWidgetProviderInfo metadata</a>.
257 retrieved by the host from the {@link android.appwidget.AppWidgetProviderInfo}
275 …width and height in dps, as defined in the {@link android.appwidget.AppWidgetProviderInfo} metadata
276 (using {@link android.appwidget.AppWidgetProviderInfo#minWidth android:minWidth} and
277 {@link android.appwidget.AppWidgetProviderInfo#minHeight android:minHeight}).
291 …uces the ability for a widget to specify {@link android.appwidget.AppWidgetProviderInfo#autoAdvanc…
305 {@link android.appwidget.AppWidgetProviderInfo#resizeMode android:resizeMode}
306 attribute in the {@link android.appwidget.AppWidgetProviderInfo}
309 {@link android.appwidget.AppWidgetProviderInfo#minResizeWidth android:minResizeWidth}
[all …]
Dindex.jd12 <li><a href="#MetaData">Adding the AppWidgetProviderInfo Metadata</a></li>
49 <li>{@link android.appwidget.AppWidgetProviderInfo}</li>
86 <dt>{@link android.appwidget.AppWidgetProviderInfo} object</dt>
142 {@link android.appwidget.AppWidgetProviderInfo} resource and requires the
147 to identify the data as the {@link android.appwidget.AppWidgetProviderInfo}
150 android.appwidget.AppWidgetProviderInfo}
155 <h2 id="MetaData">Adding the AppWidgetProviderInfo Metadata</h2>
157 <p>The {@link android.appwidget.AppWidgetProviderInfo} defines the essential
162 Define the AppWidgetProviderInfo object in an XML resource using a single
292 {@link android.appwidget.AppWidgetProviderInfo#initialLayout android:initialLayout},
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardActivityLauncher.java25 import android.appwidget.AppWidgetProviderInfo;
141 AppWidgetProviderInfo.WIDGET_CATEGORY_KEYGUARD); in launchWidgetPicker()
145 AppWidgetProviderInfo.WIDGET_CATEGORY_KEYGUARD); in launchWidgetPicker()
DKeyguardWidgetPager.java26 import android.appwidget.AppWidgetProviderInfo;
339 AppWidgetProviderInfo info = awhv.getAppWidgetInfo(); in addWidget()
340 if ((info.resizeMode & AppWidgetProviderInfo.RESIZE_VERTICAL) != 0) { in addWidget()
DKeyguardHostView.java29 import android.appwidget.AppWidgetProviderInfo;
585 AppWidgetProviderInfo appWidgetInfo = mAppWidgetManager.getAppWidgetInfo(appId); in addWidget()
/frameworks/base/docs/html/sdk/api_diff/12/
DmissingSinces.txt157 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field RESIZE_BOTH
158 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field RESIZE_HORIZONTAL
159 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field RESIZE_NONE
160 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field RESIZE_VERTICAL
162 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field resizeMode
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java26 import android.appwidget.AppWidgetProviderInfo;
803 AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN); in bindAppWidgetId()
1073 public AppWidgetProviderInfo getAppWidgetInfo(String callingPackage, int appWidgetId) { in getAppWidgetInfo()
1275 public List<AppWidgetProviderInfo> getInstalledProvidersForProfile(int categoryFilter, in getInstalledProvidersForProfile()
1291 ArrayList<AppWidgetProviderInfo> result = null; in getInstalledProvidersForProfile()
1296 AppWidgetProviderInfo info = provider.info; in getInstalledProvidersForProfile()
1667 int appWidgetId, AppWidgetProviderInfo info) { in handleNotifyProviderChanged()
1735 private static AppWidgetProviderInfo cloneIfLocalBinder(AppWidgetProviderInfo info) { in cloneIfLocalBinder()
1955 AppWidgetProviderInfo info = provider.info; in dumpProvider()
2103 AppWidgetProviderInfo info = provider.info = new AppWidgetProviderInfo(); in parseProviderInfoXml()
[all …]
/frameworks/base/docs/html/sdk/api_diff/17/
DmissingSinces.txt247 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field initialKeyguardLayout
340 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field WIDGET_CATEGORY_HOME_SCREEN
341 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field WIDGET_CATEGORY_KEYGUARD
347 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field widgetCategory
/frameworks/base/docs/html/about/versions/
Dandroid-4.2.jd287 lock screen, add the {@link android.appwidget.AppWidgetProviderInfo#widgetCategory
289 android.appwidget.AppWidgetProviderInfo}. This attribute supports two values: {@code home_screen}
302 the {@link android.appwidget.AppWidgetProviderInfo#initialKeyguardLayout
304 android.appwidget.AppWidgetProviderInfo#initialLayout android:initialLayout}, in that it provides
Dandroid-3.0.jd259 <p>The {@link android.appwidget.AppWidgetProviderInfo} class (defined in XML with an {@code
261 android.appwidget.AppWidgetProviderInfo#autoAdvanceViewId} and {@link
262 android.appwidget.AppWidgetProviderInfo#previewImage}. The {@link
263 android.appwidget.AppWidgetProviderInfo#autoAdvanceViewId} field lets you specify the view ID of the
265 {@link android.appwidget.AppWidgetProviderInfo#previewImage} field specifies a preview of what the
270 android.appwidget.AppWidgetProviderInfo#previewImage} field), the Android emulator includes an
/frameworks/base/docs/html/sdk/api_diff/preview-21/
DmissingSinces.txt302 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method getProfile()
427 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method loadIcon(android.content.Context, int)
429 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method loadLabel(android.content.pm.PackageMa…
430 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method loadPreviewImage(android.content.Conte…
1288 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field WIDGET_CATEGORY_SEARCHBOX
/frameworks/base/docs/html/tools/projects/
Dindex.jd264 android.appwidget.AppWidgetProviderInfo}, or
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt525 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method getProfile()
676 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method loadIcon(android.content.Context, int)
677 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method loadLabel(android.content.pm.PackageMa…
678 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Method loadPreviewImage(android.content.Conte…
1996 NO DOC BLOCK: android.appwidget.AppWidgetProviderInfo Field WIDGET_CATEGORY_SEARCHBOX

12