Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 2404) sorted by relevance

12345678910>>...97

/frameworks/support/v4/java/android/support/v4/view/
DViewCompat.java17 package android.support.v4.view;
26 import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat;
27 import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat;
29 import android.view.View;
30 import android.view.ViewGroup;
31 import android.view.ViewParent;
32 import android.view.accessibility.AccessibilityEvent;
266 public boolean hasTransientState(View view); in hasTransientState() argument
267 public void setHasTransientState(View view, boolean hasTransientState); in setHasTransientState() argument
268 public void postInvalidateOnAnimation(View view); in postInvalidateOnAnimation() argument
[all …]
DViewPropertyAnimatorCompat.java16 package android.support.v4.view;
18 import android.view.View;
19 import android.view.animation.Interpolator;
35 ViewPropertyAnimatorCompat(View view) { in ViewPropertyAnimatorCompat() argument
36 mView = new WeakReference<View>(view); in ViewPropertyAnimatorCompat()
40 public void setDuration(ViewPropertyAnimatorCompat vpa, View view, long value); in setDuration() argument
41 public long getDuration(ViewPropertyAnimatorCompat vpa, View view); in getDuration() argument
42 public void setInterpolator(ViewPropertyAnimatorCompat vpa, View view, Interpolator value); in setInterpolator() argument
43 public Interpolator getInterpolator(ViewPropertyAnimatorCompat vpa, View view); in getInterpolator() argument
44 public void setStartDelay(ViewPropertyAnimatorCompat vpa, View view, long value); in setStartDelay() argument
[all …]
/frameworks/support/v4/honeycomb/android/support/v4/view/
DViewCompatHC.java17 package android.support.v4.view;
21 import android.view.View;
28 public static float getAlpha(View view) { in getAlpha() argument
29 return view.getAlpha(); in getAlpha()
32 public static void setLayerType(View view, int layerType, Paint paint) { in setLayerType() argument
33 view.setLayerType(layerType, paint); in setLayerType()
36 public static int getLayerType(View view) { in getLayerType() argument
37 return view.getLayerType(); in getLayerType()
44 public static int getMeasuredWidthAndState(View view) { in getMeasuredWidthAndState() argument
45 return view.getMeasuredWidthAndState(); in getMeasuredWidthAndState()
[all …]
/frameworks/support/v4/ics/android/support/v4/view/
DViewPropertyAnimatorCompatICS.java16 package android.support.v4.view;
20 import android.view.View;
21 import android.view.animation.Interpolator;
25 public static void setDuration(View view, long value) { in setDuration() argument
26 view.animate().setDuration(value); in setDuration()
29 public static void alpha(View view, float value) { in alpha() argument
30 view.animate().alpha(value); in alpha()
33 public static void translationX(View view, float value) { in translationX() argument
34 view.animate().translationX(value); in translationX()
37 public static void translationY(View view, float value) { in translationY() argument
[all …]
/frameworks/support/v4/jellybean/android/support/v4/view/
DViewCompatJB.java17 package android.support.v4.view;
20 import android.view.View;
21 import android.view.ViewParent;
28 public static boolean hasTransientState(View view) { in hasTransientState() argument
29 return view.hasTransientState(); in hasTransientState()
32 public static void setHasTransientState(View view, boolean hasTransientState) { in setHasTransientState() argument
33 view.setHasTransientState(hasTransientState); in setHasTransientState()
36 public static void postInvalidateOnAnimation(View view) { in postInvalidateOnAnimation() argument
37 view.postInvalidateOnAnimation(); in postInvalidateOnAnimation()
40 public static void postInvalidateOnAnimation(View view, int left, int top, in postInvalidateOnAnimation() argument
[all …]
DViewPropertyAnimatorCompatJB.java16 package android.support.v4.view;
20 import android.view.View;
24 public static void withStartAction(View view, Runnable runnable) { in withStartAction() argument
25 view.animate().withStartAction(runnable); in withStartAction()
28 public static void withEndAction(View view, Runnable runnable) { in withEndAction() argument
29 view.animate().withEndAction(runnable); in withEndAction()
32 public static void withLayer(View view) { in withLayer() argument
33 view.animate().withLayer(); in withLayer()
36 public static void setListener(final View view, in setListener() argument
39 view.animate().setListener(new AnimatorListenerAdapter() { in setListener()
[all …]
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
DViewCompatJellybeanMr1.java17 package android.support.v4.view;
20 import android.view.View;
27 public static int getLabelFor(View view) { in getLabelFor() argument
28 return view.getLabelFor(); in getLabelFor()
31 public static void setLabelFor(View view, int id) { in setLabelFor() argument
32 view.setLabelFor(id); in setLabelFor()
35 public static void setLayerPaint(View view, Paint paint) { in setLayerPaint() argument
36 view.setLayerPaint(paint); in setLayerPaint()
39 public static int getLayoutDirection(View view) { in getLayoutDirection() argument
40 return view.getLayoutDirection(); in getLayoutDirection()
[all …]
/frameworks/support/v4/api21/android/support/v4/view/
DViewCompatApi21.java17 package android.support.v4.view;
19 import android.view.View;
20 import android.view.WindowInsets;
24 public static void setTransitionName(View view, String transitionName) { in setTransitionName() argument
25 view.setTransitionName(transitionName); in setTransitionName()
28 public static String getTransitionName(View view) { in getTransitionName() argument
29 return view.getTransitionName(); in getTransitionName()
32 public static void requestApplyInsets(View view) { in requestApplyInsets() argument
33 view.requestApplyInsets(); in requestApplyInsets()
36 public static void setElevation(View view, float elevation) { in setElevation() argument
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewClient.java22 import android.view.InputEvent;
23 import android.view.KeyEvent;
24 import android.view.ViewRootImpl;
44 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading() argument
60 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() argument
72 public void onPageFinished(WebView view, String url) { in onPageFinished() argument
82 public void onLoadResource(WebView view, String url) { in onLoadResource() argument
103 public WebResourceResponse shouldInterceptRequest(WebView view, in shouldInterceptRequest() argument
123 public WebResourceResponse shouldInterceptRequest(WebView view, in shouldInterceptRequest() argument
125 return shouldInterceptRequest(view, request.getUrl().toString()); in shouldInterceptRequest()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java19 import android.view.View;
81 public abstract int getDecoratedStart(View view); in getDecoratedStart() argument
93 public abstract int getDecoratedEnd(View view); in getDecoratedEnd() argument
103 public abstract int getDecoratedMeasurement(View view); in getDecoratedMeasurement() argument
113 public abstract int getDecoratedMeasurementInOther(View view); in getDecoratedMeasurementInOther() argument
157 public abstract void offsetChild(View view, int offset); in offsetChild() argument
216 public int getDecoratedMeasurement(View view) { in createHorizontalHelper() argument
218 view.getLayoutParams(); in createHorizontalHelper()
219 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin in createHorizontalHelper()
224 public int getDecoratedMeasurementInOther(View view) { in createHorizontalHelper() argument
[all …]
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
DGeneralLocation.java19 import android.view.View;
28 public float[] calculateCoordinates(View view) { in calculateCoordinates() argument
29 return getCoordinates(view, Position.BEGIN, Position.BEGIN); in calculateCoordinates()
34 public float[] calculateCoordinates(View view) { in calculateCoordinates() argument
35 return getCoordinates(view, Position.BEGIN, Position.MIDDLE); in calculateCoordinates()
40 public float[] calculateCoordinates(View view) { in calculateCoordinates() argument
41 return getCoordinates(view, Position.BEGIN, Position.END); in calculateCoordinates()
46 public float[] calculateCoordinates(View view) { in calculateCoordinates() argument
47 return getCoordinates(view, Position.MIDDLE, Position.BEGIN); in calculateCoordinates()
52 public float[] calculateCoordinates(View view) { in calculateCoordinates() argument
[all …]
/frameworks/base/core/java/android/transition/
DSlide.java23 import android.view.Gravity;
24 import android.view.View;
25 import android.view.ViewGroup;
26 import android.view.animation.AccelerateInterpolator;
27 import android.view.animation.DecelerateInterpolator;
50 float getGoneX(ViewGroup sceneRoot, View view); in getGoneX() argument
53 float getGoneY(ViewGroup sceneRoot, View view); in getGoneY() argument
59 public float getGoneY(ViewGroup sceneRoot, View view) { in getGoneY() argument
60 return view.getTranslationY(); in getGoneY()
67 public float getGoneX(ViewGroup sceneRoot, View view) { in getGoneX() argument
[all …]
DChangeTransform.java27 import android.view.GhostView;
28 import android.view.View;
29 import android.view.ViewGroup;
163 View view = transitionValues.view; in captureValues() local
164 if (view.getVisibility() == View.GONE) { in captureValues()
167 transitionValues.values.put(PROPNAME_PARENT, view.getParent()); in captureValues()
168 Transforms transforms = new Transforms(view); in captureValues()
170 Matrix matrix = view.getMatrix(); in captureValues()
179 ViewGroup parent = (ViewGroup) view.getParent(); in captureValues()
184 view.getTag(R.id.transitionTransform)); in captureValues()
[all …]
DChangeBounds.java36 import android.view.View;
37 import android.view.ViewGroup;
119 View view = values.view; in captureValues() local
121 if (view.isLaidOut() || view.getWidth() != 0 || view.getHeight() != 0) { in captureValues()
122 values.values.put(PROPNAME_BOUNDS, new Rect(view.getLeft(), view.getTop(), in captureValues()
123 view.getRight(), view.getBottom())); in captureValues()
124 values.values.put(PROPNAME_PARENT, values.view.getParent()); in captureValues()
126 values.view.getLocationInWindow(tempLocation); in captureValues()
150 parentMatches = endParent == endValues.view; in parentMatches()
169 final View view = endValues.view; in createAnimator() local
[all …]
DChangeText.java25 import android.view.ViewGroup;
129 if (transitionValues.view instanceof TextView) { in captureValues()
130 TextView textview = (TextView) transitionValues.view; in captureValues()
158 !(startValues.view instanceof TextView) || !(endValues.view instanceof TextView)) { in createAnimator()
161 final TextView view = (TextView) endValues.view; in createAnimator() local
169 if (view instanceof EditText) { in createAnimator()
185 view.setText(startText); in createAnimator()
186 if (view instanceof EditText) { in createAnimator()
187 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); in createAnimator()
197 if (startText.equals(view.getText())) { in createAnimator()
[all …]
/frameworks/base/docs/html/sdk/api_diff/12/
DmissingSinces.txt3 NO DOC BLOCK: android.view.View.OnAttachStateChangeListener Interface
4 NO DOC BLOCK: android.view.View.OnGenericMotionListener Interface
5 NO DOC BLOCK: android.view.ViewPropertyAnimator Class
9 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Constructor (android.view.MotionEvent.PointerC…
11 NO DOC BLOCK: android.view.View Method addOnAttachStateChangeListener(android.view.View.OnAttachSta…
13 NO DOC BLOCK: android.view.View Method animate()
14 NO DOC BLOCK: android.view.MotionEvent Method axisFromString(java.lang.String)
15 NO DOC BLOCK: android.view.MotionEvent Method axisToString(int)
16 NO DOC BLOCK: android.view.View Method buildLayer()
17 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method clear()
[all …]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlide.java27 import android.view.View;
28 import android.view.ViewGroup;
29 import android.view.animation.AccelerateInterpolator;
30 import android.view.animation.DecelerateInterpolator;
78 float getGone(float slide, View view); in getGone() argument
81 float getHere(View view); in getHere() argument
89 public float getHere(View view) { in getHere() argument
90 return view.getTranslationX(); in getHere()
101 public float getHere(View view) { in getHere() argument
102 return view.getTranslationY(); in getHere()
[all …]
/frameworks/base/core/java/android/view/
DViewOutlineProvider.java17 package android.view;
35 public void getOutline(View view, Outline outline) {
36 Drawable background = view.getBackground();
40 outline.setRect(0, 0, view.getWidth(), view.getHeight());
54 public void getOutline(View view, Outline outline) {
55 outline.setRect(0, 0, view.getWidth(), view.getHeight());
67 public void getOutline(View view, Outline outline) {
68 outline.setRect(view.getPaddingLeft(),
69 view.getPaddingTop(),
70 view.getWidth() - view.getPaddingRight(),
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignment.java23 import android.view.View;
24 import android.view.ViewGroup;
87 View view = itemView; in getAlignmentPosition() local
89 view = itemView.findViewById(mViewId); in getAlignmentPosition()
90 if (view == null) { in getAlignmentPosition()
91 view = itemView; in getAlignmentPosition()
99 alignPos += view.getPaddingLeft(); in getAlignmentPosition()
102 alignPos = view == itemView ? p.getOpticalWidth(view) : view.getWidth() in getAlignmentPosition()
105 alignPos -= view.getPaddingRight(); in getAlignmentPosition()
109 alignPos += ((view == itemView ? p.getOpticalWidth(view) : view.getWidth()) in getAlignmentPosition()
[all …]
DPresenter.java16 import android.view.View;
17 import android.view.ViewGroup;
62 public final View view; field in Presenter.ViewHolder
64 public ViewHolder(View view) { in ViewHolder() argument
65 this.view = view; in ViewHolder()
113 cancelAnimationsRecursive(holder.view); in onViewDetachedFromWindow()
119 protected static void cancelAnimationsRecursive(View view) { in cancelAnimationsRecursive() argument
120 if (view.hasTransientState()) { in cancelAnimationsRecursive()
121 view.animate().cancel(); in cancelAnimationsRecursive()
122 if (view instanceof ViewGroup) { in cancelAnimationsRecursive()
[all …]
DRoundedRectHelper.java19 import android.view.View;
44 public void setRoundedRectBackground(View view, int color) { in setRoundedRectBackground() argument
45 mImpl.setRoundedRectBackground(view, color); in setRoundedRectBackground()
53 public void clearBackground(View view) { in clearBackground() argument
54 mImpl.clearBackground(view); in clearBackground()
58 public void setRoundedRectBackground(View view, int color); in setRoundedRectBackground() argument
59 public void clearBackground(View view); in clearBackground() argument
67 public void setRoundedRectBackground(View view, int color) { in setRoundedRectBackground() argument
71 view.setBackgroundColor(color); in setRoundedRectBackground()
75 public void clearBackground(View view) { in clearBackground() argument
[all …]
DFocusHighlightHelper.java18 import android.view.View;
19 import android.view.animation.AccelerateDecelerateInterpolator;
20 import android.view.animation.Interpolator;
57 FocusAnimator(View view, float scale, boolean useDimmer, int duration) { in FocusAnimator() argument
58 mView = view; in FocusAnimator()
61 if (view instanceof ShadowOverlayContainer) { in FocusAnimator()
62 mWrapper = (ShadowOverlayContainer) view; in FocusAnimator()
68 mDimmer = ColorOverlayDimmer.createDefault(view.getContext()); in FocusAnimator()
138 private float getScale(View view) { in getScale() argument
139 lazyInit(view.getResources()); in getScale()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DSubMenuWrapperICS.java17 package android.support.v7.internal.view.menu;
20 import android.support.v4.internal.view.SupportSubMenu;
21 import android.view.MenuItem;
22 import android.view.SubMenu;
23 import android.view.View;
26 SubMenuWrapperICS(android.view.SubMenu subMenu) { in SubMenuWrapperICS()
31 public android.view.SubMenu getWrappedObject() { in getWrappedObject()
32 return (android.view.SubMenu) mWrappedObject; in getWrappedObject()
37 ((android.view.SubMenu) mWrappedObject).setHeaderTitle(titleRes); in setHeaderTitle()
43 ((android.view.SubMenu) mWrappedObject).setHeaderTitle(title); in setHeaderTitle()
[all …]
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
DRoundedRectHelperApi21.java20 import android.view.ViewOutlineProvider;
21 import android.view.View;
29 public void getOutline(View view, Outline outline) {
31 sCornerRadius = view.getResources().getDimensionPixelSize(
34 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), sCornerRadius);
39 public static void setRoundedRectBackground(View view, int color) { in setRoundedRectBackground() argument
41 view.setOutlineProvider(sOutlineProvider); in setRoundedRectBackground()
43 view.setOutlineProvider(ViewOutlineProvider.BACKGROUND); in setRoundedRectBackground()
44 view.setBackgroundResource(R.drawable.lb_rounded_rect_bg); in setRoundedRectBackground()
45 ((GradientDrawable) view.getBackground().mutate()).setColor(color); in setRoundedRectBackground()
[all …]
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
DViewMatchers.java30 import android.view.View;
31 import android.view.ViewGroup;
32 import android.view.ViewParent;
33 import android.view.inputmethod.EditorInfo;
34 import android.view.inputmethod.InputConnection;
69 public boolean matchesSafely(View view) { in isAssignableFrom() argument
70 return clazz.isAssignableFrom(view.getClass()); in isAssignableFrom()
88 public boolean matchesSafely(View view) {
89 return classNameMatcher.matches(view.getClass().getName());
110 public boolean matchesSafely(View view) {
[all …]

12345678910>>...97