Home | History | Annotate | Download | only in widget

Lines Matching full:view

34 import android.view.LayoutInflater;
35 import android.view.RemotableViewMethod;
36 import android.view.View;
37 import android.view.ViewGroup;
38 import android.view.LayoutInflater.Filter;
39 import android.view.View.OnClickListener;
50 * A class that describes a view hierarchy that can be displayed in
71 * An array of actions to perform on the view tree once it has been
78 * This annotation indicates that a subclass of View is alllowed to be used
101 * inflated view.
105 public abstract void apply(View root) throws ActionException;
114 * {@link android.view.View#setOnClickListener(android.view.View.OnClickListener)}
135 public void apply(View root) {
136 final View target = root.findViewById(viewId);
139 public void onClick(View v) {
140 // Find target view location in screen coordinates and
179 * and/or {@link Drawable#setLevel(int)} on the {@link Drawable} of a given view.
182 * target {@link View#getBackground()} by default. If targetBackground is false,
229 public void apply(View root) {
230 final View target = root.findViewById(viewId);
235 // Pick the correct drawable to modify for this view
443 public void apply(View root) {
444 final View view = root.findViewById(viewId);
445 if (view == null) {
446 throw new ActionException("can't find view: 0x" + Integer.toHexString(viewId));
454 Class klass = view.getClass();
460 throw new ActionException("view
465 throw new ActionException("view: " + klass.getName()
473 Log.d("RemoteViews", "view: " + klass.getName() + " calling method: "
477 method.invoke(view, this.value);
486 * Equivalent to calling {@link ViewGroup#addView(View)} after inflating the
508 public void apply(View root) {
592 * Equivalent to calling {@link ViewGroup#addView(View)} after inflating the
616 * Equivalent to calling View.setVisibility
618 * @param viewId The id of the view whose visibility should change
619 * @param visibility The new visibility for the view
628 * @param viewId The id of the view whose text should change
629 * @param text The new text for the view
638 * @param viewId The id of the view whose drawable should change
648 * @param viewId The id of the view whose drawable should change
658 * @param viewId The id of the view whose drawable should change
671 * @param viewId The id of the view whose text should change
692 * @param viewId The id of the view whose text should change
709 * {@link android.view.View#setOnClickListener(android.view.View.OnClickListener)}
712 * @param viewId The id of the view that will trigger the {@link PendingIntent} when clicked
724 * view.
728 * @param viewId The id of the view that contains the target
732 * {@link android.view.View#getBackground()}. Otherwise, assume
733 * the target view is an {@link ImageView} and apply them to
754 * @param viewId The id of the view whose text should change
763 * Call a method taking one boolean on a view in the layout for this RemoteViews.
765 * @param viewId The id of the view whose text should change
774 * Call a method taking one byte on a view in the layout for this RemoteViews.
776 * @param viewId The id of the view whose text should change
785 * Call a method taking one short on a view in the layout for this RemoteViews.
787 * @param viewId The id of the view whose text should change
796 * Call a method taking one int on a view in the layout for this RemoteViews.
798 * @param viewId The id of the view whose text should change
807 * Call a method taking one long on a view in the layout for this RemoteViews.
809 * @param viewId The id of the view whose text should change
818 * Call a method taking one float on a view in the layout for this RemoteViews.
820 * @param viewId The id of the view whose text should change
829 * Call a method taking one double on a view in the layout for this RemoteViews.
831 * @param viewId The id of the view whose text should change
840 * Call a method taking one char on a view in the layout for this RemoteViews.
842 * @param viewId The id of the view whose text should change
851 * Call a method taking one String on a view in the layout for this RemoteViews.
853 * @param viewId The id of the view whose text should change
862 * Call a method taking one CharSequence on a view in the layout for this RemoteViews.
864 * @param viewId The id of the view whose text should change
873 * Call a method taking one Uri on a view in the layout for this RemoteViews.
875 * @param viewId The id of the view whose text should change
884 * Call a method taking one Bitmap on a view
889 * @param viewId The id of the view whose text should change
898 * Call a method taking one Bundle on a view in the layout for this RemoteViews.
900 * @param viewId The id of the view whose text should change
909 * Inflates the view hierarchy represented by this object and applies
915 * @param parent Parent that the resulting view hierarchy will be attached to. This method
917 * @return The inflated view hierarchy
919 public View apply(Context context, ViewGroup parent) {
920 View result;
938 * Applies all of the actions to the provided view.
942 * @param v The view to apply the actions to. This should be the result of
945 public void reapply(Context context, View v) {
950 private void performApply(View v) {
981 * @see android.view.LayoutInflater.Filter#onLoadClass(java.lang.Class)