Home
last modified time | relevance | path

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

12345678910>>...97

/frameworks/support/v4/java/android/support/v4/view/
DViewCompat.java17 package android.support.v4.view;
27 import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat;
28 import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat;
30 import android.view.View;
31 import android.view.ViewGroup;
32 import android.view.ViewParent;
33 import android.view.accessibility.AccessibilityEvent;
267 public boolean hasTransientState(View view); in hasTransientState() argument
268 public void setHasTransientState(View view, boolean hasTransientState); in setHasTransientState() argument
269 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/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/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/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java30 import android.view.Gravity;
31 import android.view.View;
32 import android.view.ViewGroup;
33 import android.view.animation.AccelerateInterpolator;
34 import android.view.animation.AnimationUtils;
35 import android.view.animation.DecelerateInterpolator;
57 float getGone(View view); in getGone() argument
60 float getHere(View view); in getHere() argument
68 public float getHere(View view) { in getHere() argument
69 return view.getTranslationX(); in getHere()
[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/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.java30 import android.view.GhostView;
31 import android.view.View;
32 import android.view.ViewGroup;
185 View view = transitionValues.view; in captureValues() local
186 if (view.getVisibility() == View.GONE) { in captureValues()
189 transitionValues.values.put(PROPNAME_PARENT, view.getParent()); in captureValues()
190 Transforms transforms = new Transforms(view); in captureValues()
192 Matrix matrix = view.getMatrix(); in captureValues()
201 ViewGroup parent = (ViewGroup) view.getParent(); in captureValues()
206 view.getTag(R.id.transitionTransform)); in captureValues()
[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/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 != null && 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 …]
DHorizontalHoverCardSwitcher.java17 import android.support.v4.view.ViewCompat;
18 import android.view.View;
19 import android.view.ViewGroup;
20 import android.view.View.MeasureSpec;
21 import android.view.ViewGroup.MarginLayoutParams;
37 protected void insertView(View view) { in insertView() argument
39 getParentViewGroup().addView(view); in insertView()
43 protected void onViewSelected(View view) { in onViewSelected() argument
49 view.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onViewSelected()
50 MarginLayoutParams params = (MarginLayoutParams) view.getLayoutParams(); in onViewSelected()
[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 …]
DViewDebug.java17 package android.view;
385 public static void trace(View view, RecyclerTraceType type, int... parameters) { in trace() argument
393 public static void startRecyclerTracing(String prefix, View view) { in startRecyclerTracing() argument
409 public static void trace(View view, HierarchyTraceType type) { in trace() argument
417 public static void startHierarchyTracing(String prefix, View view) { in startHierarchyTracing() argument
427 static void dispatchCommand(View view, String command, String parameters, in dispatchCommand() argument
431 view = view.getRootView(); in dispatchCommand()
434 dump(view, false, true, clientStream); in dispatchCommand()
436 dumpTheme(view, clientStream); in dispatchCommand()
438 captureLayers(view, new DataOutputStream(clientStream)); in dispatchCommand()
[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/base/core/java/android/app/
DActivityTransitionCoordinator.java29 import android.view.GhostView;
30 import android.view.View;
31 import android.view.ViewGroup;
32 import android.view.ViewGroupOverlay;
33 import android.view.ViewParent;
34 import android.view.ViewTreeObserver;
35 import android.view.Window;
252 final View view = sharedElements.valueAt(i); in setSharedElements() local
254 if (isFirstRun && (view == null || !view.isAttachedToWindow() || name == null)) { in setSharedElements()
257 if (!isNested(view, sharedElements)) { in setSharedElements()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java17 package android.view;
20 import android.view.ViewGroupChildren;
26 import android.view.View;
27 import android.view.ViewGroup;
62 View view = createView("1"); in testAddChild() local
63 mGroup.addView(view); in testAddChild()
67 ViewAsserts.assertGroupContains(mGroup, view); in testAddChild()
75 View view = createView(String.valueOf(i + 1)); in testAddChildAtFront() local
76 mGroup.addView(view); in testAddChildAtFront()
79 View view = createView("X"); in testAddChildAtFront() local
[all …]

12345678910>>...97