/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | AbsSpinnerBindingAdapter.java | 28 public static <T extends CharSequence> void setEntries(AbsSpinner view, T[] entries) { argument 30 SpinnerAdapter oldAdapter = view.getAdapter(); 43 new ArrayAdapter<CharSequence>(view.getContext(), 46 view.setAdapter(adapter); 49 view.setAdapter(null); 54 public static <T> void setEntries(AbsSpinner view, List<T> entries) { argument 56 SpinnerAdapter oldAdapter = view.getAdapter(); 60 view.setAdapter(new ObservableListAdapter<T>(view.getContext(), entries, 65 view [all...] |
H A D | ViewGroupBindingAdapter.java | 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.ViewGroup.OnHierarchyChangeListener; 27 import android.view.animation.Animation; 28 import android.view.animation.Animation.AnimationListener; 31 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:alwaysDrawnWithCache", method = "setAlwaysDrawnWithCacheEnabled"), 32 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:animationCache", method = "setAnimationCacheEnabled"), 33 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:splitMotionEvents", method = "setMotionEventSplittingEnabled"), 39 public static void setAnimateLayoutChanges(ViewGroup view, boolean animate) { argument 41 view 49 setListener(ViewGroup view, final OnChildViewAdded added, final OnChildViewRemoved removed) argument 74 setListener(ViewGroup view, final OnAnimationStart start, final OnAnimationEnd end, final OnAnimationRepeat repeat) argument [all...] |
H A D | RadioGroupBindingAdapter.java | 30 public static void setCheckedButton(RadioGroup view, int id) { argument 31 if (id != view.getCheckedRadioButtonId()) { 32 view.check(id); 38 public static void setListeners(RadioGroup view, final OnCheckedChangeListener listener, argument 41 view.setOnCheckedChangeListener(listener); 43 view.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
H A D | RatingBarBindingAdapter.java | 30 public static void setRating(RatingBar view, float rating) { argument 31 if (view.getRating() != rating) { 32 view.setRating(rating); 38 public static void setListeners(RatingBar view, final OnRatingBarChangeListener listener, argument 41 view.setOnRatingBarChangeListener(listener); 43 view.setOnRatingBarChangeListener(new OnRatingBarChangeListener() {
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
H A D | EmojiKeyListener.java | 24 import android.view.KeyEvent; 25 import android.view.View; 47 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { argument 49 return result || mKeyListener.onKeyDown(view, content, keyCode, event); 53 public boolean onKeyUp(View view, Editable text, int keyCode, KeyEvent event) { argument 54 return mKeyListener.onKeyUp(view, text, keyCode, event); 58 public boolean onKeyOther(View view, Editable text, KeyEvent event) { argument 59 return mKeyListener.onKeyOther(view, text, event); 63 public void clearMetaKeyState(View view, Editable content, int states) { argument 64 mKeyListener.clearMetaKeyState(view, conten [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PresenterSwitcher.java | 16 import android.view.View; 17 import android.view.ViewGroup; 20 * An abstract helper class that switches a view in its parent view using a 22 * how to add the view in parent, and may optionally override {@link #onViewSelected(View)}. 32 * Initializes the switcher with a parent view to insert view into and a 43 * Selects a view based on the given object and shows that view. 51 * Hides the view 91 insertView(View view) argument 96 onViewSelected(View view) argument 99 showView(View view, boolean visible) argument [all...] |
H A D | RoundedRectHelper.java | 18 import android.view.View; 21 * Helper for setting rounded rectangle backgrounds on a view. 40 * Sets or removes a rounded rectangle outline on the given view. 42 public void setClipToRoundedOutline(View view, boolean clip, int radius) { argument 43 mImpl.setClipToRoundedOutline(view, clip, radius); 47 * Sets or removes a rounded rectangle outline on the given view. 49 public void setClipToRoundedOutline(View view, boolean clip) { argument 50 mImpl.setClipToRoundedOutline(view, clip, view.getResources().getDimensionPixelSize( 55 public void setClipToRoundedOutline(View view, boolea argument 66 setClipToRoundedOutline(View view, boolean clip, int radius) argument 79 setClipToRoundedOutline(View view, boolean clip, int radius) argument [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | CallbackBindingObject.java | 24 import android.view.ContextMenu; 25 import android.view.DragEvent; 26 import android.view.KeyEvent; 27 import android.view.MenuItem; 28 import android.view.MotionEvent; 29 import android.view.View; 30 import android.view.ViewStub; 31 import android.view.WindowInsets; 32 import android.view.animation.Animation; 50 void onClick(View view); argument 52 onLongClick(View view) argument 54 onClickWithParam(View view, NotBindableVo other) argument 56 onLongClickWithParam(View view, NotBindableVo other) argument [all...] |
/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | ViewUtilsLollipop.java | 27 import android.view.View; 28 import android.view.ViewOutlineProvider; 35 static void setBoundsViewOutlineProvider(View view) { argument 36 view.setOutlineProvider(ViewOutlineProvider.BOUNDS); 39 static void setStateListAnimatorFromAttrs(View view, AttributeSet attrs, argument 41 final Context context = view.getContext(); 48 view.setStateListAnimator(sla); 58 static void setDefaultAppBarLayoutStateListAnimator(final View view, final float elevation) { argument 59 final int dur = view.getResources().getInteger(R.integer.app_bar_elevation_anim_duration); 66 ObjectAnimator.ofFloat(view, "elevatio [all...] |
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
H A D | LayoutUtils.java | 19 import android.view.View; 20 import android.view.ViewGroup; 31 View view = currentNode.getChildAt(i); 32 if (view instanceof ViewGroup) { 33 recursivelyGather((ViewGroup) view, nodeList); 35 nodeList.add(view); 41 * Flattern the whole view tree into a list of View.
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridSimple.java | 21 import android.view.View; 22 import android.view.ViewGroup; 50 View view = super.createView(position, parent, desiredHeight); 51 view.setBackgroundColor(0xFF000000); 52 ((TextView) view).setTextSize(16.0f); 53 return view;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListSimple.java | 21 import android.view.View; 22 import android.view.ViewGroup; 46 View view = super.createView(position, parent, desiredHeight); 47 view.setBackgroundColor(0xFF191919); 48 ((TextView) view).setTextSize(16.0f); 49 return view;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | SplashScreenSurface.java | 24 import android.view.View; 25 import android.view.WindowManager; 26 import android.view.WindowManagerPolicy; 27 import android.view.WindowManagerPolicy.StartingSurface; 43 SplashScreenSurface(View view, IBinder appToken) { argument 44 mView = view;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | NavigationBarMixin.java | 19 import android.view.View; 23 import com.android.setupwizardlib.view.NavigationBar; 24 import com.android.setupwizardlib.view.NavigationBar.NavigationBarListener; 45 final View view = mTemplateLayout.findManagedViewById(R.id.suw_layout_navigation_bar); 46 return view instanceof NavigationBar ? (NavigationBar) view : null;
|
/frameworks/support/compat/java/android/support/v4/view/ |
H A D | NestedScrollingChild2.java | 18 package android.support.v4.view; 21 import android.support.v4.view.ViewCompat.NestedScrollType; 22 import android.support.v4.view.ViewCompat.ScrollAxis; 23 import android.view.MotionEvent; 24 import android.view.View; 25 import android.view.ViewParent; 30 * {@link android.view.ViewGroup ViewGroup}. 46 * <p>A view starting a nested scroll promises to abide by the following contract:</p> 48 * <p>The view will call startNestedScroll upon initiating a scroll operation. In the case 95 * Returns true if this view ha [all...] |
H A D | NestedScrollingParent.java | 18 package android.support.v4.view; 21 import android.support.v4.view.ViewCompat.ScrollAxis; 22 import android.view.MotionEvent; 23 import android.view.VelocityTracker; 24 import android.view.View; 25 import android.view.ViewConfiguration; 28 * This interface should be implemented by {@link android.view.ViewGroup ViewGroup} subclasses 29 * that wish to support scrolling operations delegated by a nested child view. 42 * React to a descendant view initiating a nestable scroll operation, claiming the 45 * <p>This method will be called in response to a descendant view invokin [all...] |
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/ |
H A D | TestUtilsMatchers.java | 22 import android.support.v4.view.ViewCompat; 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.ViewParent; 51 public boolean matchesSafely(final View view) { 52 Drawable actualBackgroundDrawable = view.getBackground(); 91 public boolean matchesSafely(View view) { 92 return clazz.equals(view.getClass()); 111 public boolean matchesSafely(final View view) { 112 final ViewParent parent = view [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | AnimationUtils.java | 19 import android.support.v4.view.animation.FastOutLinearInInterpolator; 20 import android.support.v4.view.animation.FastOutSlowInInterpolator; 21 import android.support.v4.view.animation.LinearOutSlowInInterpolator; 22 import android.view.animation.DecelerateInterpolator; 23 import android.view.animation.Interpolator; 24 import android.view.animation.LinearInterpolator;
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | ViewGroupOverlayApi14.java | 22 import android.view.View; 23 import android.view.ViewGroup; 37 public void add(@NonNull View view) { argument 38 mOverlayViewGroup.add(view); 42 public void remove(@NonNull View view) { argument 43 mOverlayViewGroup.remove(view);
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | TransitionValues.java | 19 import android.view.View; 27 * The view field is the target which all of the values pertain to. 40 * for {@link android.support.transition.Transition#createAnimator(android.view.ViewGroup, 53 public View view; field in class:TransitionValues 56 * The Transitions that targeted this view. 63 if (view == ((TransitionValues) other).view) { 74 return 31 * view.hashCode() + values.hashCode(); 80 returnValue += " view = " + view [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodSession.aidl | 17 package com.android.internal.view; 21 import android.view.KeyEvent; 22 import android.view.MotionEvent; 23 import android.view.inputmethod.CompletionInfo; 24 import android.view.inputmethod.CursorAnchorInfo; 25 import android.view.inputmethod.ExtractedText;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | MergeTest.java | 17 package android.view; 19 import android.view.Merge; 23 import android.view.ViewGroup;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | EventStreamTransformation.java | 19 import android.view.KeyEvent; 20 import android.view.MotionEvent; 21 import android.view.accessibility.AccessibilityEvent;
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestFrameLayoutLocale.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup;
|
H A D | BiDiTestFrameLayoutLtr.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup;
|