Home | History | Annotate | Download | only in widget

Lines Matching refs:viewId

167     public void setRemoteInputs(int viewId, RemoteInput[] remoteInputs) {
168 mActions.add(new SetRemoteInputsAction(viewId, remoteInputs));
310 return (getActionName() + viewId);
322 int viewId;
396 int viewId;
401 SetEmptyView(int viewId, int emptyViewId) {
402 this.viewId = viewId;
407 this.viewId = in.readInt();
413 out.writeInt(this.viewId);
419 final View view = root.findViewById(viewId);
437 this.viewId = id;
442 viewId = parcel.readInt();
448 dest.writeInt(viewId);
454 final View target = root.findViewById(viewId);
519 this.viewId = id;
524 viewId = parcel.readInt();
530 dest.writeInt(viewId);
536 final View target = root.findViewById(viewId);
580 "an AdapterView (id: " + viewId + ")");
596 this.viewId = id;
602 viewId = parcel.readInt();
615 dest.writeInt(viewId);
632 final View target = root.findViewById(viewId);
638 "AppWidgets (root id: " + viewId + ")");
644 "an AbsListView or AdapterViewAnimator (id: " + viewId + ")");
678 this.viewId = id;
683 viewId = parcel.readInt();
689 dest.writeInt(viewId);
695 final View target = root.findViewById(viewId);
701 "AppWidgets (root id: " + viewId + ")");
707 "an AbsListView or AdapterViewAnimator (id: " + viewId + ")");
742 this.viewId = id;
747 viewId = parcel.readInt();
757 dest.writeInt(viewId);
768 final View target = root.findViewById(viewId);
775 "(id: " + viewId + ")");
923 this.viewId = id;
932 viewId = parcel.readInt();
947 dest.writeInt(viewId);
962 final View target = root.findViewById(viewId);
1006 ReflectionActionWithoutParams(int viewId, String methodName) {
1007 this.viewId = viewId;
1012 this.viewId = in.readInt();
1018 out.writeInt(this.viewId);
1024 final View view = root.findViewById(viewId);
1125 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) {
1127 this.viewId = viewId;
1133 viewId = in.readInt();
1142 dest.writeInt(viewId);
1150 ReflectionAction ra = new ReflectionAction(viewId, methodName, ReflectionAction.BITMAP,
1196 ReflectionAction(int viewId, String methodName, int type, Object value) {
1197 this.viewId = viewId;
1204 this.viewId = in.readInt();
1209 Log.d(LOG_TAG, "read viewId=0x" + Integer.toHexString(this.viewId)
1280 out.writeInt(this.viewId);
1285 Log.d(LOG_TAG, "write viewId=0x" + Integer.toHexString(this.viewId)
1401 final View view = root.findViewById(viewId);
1420 final View view = root.findViewById(viewId);
1497 public ViewGroupAction(int viewId, RemoteViews nestedViews) {
1498 this.viewId = viewId;
1506 viewId = parcel.readInt();
1517 dest.writeInt(viewId);
1530 final ViewGroup target = (ViewGroup) root.findViewById(viewId);
1546 ViewTree target = root.findViewTreeById(viewId);
1570 final ViewGroup target = (ViewGroup) root.findViewById(viewId);
1610 public TextViewDrawableAction(int viewId, boolean isRelative, int d1, int d2, int d3, int d4) {
1611 this.viewId = viewId;
1620 public TextViewDrawableAction(int viewId, boolean isRelative,
1622 this.viewId = viewId;
1632 viewId = parcel.readInt();
1658 dest.writeInt(viewId);
1696 final TextView target = (TextView) root.findViewById(viewId);
1726 final TextView target = (TextView) root.findViewById(viewId);
1730 new TextViewDrawableAction(viewId, isRelative, i1, i2, i3, i4) :
1731 new TextViewDrawableAction(viewId, isRelative, d1, d2, d3, d4);
1770 public TextViewSizeAction(int viewId, int units, float size) {
1771 this.viewId = viewId;
1777 viewId = parcel.readInt();
1784 dest.writeInt(viewId);
1791 final TextView target = (TextView) root.findViewById(viewId);
1810 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) {
1811 this.viewId = viewId;
1819 viewId = parcel.readInt();
1828 dest.writeInt(viewId);
1837 final View target = root.findViewById(viewId);
1863 * @param viewId ID of the view alter
1867 public LayoutParamAction(int viewId, int property, int value) {
1868 this.viewId = viewId;
1874 viewId = parcel.readInt();
1881 dest.writeInt(viewId);
1888 final View target = root.findViewById(viewId);
1942 public TextViewDrawableColorFilterAction(int viewId, boolean isRelative, int index,
1944 this.viewId = viewId;
1952 viewId = parcel.readInt();
1970 dest.writeInt(viewId);
1979 final TextView target = (TextView) root.findViewById(viewId);
2011 public SetRemoteInputsAction(int viewId, RemoteInput[] remoteInputs) {
2012 this.viewId = viewId;
2017 viewId = parcel.readInt();
2023 dest.writeInt(viewId);
2029 final TextView target = (TextView) root.findViewById(viewId);
2387 * @param viewId The id of the parent {@link ViewGroup} to add child into.
2390 public void addView(int viewId, RemoteViews nestedView) {
2391 addAction(new ViewGroupAction(viewId, nestedView));
2397 * @param viewId The id of the parent {@link ViewGroup} to remove all
2400 public void removeAllViews(int viewId) {
2401 addAction(new ViewGroupAction(viewId, null));
2407 * @param viewId The id of the view on which to call {@link AdapterViewAnimator#showNext()}
2409 public void showNext(int viewId) {
2410 addAction(new ReflectionActionWithoutParams(viewId, "showNext"));
2416 * @param viewId The id of the view on which to call {@link AdapterViewAnimator#showPrevious()}
2418 public void showPrevious(int viewId) {
2419 addAction(new ReflectionActionWithoutParams(viewId, "showPrevious"));
2425 * @param viewId The id of the view on which to call
2428 public void setDisplayedChild(int viewId, int childIndex) {
2429 setInt(viewId, "setDisplayedChild", childIndex);
2435 * @param viewId The id of the view whose visibility should change
2438 public void setViewVisibility(int viewId, int visibility) {
2439 setInt(viewId, "setVisibility", visibility);
2445 * @param viewId The id of the view whose text should change
2448 public void setTextViewText(int viewId, CharSequence text) {
2449 setCharSequence(viewId, "setText", text);
2455 * @param viewId The id of the view whose text size should change
2459 public void setTextViewTextSize(int viewId, int units, float size) {
2460 addAction(new TextViewSizeAction(viewId, units, size));
2467 * @param viewId The id of the view whose text should change
2473 public void setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) {
2474 addAction(new TextViewDrawableAction(viewId, false, left, top, right, bottom));
2481 * @param viewId The id of the view whose text should change
2488 public void setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) {
2489 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
2496 * @param viewId The id of the view whose text should change.
2506 public void setTextViewCompoundDrawablesRelativeColorFilter(int viewId,
2511 addAction(new TextViewDrawableColorFilterAction(viewId, true, index, color, mode));
2519 * @param viewId The id of the view whose text should change
2527 public void setTextViewCompoundDrawables(int viewId, Icon left, Icon top, Icon right, Icon bottom) {
2528 addAction(new TextViewDrawableAction(viewId, false, left, top, right, bottom));
2536 * @param viewId The id of the view whose text should change
2545 public void setTextViewCompoundDrawablesRelative(int viewId, Icon start, Icon top, Icon end, Icon bottom) {
2546 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
2552 * @param viewId The id of the view whose drawable should change
2555 public void setImageViewResource(int viewId, int srcId) {
2556 setInt(viewId, "setImageResource", srcId);
2562 * @param viewId The id of the view whose drawable should change
2565 public void setImageViewUri(int viewId, Uri uri) {
2566 setUri(viewId, "setImageURI", uri);
2572 * @param viewId The id of the view whose bitmap should change
2575 public void setImageViewBitmap(int viewId, Bitmap bitmap) {
2576 setBitmap(viewId, "setImageBitmap", bitmap);
2582 * @param viewId The id of the view whose bitmap should change
2585 public void setImageViewIcon(int viewId, Icon icon) {
2586 setIcon(viewId, "setImageIcon", icon);
2592 * @param viewId The id of the view on which to set the empty view
2595 public void setEmptyView(int viewId, int emptyViewId) {
2596 addAction(new SetEmptyView(viewId, emptyViewId));
2605 * @param viewId The id of the {@link Chronometer} to change
2615 public void setChronometer(int viewId, long base, String format, boolean started) {
2616 setLong(viewId, "setBase", base);
2617 setString(viewId, "setFormat", format);
2618 setBoolean(viewId, "setStarted", started);
2623 * the chronometer with the given viewId.
2625 * @param viewId The id of the {@link Chronometer} to change
2629 public void setChronometerCountDown(int viewId, boolean isCountDown) {
2630 setBoolean(viewId, "setCountDown", isCountDown);
2640 * @param viewId The id of the {@link ProgressBar} to change
2646 public void setProgressBar(int viewId, int max, int progress,
2648 setBoolean(viewId, "setIndeterminate", indeterminate);
2650 setInt(viewId, "setMax", max);
2651 setInt(viewId, "setProgress", progress);
2665 * @param viewId The id of the view that will trigger the {@link PendingIntent} when clicked
2668 public void setOnClickPendingIntent(int viewId, PendingIntent pendingIntent) {
2669 addAction(new SetOnClickPendingIntent(viewId, pendingIntent));
2679 * @param viewId The id of the collection who's children will use this PendingIntent template
2682 * by a child of viewId and executed when that child is clicked
2684 public void setPendingIntentTemplate(int viewId, PendingIntent pendingIntentTemplate) {
2685 addAction(new SetPendingIntentTemplate(viewId, pendingIntentTemplate));
2703 * @param viewId The id of the view on which to set the fillInIntent
2705 * in order to determine the on-click behavior of the view specified by viewId
2707 public void setOnClickFillInIntent(int viewId, Intent fillInIntent) {
2708 addAction(new SetOnClickFillInIntent(viewId, fillInIntent));
2720 * @param viewId The id of the view that contains the target
2737 public void setDrawableParameters(int viewId, boolean targetBackground, int alpha,
2739 addAction(new SetDrawableParameters(viewId, targetBackground, alpha,
2747 * @param viewId The id of the view whose tint should change
2750 public void setProgressTintList(int viewId, ColorStateList tint) {
2751 addAction(new ReflectionAction(viewId, "setProgressTintList",
2759 * @param viewId The id of the view whose tint should change
2762 public void setProgressBackgroundTintList(int viewId, ColorStateList tint) {
2763 addAction(new ReflectionAction(viewId, "setProgressBackgroundTintList",
2771 * @param viewId The id of the view whose tint should change
2774 public void setProgressIndeterminateTintList(int viewId, ColorStateList tint) {
2775 addAction(new ReflectionAction(viewId, "setIndeterminateTintList",
2782 * @param viewId The id of the view whose text color should change
2786 public void setTextColor(int viewId, @ColorInt int color) {
2787 setInt(viewId, "setTextColor", color);
2794 * @param viewId The id of the view whose text color should change
2797 public void setTextColor(int viewId, @ColorInt ColorStateList colors) {
2798 addAction(new ReflectionAction(viewId, "setTextColor", ReflectionAction.COLOR_STATE_LIST,
2807 * @param viewId The id of the {@link AdapterView}
2814 public void setRemoteAdapter(int appWidgetId, int viewId, Intent intent) {
2815 setRemoteAdapter(viewId, intent);
2822 * @param viewId The id of the {@link AdapterView}
2826 public void setRemoteAdapter(int viewId, Intent intent) {
2827 addAction(new SetRemoteViewsAdapterIntent(viewId, intent));
2831 * Creates a simple Adapter for the viewId specified. The viewId must point to an AdapterView,
2842 * @param viewId The id of the {@link AdapterView}
2843 * @param list The list of RemoteViews which will populate the view specified by viewId.
2851 public void setRemoteAdapter(int viewId, ArrayList<RemoteViews> list, int viewTypeCount) {
2852 addAction(new SetRemoteViewsAdapterList(viewId, list, viewTypeCount));
2858 * @param viewId The id of the view to change
2861 public void setScrollPosition(int viewId, int position) {
2862 setInt(viewId, "smoothScrollToPosition", position);
2868 * @param viewId The id of the view to change
2871 public void setRelativeScrollPosition(int viewId, int offset) {
2872 setInt(viewId, "smoothScrollByOffset", offset);
2878 * @param viewId The id of the view to change
2884 public void setViewPadding(int viewId, int left, int top, int right, int bottom) {
2885 addAction(new ViewPaddingAction(viewId, left, top, right, bottom));
2894 * @param viewId The id of the view to change
2897 public void setViewLayoutMarginEndDimen(int viewId, @DimenRes int endMarginDimen) {
2898 addAction(new LayoutParamAction(viewId, LayoutParamAction.LAYOUT_MARGIN_END_DIMEN,
2908 public void setViewLayoutMarginBottomDimen(int viewId, @DimenRes int bottomMarginDimen) {
2909 addAction(new LayoutParamAction(viewId, LayoutParamAction.LAYOUT_MARGIN_BOTTOM_DIMEN,
2920 public void setViewLayoutWidth(int viewId, int layoutWidth) {
2925 mActions.add(new LayoutParamAction(viewId, LayoutParamAction.LAYOUT_WIDTH, layoutWidth));
2931 * @param viewId The id of the view on which to call the method.
2935 public void setBoolean(int viewId, String methodName, boolean value) {
2936 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.BOOLEAN, value));
2942 * @param viewId The id of the view on which to call the method.
2946 public void setByte(int viewId, String methodName, byte value) {
2947 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.BYTE, value));
2953 * @param viewId The id of the view on which to call the method.
2957 public void setShort(int viewId, String methodName, short value) {
2958 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.SHORT, value));
2964 * @param viewId The id of the view on which to call the method.
2968 public void setInt(int viewId, String methodName, int value) {
2969 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.INT, value));
2975 * @param viewId The id of the view on which to call the method.
2979 public void setLong(int viewId, String methodName, long value) {
2980 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.LONG, value));
2986 * @param viewId The id of the view on which to call the method.
2990 public void setFloat(int viewId, String methodName, float value) {
2991 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.FLOAT, value));
2997 * @param viewId The id of the view on which to call the method.
3001 public void setDouble(int viewId, String methodName, double value) {
3002 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.DOUBLE, value));
3008 * @param viewId The id of the view on which to call the method.
3012 public void setChar(int viewId, String methodName, char value) {
3013 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.CHAR, value));
3019 * @param viewId
3023 public void setString(int viewId, String methodName, String value) {
3024 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.STRING, value));
3030 * @param viewId The id of the view on which to call the method.
3034 public void setCharSequence(int viewId, String methodName, CharSequence value) {
3035 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.CHAR_SEQUENCE, value));
3041 * @param viewId The id of the view on which to call the method.
3045 public void setUri(int viewId, String methodName, Uri value) {
3053 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.URI, value));
3062 * @param viewId The id of the view on which to call the method.
3066 public void setBitmap(int viewId, String methodName, Bitmap value) {
3067 addAction(new BitmapReflectionAction(viewId, methodName, value));
3073 * @param viewId The id of the view on which to call the method.
3077 public void setBundle(int viewId, String methodName, Bundle value) {
3078 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.BUNDLE, value));
3084 * @param viewId The id of the view on which to call the method.
3088 public void setIntent(int viewId, String methodName, Intent value) {
3089 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.INTENT, value));
3095 * @param viewId The id of the view on which to call the method.
3099 public void setIcon(int viewId, String methodName, Icon value) {
3100 addAction(new ReflectionAction(viewId, methodName, ReflectionAction.ICON, value));
3106 * @param viewId The id of the view whose content description should change.
3109 public void setContentDescription(int viewId, CharSequence contentDescription) {
3110 setCharSequence(viewId, "setContentDescription", contentDescription);
3116 * @param viewId The id of the view whose before view in accessibility traversal to set.
3119 public void setAccessibilityTraversalBefore(int viewId, int nextId) {
3120 setInt(viewId, "setAccessibilityTraversalBefore", nextId);
3126 * @param viewId The id of the view whose after view in accessibility traversal to set.
3129 public void setAccessibilityTraversalAfter(int viewId, int nextId) {
3130 setInt(viewId, "setAccessibilityTraversalAfter", nextId);
3136 * @param viewId The id of the view whose property to set.
3139 public void setLabelFor(int viewId, int labeledId) {
3140 setInt(viewId, "setLabelFor", labeledId);