Searched refs:view (Results 201 - 225 of 4387) sorted by relevance

1234567891011>>

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DCacheUtils.java28 static void verifyPositionsPrefetched(RecyclerView view, int dx, int dy, argument
32 view.mLayout.collectAdjacentPrefetchPositions(
33 dx, dy, view.mState, layoutPrefetchRegistry);
41 private static void verifyCacheContainsPosition(RecyclerView view, int position) { argument
42 for (int i = 0; i < view.mRecycler.mCachedViews.size(); i++) {
43 if (view.mRecycler.mCachedViews.get(i).mPosition == position) return;
49 * Asserts that the positions passed are all resident in the view's cache.
51 static void verifyCacheContainsPositions(RecyclerView view, Integer... positions) { argument
53 verifyCacheContainsPosition(view, position);
58 * Asserts that the position passed is resident in the view'
62 verifyCacheContainsPrefetchedPositions(RecyclerView view, Integer... positions) argument
74 verifyCacheDoesNotContainPositions(RecyclerView view, Integer... positions) argument
83 peekAtCachedViewForPosition(RecyclerView view, int position) argument
[all...]
/frameworks/base/core/java/android/transition/
H A DSlide.java24 import android.view.Gravity;
25 import android.view.View;
26 import android.view.ViewGroup;
27 import android.view.animation.AccelerateInterpolator;
28 import android.view.animation.DecelerateInterpolator;
39 * {@link View#setVisibility(int)} state of the view as well as whether it
40 * is parented in the current view hierarchy. Disappearing Views are
41 * limited as described in {@link Visibility#onDisappear(android.view.ViewGroup,
60 /** Returns the translation value for view when it goes out of the scene */
61 float getGoneX(ViewGroup sceneRoot, View view, floa argument
64 getGoneY(ViewGroup sceneRoot, View view, float fraction) argument
70 getGoneY(ViewGroup sceneRoot, View view, float fraction) argument
78 getGoneX(ViewGroup sceneRoot, View view, float fraction) argument
234 onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
250 onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DColoredShadowsActivity.java24 import android.view.View;
25 import android.view.ViewGroup;
41 View view = row.getChildAt(i);
42 //view.setBackground(new MyHackyBackground());
43 view.setOutlineSpotShadowColor(shadowColorFor(view));
44 view.setOutlineAmbientShadowColor(shadowColorFor(view));
45 view.setElevation(6.0f * (rowIndex + 1));
49 private int shadowColorFor(View view) { argument
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAbsSpinnerBindingAdapter.java28 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 DViewGroupBindingAdapter.java24 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 DRadioGroupBindingAdapter.java30 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 DRatingBarBindingAdapter.java30 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/main/java/androidx/emoji/widget/
H A DEmojiKeyListener.java21 import android.view.KeyEvent;
22 import android.view.View;
48 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { argument
50 return result || mKeyListener.onKeyDown(view, content, keyCode, event);
54 public boolean onKeyUp(View view, Editable text, int keyCode, KeyEvent event) { argument
55 return mKeyListener.onKeyUp(view, text, keyCode, event);
59 public boolean onKeyOther(View view, Editable text, KeyEvent event) { argument
60 return mKeyListener.onKeyOther(view, text, event);
64 public void clearMetaKeyState(View view, Editable content, int states) { argument
65 mKeyListener.clearMetaKeyState(view, conten
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DPresenterSwitcher.java16 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...]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DCallbackBindingObject.java24 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/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DLayoutUtils.java19 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 DGridSimple.java21 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 DListSimple.java21 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DPropertyAnimator.java24 import android.view.View;
25 import android.view.animation.Interpolator;
38 public static <T extends View> void setProperty(final T view, argument
42 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag);
44 startAnimation(view, animatableProperty, newEndValue, properties);
47 animatableProperty.getProperty().set(view, newEndValue);
51 public static <T extends View> void startAnimation(final T view, argument
57 Float previousStartValue = ViewState.getChildTag(view, animationStartTag);
58 Float previousEndValue = ViewState.getChildTag(view, animationEndTag);
63 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTa
119 isAnimating(T view, AnimatableProperty property) argument
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A DNavigationBarMixin.java19 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/src/main/java/androidx/core/view/
H A DNestedScrollingParent.java18 package androidx.core.view;
20 import android.view.MotionEvent;
21 import android.view.VelocityTracker;
22 import android.view.View;
23 import android.view.ViewConfiguration;
26 import androidx.core.view.ViewCompat.ScrollAxis;
29 * This interface should be implemented by {@link android.view.ViewGroup ViewGroup} subclasses
30 * that wish to support scrolling operations delegated by a nested child view.
43 * React to a descendant view initiating a nestable scroll operation, claiming the
46 * <p>This method will be called in response to a descendant view invokin
[all...]
/frameworks/support/transition/src/main/java/androidx/transition/
H A DTransitionValues.java19 import android.view.View;
27 * The view field is the target which all of the values pertain to.
40 * for {@link androidx.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/support/viewpager/src/androidTest/java/android/support/v4/testutils/
H A DTestUtilsMatchers.java23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.ViewParent;
28 import androidx.core.view.ViewCompat;
52 public boolean matchesSafely(final View view) {
53 Drawable actualBackgroundDrawable = view.getBackground();
92 public boolean matchesSafely(View view) {
93 return clazz.equals(view.getClass());
112 public boolean matchesSafely(final View view) {
113 final ViewParent parent = view
[all...]
/frameworks/base/core/java/com/android/internal/globalactions/
H A DAction.java19 import android.view.LayoutInflater;
20 import android.view.View;
21 import android.view.ViewGroup;
28 /** Create the view that represents this action. */
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodSession.aidl17 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 DMergeTest.java17 package android.view;
19 import android.view.Merge;
23 import android.view.ViewGroup;
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestFrameLayoutLocale.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
H A DBiDiTestFrameLayoutLtr.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
H A DBiDiTestFrameLayoutRtl.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
H A DBiDiTestGridLayoutLocale.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;

Completed in 1552 milliseconds

1234567891011>>