Searched refs:view (Results 426 - 450 of 3459) sorted by relevance

<<11121314151617181920>>

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCompoundButtonBindingAdapter.java37 public static void setChecked(CompoundButton view, boolean checked) { argument
38 if (view.isChecked() != checked) {
39 view.setChecked(checked);
45 public static void setListeners(CompoundButton view, final OnCheckedChangeListener listener, argument
48 view.setOnCheckedChangeListener(listener);
50 view.setOnCheckedChangeListener(new OnCheckedChangeListener() {
H A DNumberPickerBindingAdapter.java39 public static void setValue(NumberPicker view, int value) { argument
40 if (view.getValue() != value) {
41 view.setValue(value);
47 public static void setListeners(NumberPicker view, final OnValueChangeListener listener, argument
50 view.setOnValueChangedListener(listener);
52 view.setOnValueChangedListener(new OnValueChangeListener() {
H A DSeekBarBindingAdapter.java31 public static void setProgress(SeekBar view, int progress) { argument
32 if (progress != view.getProgress()) {
33 view.setProgress(progress);
39 public static void setOnSeekBarChangeListener(SeekBar view, final OnStartTrackingTouch start, argument
43 view.setOnSeekBarChangeListener(null);
45 view.setOnSeekBarChangeListener(new OnSeekBarChangeListener() {
/frameworks/support/compat/tests/java/android/support/v4/view/
H A DViewCompatTest.java16 package android.support.v4.view;
21 import android.view.Display;
22 import android.view.View;
48 mView = activity.findViewById(R.id.view);
67 final View view = new View(mActivityTestRule.getActivity());
68 final Display display = ViewCompat.getDisplay(view);
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
H A DTestUtilsMatchers.java27 import android.support.v4.view.ViewCompat;
28 import android.view.View;
29 import android.view.ViewGroup;
30 import android.view.ViewParent;
54 public boolean matchesSafely(final View view) {
55 Drawable actualBackgroundDrawable = view.getBackground();
94 public boolean matchesSafely(View view) {
95 return clazz.equals(view.getClass());
114 public boolean matchesSafely(final View view) {
115 final ViewParent parent = view
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
H A DPaletteActivity.java30 import android.support.v4.view.ViewCompat;
34 import android.view.Menu;
35 import android.view.MenuInflater;
36 import android.view.MenuItem;
37 import android.view.View;
85 public void onViewCreated(View view, Bundle savedInstanceState) { argument
86 super.onViewCreated(view, savedInstanceState);
188 public void bindView(final View view, Context context, Cursor cursor) { argument
189 // Let's reset the view, clearing the ImageView and resetting the background colors
191 ImageView imageView = (ImageView) view
236 setBackgroundColor(View view, Palette.Swatch swatch) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DTextInputLayoutUsage.java24 import android.view.View;
43 public void showError(View view) { argument
47 public void clearError(View view) { argument
51 public void setPasswordEnabled(View view) { argument
55 public void setPasswordDisabled(View view) { argument
59 public void toggleEnabled(View view) { argument
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
H A DPaletteActivity.java30 import android.support.v4.view.ViewCompat;
34 import android.view.Menu;
35 import android.view.MenuInflater;
36 import android.view.MenuItem;
37 import android.view.View;
85 public void onViewCreated(View view, Bundle savedInstanceState) { argument
86 super.onViewCreated(view, savedInstanceState);
188 public void bindView(final View view, Context context, Cursor cursor) { argument
189 // Let's reset the view, clearing the ImageView and resetting the background colors
191 ImageView imageView = (ImageView) view
236 setBackgroundColor(View view, Palette.Swatch swatch) argument
[all...]
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DTextInputLayoutUsage.java24 import android.view.View;
43 public void showError(View view) { argument
47 public void clearError(View view) { argument
51 public void setPasswordEnabled(View view) { argument
55 public void setPasswordDisabled(View view) { argument
59 public void toggleEnabled(View view) { argument
/frameworks/support/transition/ics/android/support/transition/
H A DFadePort.java23 import android.support.v4.view.ViewCompat;
25 import android.view.View;
26 import android.view.ViewGroup;
32 * {@link View#setVisibility(int)} state of the view as well as whether it
33 * is parented in the current view hierarchy.
35 * <p>The ability of this transition to fade out a particular view, and the
37 * the situation of the view in the view hierarchy. For example, if a view was
38 * simply removed from its parent, then the view wil
105 createAnimation(View view, float startAlpha, float endAlpha, AnimatorListenerAdapter listener) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DMediaItemActionPresenter.java18 import android.view.LayoutInflater;
19 import android.view.View;
20 import android.view.ViewGroup;
38 public ViewHolder(View view) { argument
39 super(view);
40 mIcon = (ImageView) view.findViewById(R.id.actionIcon);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionMode.java17 package android.support.v7.view;
20 import android.view.Menu;
21 import android.view.MenuInflater;
22 import android.view.MenuItem;
23 import android.view.View;
75 * a custom view has been set.
86 * a custom view has been set.
97 * a custom view has been set.
108 * a custom view has been set.
156 * Set a custom view fo
164 setCustomView(View view) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatViewInflater.java26 import android.support.v4.view.ViewCompat;
28 import android.support.v7.view.ContextThemeWrapper;
45 import android.view.InflateException;
46 import android.view.View;
69 "android.view.",
85 // We can emulate Lollipop's android:theme attribute propagating down the view hierarchy
98 View view = null;
103 view = new AppCompatTextView(context, attrs);
106 view = new AppCompatImageView(context, attrs);
109 view
193 checkOnClickListener(View view, AttributeSet attrs) argument
[all...]
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java30 import android.view.GhostView;
31 import android.view.View;
32 import android.view.ViewGroup;
113 * <p>Note: when Overlays are not used when a parent changes, a view can be clipped when
115 * {@link android.view.ViewGroup#setClipChildren(boolean)} and
116 * {@link android.view.ViewGroup#setClipToPadding(boolean)} can help. Also, when
118 * child view will be relative to its parent's final position, so it may appear to "jump"
123 * affects the transform of the transitioning view.
135 * <p>Note: when Overlays are not used when a parent changes, a view can be clipped when
137 * {@link android.view
407 setIdentityTransforms(View view) argument
411 setTransforms(View view, float translationX, float translationY, float translationZ, float scaleX, float scaleY, float rotationX, float rotationY, float rotationZ) argument
434 Transforms(View view) argument
445 restore(View view) argument
472 GhostListener(View view, View startView, GhostView ghostView) argument
510 PathAnimatorMatrix(View view, float[] values) argument
[all...]
H A DChangeClipBounds.java24 import android.view.View;
25 import android.view.ViewGroup;
28 * ChangeClipBounds captures the {@link android.view.View#getClipBounds()} before and after the
54 View view = values.view;
55 if (view.getVisibility() == View.GONE) {
59 Rect clip = view.getClipBounds();
62 Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight());
100 endValues.view
[all...]
/frameworks/support/compat/tests/java/android/support/v4/testutils/
H A DTextViewActions.java27 import android.view.View;
50 public void perform(UiController uiController, View view) {
53 TextView textView = (TextView) view;
77 public void perform(UiController uiController, View view) {
80 TextView textView = (TextView) view;
104 public void perform(UiController uiController, View view) {
107 TextView textView = (TextView) view;
131 public void perform(UiController uiController, View view) {
134 TextView textView = (TextView) view;
160 public void perform(UiController uiController, View view) {
[all...]
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DSwitchPreference.java27 import android.view.View;
28 import android.view.accessibility.AccessibilityManager;
74 * the view. Can be 0 to not look for defaults.
76 * supplies default values for the view, used only if
115 * the view. Can be 0 to not look for defaults.
211 protected void performClick(View view) { argument
212 super.performClick(view);
213 syncViewIfAccessibilityEnabled(view);
217 private void syncViewIfAccessibilityEnabled(View view) { argument
224 View switchView = view
231 syncSwitchView(View view) argument
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DSwitchPreferenceCompat.java25 import android.view.View;
26 import android.view.accessibility.AccessibilityManager;
71 * the view. Can be 0 to not look for defaults.
73 * supplies default values for the view, used only if
112 * the view. Can be 0 to not look for defaults.
206 protected void performClick(View view) { argument
207 super.performClick(view);
208 syncViewIfAccessibilityEnabled(view);
211 private void syncViewIfAccessibilityEnabled(View view) { argument
218 View switchView = view
225 syncSwitchView(View view) argument
[all...]
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/
H A DLinkAccessibilityHelper.java21 import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat;
27 import android.view.accessibility.AccessibilityEvent;
54 * @see com.android.setupwizardlib.view.RichTextView
64 public LinkAccessibilityHelper(TextView view) { argument
65 super(view);
66 mView = view;
208 private static int getOffsetForPosition(TextView view, float x, float y) { argument
209 if (view.getLayout() == null) return -1;
210 final int line = getLineAtCoordinate(view, y);
211 return getOffsetAtCoordinate(view, lin
214 convertToLocalHorizontalCoordinate(TextView view, float x) argument
223 getLineAtCoordinate(TextView view, float y) argument
232 getOffsetAtCoordinate(TextView view, int line, float x) argument
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtilsMatchers.java24 import android.support.v4.view.TintableBackgroundView;
26 import android.view.View;
27 import android.view.ViewGroup;
28 import android.view.ViewParent;
55 public boolean matchesSafely(final ImageView view) {
56 Drawable drawable = view.getDrawable();
65 TestUtils.assertAllPixelsOfColor("", drawable, view.getWidth(),
66 view.getHeight(), true, color, 0, true);
95 public boolean matchesSafely(final View view) {
96 Drawable drawable = view
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java20 import android.view.View;
21 import android.view.ViewGroup;
33 * When RecyclerView needs direct access to the view group children, it can call unfiltered
55 * Marks a child view as hidden
65 * Unmarks a child view as hidden.
79 * Adds a view to the ViewGroup
89 * Add a view to the ViewGroup at an index
137 * @param view The view to remove.
139 void removeView(View view) { argument
318 isHidden(View view) argument
327 hide(View view) argument
349 unhide(View view) argument
372 removeViewIfHidden(View view) argument
519 indexOfChild(View view) argument
527 getChildViewHolder(View view) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DRevealActivity.java28 import android.view.View;
29 import android.view.View.OnClickListener;
30 import android.view.ViewAnimationUtils;
83 public void onClick(View view) { argument
84 Animator animator = ViewAnimationUtils.createCircularReveal(view,
85 view.getWidth() / 2, view.getHeight() / 2,
86 0, Math.max(view.getWidth(), view.getHeight()));
103 view
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuItemWrapperICS.java17 package android.support.v7.view.menu;
25 import android.support.v4.internal.view.SupportMenuItem;
26 import android.support.v4.view.ActionProvider;
27 import android.support.v4.view.MenuItemCompat;
28 import android.support.v7.view.CollapsibleActionView;
30 import android.view.ContextMenu;
31 import android.view.MenuItem;
32 import android.view.SubMenu;
33 import android.view.View;
41 * Wraps a support {@link SupportMenuItem} as a framework {@link android.view
232 setActionView(View view) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java30 import android.view.GhostView;
31 import android.view.View;
32 import android.view.ViewGroup;
33 import android.view.ViewGroupOverlay;
34 import android.view.ViewParent;
35 import android.view.ViewRootImpl;
36 import android.view.ViewTreeObserver;
37 import android.view.Window;
250 final View view = sharedElements.valueAt(i);
252 if (isFirstRun && (view
267 isNested(View view, ArrayMap<String, View> sharedElements) argument
317 setEpicenter(View view) argument
421 setSharedElementState(View view, String name, Bundle transitionArgs, Matrix tempMatrix, RectF tempRect, int[] decorLoc) argument
513 getSharedElementParentMatrix(View view, Matrix matrix) argument
579 getOldSharedElementState(View view, String name, Bundle transitionArgs) argument
711 showView(View view, boolean setTransitionAlpha) argument
731 captureSharedElementState(View view, String name, Bundle transitionArgs, Matrix tempMatrix, RectF tempBounds) argument
984 GhostViewListeners(View view, View parent, ViewGroup decor) argument
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DSystemBarHelper.java28 import android.view.View;
29 import android.view.ViewGroup;
30 import android.view.Window;
31 import android.view.WindowInsets;
32 import android.view.WindowManager;
41 * bars using methods from this class. For Lollipop, {@link #hideSystemBars(android.view.Window)}
67 * The maximum number of retries when peeking the decor view. When polling for the decor view,
147 public static void addVisibilityFlag(final View view, final int flag) { argument
149 final int vis = view
169 removeVisibilityFlag(final View view, final int flag) argument
211 setImeInsetView(final View view) argument
312 onApplyWindowInsets(View view, WindowInsets insets) argument
343 getBottomDistance(View view) argument
[all...]

Completed in 1324 milliseconds

<<11121314151617181920>>