/frameworks/support/compat/java/android/support/v4/view/ |
D | ViewCompat.java | 17 package android.support.v4.view; 31 import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; 32 import android.support.v4.view.accessibility.AccessibilityNodeProviderCompat; 34 import android.view.Display; 35 import android.view.MotionEvent; 36 import android.view.VelocityTracker; 37 import android.view.View; 38 import android.view.ViewConfiguration; 39 import android.view.ViewGroup; 40 import android.view.ViewParent; [all …]
|
D | ViewPropertyAnimatorCompat.java | 16 package android.support.v4.view; 19 import android.view.View; 20 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/compat/honeycomb/android/support/v4/view/ |
D | ViewCompatHC.java | 17 package android.support.v4.view; 22 import android.view.View; 23 import android.view.ViewParent; 30 public static float getAlpha(View view) { in getAlpha() argument 31 return view.getAlpha(); in getAlpha() 34 public static void setLayerType(View view, int layerType, Paint paint) { in setLayerType() argument 35 view.setLayerType(layerType, paint); in setLayerType() 38 public static int getLayerType(View view) { in getLayerType() argument 39 return view.getLayerType(); in getLayerType() 46 public static int getMeasuredWidthAndState(View view) { in getMeasuredWidthAndState() argument [all …]
|
/frameworks/support/compat/ics/android/support/v4/view/ |
D | ViewPropertyAnimatorCompatICS.java | 16 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/compat/api21/android/support/v4/view/ |
D | ViewCompatLollipop.java | 17 package android.support.v4.view; 24 import android.view.View; 25 import android.view.ViewParent; 26 import android.view.WindowInsets; 36 public static void setTransitionName(View view, String transitionName) { in setTransitionName() argument 37 view.setTransitionName(transitionName); in setTransitionName() 40 public static String getTransitionName(View view) { in getTransitionName() argument 41 return view.getTransitionName(); in getTransitionName() 44 public static void requestApplyInsets(View view) { in requestApplyInsets() argument 45 view.requestApplyInsets(); in requestApplyInsets() [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewBindingAdapterTest.java | 24 import android.view.View; 38 View view = mBinder.padding; in testPadding() local 39 assertEquals(mBindingObject.getPadding(), view.getPaddingBottom()); in testPadding() 40 assertEquals(mBindingObject.getPadding(), view.getPaddingTop()); in testPadding() 41 assertEquals(mBindingObject.getPadding(), view.getPaddingRight()); in testPadding() 42 assertEquals(mBindingObject.getPadding(), view.getPaddingLeft()); in testPadding() 46 assertEquals(mBindingObject.getPadding(), view.getPaddingBottom()); in testPadding() 47 assertEquals(mBindingObject.getPadding(), view.getPaddingTop()); in testPadding() 48 assertEquals(mBindingObject.getPadding(), view.getPaddingRight()); in testPadding() 49 assertEquals(mBindingObject.getPadding(), view.getPaddingLeft()); in testPadding() [all …]
|
D | TextViewBindingAdapterTest.java | 45 TextView view = mBinder.numericText; in testNumeric() local 46 assertTrue(view.getKeyListener() instanceof DigitsKeyListener); in testNumeric() 47 DigitsKeyListener listener = (DigitsKeyListener) view.getKeyListener(); in testNumeric() 52 assertTrue(view.getKeyListener() instanceof DigitsKeyListener); in testNumeric() 53 listener = (DigitsKeyListener) view.getKeyListener(); in testNumeric() 70 TextView view = mBinder.textDrawableNormal; in testDrawables() local 72 ((ColorDrawable) view.getCompoundDrawables()[0]).getColor()); in testDrawables() 74 ((ColorDrawable) view.getCompoundDrawables()[1]).getColor()); in testDrawables() 76 ((ColorDrawable) view.getCompoundDrawables()[2]).getColor()); in testDrawables() 78 ((ColorDrawable) view.getCompoundDrawables()[3]).getColor()); in testDrawables() [all …]
|
D | ObservableFieldTest.java | 44 TextView view = mBinder.bField; in testBoolean() local 45 assertEquals("false", view.getText()); in testBoolean() 50 assertEquals("true", view.getText()); in testBoolean() 55 TextView view = mBinder.tField; in testByte() local 56 assertEquals("0", view.getText()); in testByte() 61 assertEquals("1", view.getText()); in testByte() 66 TextView view = mBinder.sField; in testShort() local 67 assertEquals("0", view.getText()); in testShort() 72 assertEquals("1", view.getText()); in testShort() 77 TextView view = mBinder.cField; in testChar() local [all …]
|
/frameworks/support/compat/jellybean/android/support/v4/view/ |
D | ViewCompatJB.java | 17 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 …]
|
/frameworks/support/compat/gingerbread/android/support/v4/view/ |
D | ViewCompatBase.java | 17 package android.support.v4.view; 22 import android.view.Display; 23 import android.view.View; 24 import android.view.ViewParent; 25 import android.view.WindowManager; 38 static ColorStateList getBackgroundTintList(View view) { in getBackgroundTintList() argument 39 return (view instanceof TintableBackgroundView) in getBackgroundTintList() 40 ? ((TintableBackgroundView) view).getSupportBackgroundTintList() in getBackgroundTintList() 44 static void setBackgroundTintList(View view, ColorStateList tintList) { in setBackgroundTintList() argument 45 if (view instanceof TintableBackgroundView) { in setBackgroundTintList() [all …]
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | ViewBindingAdapter.java | 26 import android.view.View; 27 import android.view.View.OnAttachStateChangeListener; 64 public static void setPadding(View view, float paddingFloat) { in setPadding() argument 66 view.setPadding(padding, padding, padding, padding); in setPadding() 70 public static void setPaddingBottom(View view, float paddingFloat) { in setPaddingBottom() argument 72 view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), view.getPaddingRight(), in setPaddingBottom() 77 public static void setPaddingEnd(View view, float paddingFloat) { in setPaddingEnd() argument 80 view.setPaddingRelative(view.getPaddingStart(), view.getPaddingTop(), padding, in setPaddingEnd() 81 view.getPaddingBottom()); in setPaddingEnd() 83 view.setPadding(view.getPaddingLeft(), view.getPaddingTop(), padding, in setPaddingEnd() [all …]
|
D | TextViewBindingAdapter.java | 63 public static void setText(TextView view, CharSequence text) { in setText() argument 64 final CharSequence oldText = view.getText(); in setText() 75 view.setText(text); in setText() 79 public static String getTextString(TextView view) { in getTextString() argument 80 return view.getText().toString(); in getTextString() 84 public static void setAutoText(TextView view, boolean autoText) { in setAutoText() argument 85 KeyListener listener = view.getKeyListener(); in setAutoText() 97 view.setKeyListener(TextKeyListener.getInstance(autoText, capitalize)); in setAutoText() 101 public static void setCapitalize(TextView view, TextKeyListener.Capitalize capitalize) { in setCapitalize() argument 102 KeyListener listener = view.getKeyListener(); in setCapitalize() [all …]
|
D | CardViewBindingAdapter.java | 32 public static void setContentPadding(CardView view, int padding) { in setContentPadding() argument 33 view.setContentPadding(padding, padding, padding, padding); in setContentPadding() 37 public static void setContentPaddingLeft(CardView view, int left) { in setContentPaddingLeft() argument 38 int top = view.getContentPaddingTop(); in setContentPaddingLeft() 39 int right = view.getContentPaddingRight(); in setContentPaddingLeft() 40 int bottom = view.getContentPaddingBottom(); in setContentPaddingLeft() 41 view.setContentPadding(left, top, right, bottom); in setContentPaddingLeft() 45 public static void setContentPaddingTop(CardView view, int top) { in setContentPaddingTop() argument 46 int left = view.getContentPaddingLeft(); in setContentPaddingTop() 47 int right = view.getContentPaddingRight(); in setContentPaddingTop() [all …]
|
D | TimePickerBindingAdapter.java | 30 public static void setHour(TimePicker view, int hour) { in setHour() argument 32 if (view.getHour() != hour) { in setHour() 33 view.setHour(hour); in setHour() 36 if (view.getCurrentHour() != hour) { in setHour() 37 view.setCurrentHour(hour); in setHour() 44 public static void setMinute(TimePicker view, int minute) { in setMinute() argument 46 if (view.getMinute() != minute) { in setMinute() 47 view.setMinute(minute); in setMinute() 50 if (view.getCurrentMinute() != minute) { in setMinute() 51 view.setCurrentHour(minute); in setMinute() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CrossFadeHelper.java | 19 import android.view.View; 30 public static void fadeOut(final View view, final Runnable endRunnable) { in fadeOut() argument 31 view.animate().cancel(); in fadeOut() 32 view.animate() in fadeOut() 42 view.setVisibility(View.INVISIBLE); in fadeOut() 45 if (view.hasOverlappingRendering()) { in fadeOut() 46 view.animate().withLayer(); in fadeOut() 50 public static void fadeOut(View view, float fadeOutAmount) { in fadeOut() argument 51 view.animate().cancel(); in fadeOut() 53 view.setVisibility(View.INVISIBLE); in fadeOut() [all …]
|
/frameworks/support/compat/jellybean-mr1/android/support/v4/view/ |
D | ViewCompatJellybeanMr1.java | 17 package android.support.v4.view; 20 import android.view.Display; 21 import android.view.View; 28 public static int getLabelFor(View view) { in getLabelFor() argument 29 return view.getLabelFor(); in getLabelFor() 32 public static void setLabelFor(View view, int id) { in setLabelFor() argument 33 view.setLabelFor(id); in setLabelFor() 36 public static void setLayerPaint(View view, Paint paint) { in setLayerPaint() argument 37 view.setLayerPaint(paint); in setLayerPaint() 40 public static int getLayoutDirection(View view) { in getLayoutDirection() argument [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OrientationHelper.java | 20 import android.view.View; 84 public abstract int getDecoratedStart(View view); in getDecoratedStart() argument 96 public abstract int getDecoratedEnd(View view); in getDecoratedEnd() argument 112 public abstract int getTransformedEndWithDecoration(View view); in getTransformedEndWithDecoration() argument 128 public abstract int getTransformedStartWithDecoration(View view); in getTransformedStartWithDecoration() argument 138 public abstract int getDecoratedMeasurement(View view); in getDecoratedMeasurement() argument 148 public abstract int getDecoratedMeasurementInOther(View view); in getDecoratedMeasurementInOther() argument 192 public abstract void offsetChild(View view, int offset); in offsetChild() argument 273 public int getDecoratedMeasurement(View view) { in createHorizontalHelper() argument 275 view.getLayoutParams(); in createHorizontalHelper() [all …]
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
D | SlideKitkat.java | 30 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/ |
D | WebViewClient.java | 22 import android.view.InputEvent; 23 import android.view.KeyEvent; 24 import android.view.ViewRootImpl; 45 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading() argument 72 public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) { in shouldOverrideUrlLoading() argument 73 return shouldOverrideUrlLoading(view, request.getUrl().toString()); in shouldOverrideUrlLoading() 90 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() argument 102 public void onPageFinished(WebView view, String url) { in onPageFinished() argument 112 public void onLoadResource(WebView view, String url) { in onLoadResource() argument 142 public void onPageCommitVisible(WebView view, String url) { in onPageCommitVisible() argument [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchUIUtilImpl.java | 20 import android.support.v4.view.ViewCompat; 22 import android.view.View; 33 public void onDraw(Canvas c, RecyclerView recyclerView, View view, in onDraw() argument 36 Object originalElevation = view.getTag(R.id.item_touch_helper_previous_elevation); in onDraw() 38 originalElevation = ViewCompat.getElevation(view); in onDraw() 39 float newElevation = 1f + findMaxElevation(recyclerView, view); in onDraw() 40 ViewCompat.setElevation(view, newElevation); in onDraw() 41 view.setTag(R.id.item_touch_helper_previous_elevation, originalElevation); in onDraw() 44 super.onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive); in onDraw() 64 public void clearView(View view) { in clearView() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | StackScrollState.java | 20 import android.view.View; 21 import android.view.ViewGroup; 75 private void resetViewState(ExpandableView view) { in resetViewState() argument 76 StackViewState viewState = mStateMap.get(view); in resetViewState() 79 mStateMap.put(view, viewState); in resetViewState() 82 viewState.height = view.getIntrinsicHeight(); in resetViewState() 83 viewState.gone = view.getVisibility() == View.GONE; in resetViewState() 128 public boolean applyState(ExpandableView view, StackViewState state) { 137 applyViewState(view, state); 139 int height = view.getActualHeight(); [all …]
|
/frameworks/base/core/java/android/transition/ |
D | Slide.java | 24 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; 60 float getGoneX(ViewGroup sceneRoot, View view, float fraction); in getGoneX() argument 63 float getGoneY(ViewGroup sceneRoot, View view, float fraction); in getGoneY() argument 69 public float getGoneY(ViewGroup sceneRoot, View view, float fraction) { in getGoneY() argument 70 return view.getTranslationY(); in getGoneY() 77 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { in getGoneX() argument [all …]
|
D | ChangeTransform.java | 30 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 …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ItemAlignmentFacetHelper.java | 22 import android.view.View; 23 import android.view.ViewGroup; 39 View view = itemView; in getAlignmentPosition() local 41 view = itemView.findViewById(facet.mViewId); in getAlignmentPosition() 42 if (view == null) { in getAlignmentPosition() 43 view = itemView; in getAlignmentPosition() 50 alignPos += view.getPaddingLeft(); in getAlignmentPosition() 54 alignPos -= view.getPaddingRight(); in getAlignmentPosition() 58 alignPos += ((view == itemView ? p.getOpticalWidth(view) : view.getWidth()) in getAlignmentPosition() 61 if (itemView != view) { in getAlignmentPosition() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewOutlineProvider.java | 17 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 …]
|