OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:appWidgetIds
(Results
1 - 18
of
18
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
ExampleBroadcastReceiver.java
44
ArrayList<Integer>
appWidgetIds
= new ArrayList<Integer>();
47
ExampleAppWidgetConfigure.loadAllTitlePrefs(context,
appWidgetIds
, texts);
49
final int N =
appWidgetIds
.size();
51
ExampleAppWidgetProvider.updateAppWidget(context, gm,
appWidgetIds
.get(i), texts.get(i));
/frameworks/base/core/java/android/appwidget/
AppWidgetProvider.java
64
int[]
appWidgetIds
= extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
65
if (
appWidgetIds
!= null &&
appWidgetIds
.length > 0) {
66
this.onUpdate(context, AppWidgetManager.getInstance(context),
appWidgetIds
);
97
* @param
appWidgetIds
The
appWidgetIds
for which an update is needed. Note that this
103
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[]
appWidgetIds
) {
115
* @param
appWidgetIds
The
appWidgetIds
that have been deleted from their host.
119
public void onDeleted(Context context, int[]
appWidgetIds
) {
[
all
...]
/packages/apps/DeskClock/src/com/android/alarmclock/
AnalogAppWidgetProvider.java
46
int[]
appWidgetIds
= intent.getIntArrayExtra(
50
gm.updateAppWidget(
appWidgetIds
, views);
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
TestAppWidgetProvider.java
47
int[]
appWidgetIds
= extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
53
gm.updateAppWidget(
appWidgetIds
, views);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
TestAppWidgetProvider.java
50
int[]
appWidgetIds
= extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
61
gm.updateAppWidget(
appWidgetIds
, views);
/packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetBind.java
44
//
appWidgetIds
they don't own, so we guard this call at the manifest
50
final int[]
appWidgetIds
=
55
if (
appWidgetIds
== null || bitmaps == null
56
||
appWidgetIds
.length != bitmaps.size()) {
63
for (int i = 0; i <
appWidgetIds
.length; i++) {
65
int appWidgetId =
appWidgetIds
[i];
/packages/apps/Music/src/com/android/music/
MediaAppWidgetProvider.java
49
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[]
appWidgetIds
) {
50
defaultAppWidget(context,
appWidgetIds
);
57
updateIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS,
appWidgetIds
);
66
private void defaultAppWidget(Context context, int[]
appWidgetIds
) {
74
pushUpdate(context,
appWidgetIds
, views);
77
private void pushUpdate(Context context, int[]
appWidgetIds
, RemoteViews views) {
78
// Update specific list of
appWidgetIds
if given, otherwise default to all
80
if (
appWidgetIds
!= null) {
81
gm.updateAppWidget(
appWidgetIds
, views);
92
int[]
appWidgetIds
= appWidgetManager.getAppWidgetIds
[
all
...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SearchWidgetProvider.java
77
int[]
appWidgetIds
= appWidgetManager.getAppWidgetIds(myComponentName(context));
78
SearchWidgetState[] states = new SearchWidgetState[
appWidgetIds
.length];
79
for (int i = 0; i<
appWidgetIds
.length; ++i) {
80
states[i] = getSearchWidgetState(context,
appWidgetIds
[i]);
/frameworks/base/services/java/com/android/server/
AppWidgetService.java
295
pw.println("
AppWidgetIds
:");
537
// Add it to the mapping of RemoteViewsService to
appWidgetIds
so that we can determine
628
HashSet<Integer>
appWidgetIds
= null;
630
appWidgetIds
= mRemoteViewsServicesAppWidgets.get(fc);
632
appWidgetIds
= new HashSet<Integer>();
633
mRemoteViewsServicesAppWidgets.put(fc,
appWidgetIds
);
635
appWidgetIds
.add(appWidgetId);
694
public void updateAppWidgetIds(int[]
appWidgetIds
, RemoteViews views) {
695
if (
appWidgetIds
== null) {
698
if (
appWidgetIds
.length == 0)
[
all
...]
/prebuilt/sdk/12/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/15/
android.jar
/prebuilt/sdk/10/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 595 milliseconds