Lines Matching refs:RemoteViewsFrameLayout
291 static class RemoteViewsFrameLayout extends AppWidgetHostView {
294 public RemoteViewsFrameLayout(Context context, FixedSizeRemoteViewsCache cache) {
300 * Updates this RemoteViewsFrameLayout depending on the view that was loaded.
331 private final SparseArray<LinkedList<RemoteViewsFrameLayout>> mReferences =
333 private final HashMap<RemoteViewsFrameLayout, LinkedList<RemoteViewsFrameLayout>>
337 * Adds a new reference to a RemoteViewsFrameLayout returned by the adapter.
339 public void add(int position, RemoteViewsFrameLayout layout) {
340 LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(position);
344 refs = new LinkedList<RemoteViewsFrameLayout>();
360 final LinkedList<RemoteViewsFrameLayout> refs = mReferences.get(position);
363 for (final RemoteViewsFrameLayout ref : refs) {
378 public void removeView(RemoteViewsFrameLayout rvfl) {
1092 if (convertView != null && convertView instanceof RemoteViewsFrameLayout) {
1093 mRequestedViews.removeView((RemoteViewsFrameLayout) convertView);
1105 final RemoteViewsFrameLayout layout =
1106 (convertView instanceof RemoteViewsFrameLayout)
1107 ? (RemoteViewsFrameLayout) convertView
1108 : new RemoteViewsFrameLayout(parent.getContext(), mCache);