OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:remoteViews
(Results
1 - 23
of
23
) sorted by null
/packages/apps/Mms/src/com/android/mms/widget/
MmsWidgetProvider.java
28
import android.widget.
RemoteViews
;
84
RemoteViews
remoteViews
= new
RemoteViews
(context.getPackageName(), R.layout.widget);
91
remoteViews
.setRemoteAdapter(appWidgetId, R.id.conversation_list, intent);
93
remoteViews
.setTextViewText(R.id.widget_label, context.getString(R.string.app_label));
99
remoteViews
.setOnClickPendingIntent(R.id.widget_header, clickIntent);
106
remoteViews
.setOnClickPendingIntent(R.id.widget_compose, clickIntent);
114
remoteViews
.setPendingIntentTemplate(R.id.conversation_list,
117
AppWidgetManager.getInstance(context).updateAppWidget(appWidgetId,
remoteViews
);
[
all
...]
MmsWidgetService.java
32
import android.widget.
RemoteViews
;
203
* @return the {@link
RemoteViews
} for a specific position in the list.
206
public
RemoteViews
getViewAt(int position) {
227
RemoteViews
remoteViews
= new
RemoteViews
(
231
remoteViews
.setViewVisibility(R.id.widget_unread_background, View.VISIBLE);
232
remoteViews
.setViewVisibility(R.id.widget_read_background, View.GONE);
234
remoteViews
.setViewVisibility(R.id.widget_unread_background, View.GONE);
235
remoteViews
.setViewVisibility(R.id.widget_read_background, View.VISIBLE)
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
WidgetConversationListItemViewBuilder.java
36
import android.widget.
RemoteViews
;
89
public void displayFolders(
RemoteViews
remoteViews
) {
96
remoteViews
.setViewVisibility(viewId, View.VISIBLE);
99
remoteViews
.setImageViewBitmap(viewId, bitmap);
107
remoteViews
.setViewVisibility(getFolderViewId(i), View.GONE);
149
public
RemoteViews
getStyledView(final CharSequence date, final Conversation conversation,
179
final
RemoteViews
remoteViews
= new
RemoteViews
(
[
all
...]
WidgetService.java
37
import android.widget.
RemoteViews
;
72
protected void configureValidAccountWidget(Context context,
RemoteViews
remoteViews
,
75
configureValidAccountWidget(context,
remoteViews
, appWidgetId, account, folderType,
82
public static void configureValidAccountWidget(Context context,
RemoteViews
remoteViews
,
85
remoteViews
.setViewVisibility(R.id.widget_folder, View.VISIBLE);
97
remoteViews
.setTextViewText(R.id.widget_folder, folderDisplayName);
99
remoteViews
.setViewVisibility(R.id.widget_account_noflip, View.VISIBLE);
102
remoteViews
.setTextViewText(R.id.widget_account_noflip, account.name)
[
all
...]
BaseWidgetProvider.java
32
import android.widget.
RemoteViews
;
319
final
RemoteViews
remoteViews
= new
RemoteViews
(context.getPackageName(), R.layout.widget);
324
remoteViews
.setViewVisibility(R.id.widget_folder, View.GONE);
325
remoteViews
.setViewVisibility(R.id.widget_account_noflip, View.GONE);
326
remoteViews
.setViewVisibility(R.id.widget_account_unread_flipper, View.GONE);
327
remoteViews
.setViewVisibility(R.id.widget_compose, View.GONE);
328
remoteViews
.setViewVisibility(R.id.conversation_list, View.GONE);
329
remoteViews
.setViewVisibility(R.id.empty_conversation_list, View.GONE)
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AppWidgetManagerTest.java
9
import android.widget.
RemoteViews
;
73
appWidgetManager.updateAppWidget(widgetId, new
RemoteViews
("whatevs", R.layout.main));
76
appWidgetManager.updateAppWidget(widgetId, new
RemoteViews
("whatevs", R.layout.media));
103
RemoteViews
remoteViews
= new
RemoteViews
(context.getPackageName(), R.layout.main);
104
remoteViews
.setTextViewText(R.id.subtitle, "Hola");
105
appWidgetManager.updateAppWidget(appWidgetIds,
remoteViews
);
/external/chromium_org/base/android/java/src/org/chromium/base/
ApiCompatibilityUtils.java
12
import android.widget.
RemoteViews
;
204
* @see android.widget.
RemoteViews
#setContentDescription(int, CharSequence)
206
public static void setContentDescriptionForRemoteView(
RemoteViews
remoteViews
, int viewId,
209
remoteViews
.setContentDescription(viewId, contentDescription);
/frameworks/base/core/java/android/appwidget/
AppWidgetHostView.java
48
import android.widget.
RemoteViews
;
49
import android.widget.
RemoteViews
.OnClickHandler;
56
* {@link
RemoteViews
}.
71
// views that are allowed in
RemoteViews
.
74
return clazz.isAnnotationPresent(
RemoteViews
.RemoteView.class);
109
* {@link #updateAppWidget(
RemoteViews
)}.
130
* Pass the given handler to
RemoteViews
when updating this widget. Unless this
131
* is done immediatly after construction, a call to {@link #updateAppWidget(
RemoteViews
)}
342
* Process a set of {@link
RemoteViews
} coming in as an update from the
345
public void updateAppWidget(
RemoteViews
remoteViews)
[
all
...]
/frameworks/base/core/java/android/widget/
RemoteViewsAdapter.java
44
import android.widget.
RemoteViews
.OnClickHandler;
51
* An adapter to a RemoteViewsService which fetches and caches
RemoteViews
88
// The set of requested views that are to be notified when the associated
RemoteViews
are
295
* A FrameLayout which contains a loading view, and manages the re/applying of
RemoteViews
when
305
* @param view the
RemoteViews
that was loaded. If null, the
RemoteViews
was not loaded
308
public void onRemoteViewsLoaded(
RemoteViews
view, OnClickHandler handler) {
314
Log.e(TAG, "Failed to apply
RemoteViews
.");
321
* adapter that have not yet had their
RemoteViews
loaded.
356
* the associated
RemoteViews
has loaded
[
all
...]
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 224 milliseconds