Searched refs:elevation (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DCardViewApi21.java25 float radius, float elevation, float maxElevation) {
30 view.setElevation(elevation);
71 public void setElevation(CardViewDelegate cardView, float elevation) { argument
72 ((View) cardView).setElevation(elevation);
86 float elevation = getMaxElevation(cardView);
89 .calculateHorizontalPadding(elevation, radius, cardView.getPreventCornerOverlap()));
91 .calculateVerticalPadding(elevation, radius, cardView.getPreventCornerOverlap()));
24 initialize(CardViewDelegate cardView, Context context, int backgroundColor, float radius, float elevation, float maxElevation) argument
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewImpl.java24 float elevation, float maxElevation);
30 void setElevation(CardViewDelegate cardView, float elevation); argument
23 initialize(CardViewDelegate cardView, Context context, int backgroundColor, float radius, float elevation, float maxElevation) argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java66 float elevation = getElevation(child, parent);
68 RectShadowPainter.paintShadow(outline, elevation, canvas);
73 shadow = getPathShadow(outline, canvas, elevation);
82 newBounds.inset((int)-elevation, (int)-elevation);
92 private static BufferedImage getPathShadow(Outline outline, Canvas canvas, float elevation) { argument
102 return ShadowPainter.createDropShadow(image, (int) elevation);
H A DRectShadowPainter.java46 public static void paintShadow(Outline viewOutline, float elevation, Canvas canvas) { argument
47 float shadowSize = elevationToShadow(elevation);
103 private static float elevationToShadow(float elevation) { argument
105 return elevation * 0.5f;
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java76 float radius, float elevation, float maxElevation) {
78 elevation, maxElevation);
85 float radius, float elevation, float maxElevation) {
87 elevation, maxElevation);
128 public void setElevation(CardViewDelegate cardView, float elevation) { argument
129 getShadowBackground(cardView).setShadowSize(elevation);
75 initialize(CardViewDelegate cardView, Context context, int backgroundColor, float radius, float elevation, float maxElevation) argument
84 createBackground(Context context, int backgroundColor, float radius, float elevation, float maxElevation) argument
/frameworks/support/design/eclair-mr1/android/support/design/widget/
H A DFloatingActionButtonEclairMr1.java61 // Reset back to elevation by default
132 void setElevation(float elevation) { argument
133 if (mElevation != elevation && mShadowDrawable != null) {
134 mShadowDrawable.setShadowSize(elevation, elevation + mPressedTranslationZ);
135 mElevation = elevation;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchUIUtilImpl.java55 final float elevation = ViewCompat.getElevation(child);
56 if (elevation > max) {
57 max = elevation;
/frameworks/wilhelm/src/itf/
H A DI3DDoppler.c43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed)
50 thiz->mVelocitySpherical.mElevation = elevation;
42 I3DDoppler_SetVelocitySpherical(SL3DDopplerItf self, SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) argument
H A DI3DLocation.c43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance)
48 (-90000 <= elevation) && (elevation <= 90000) &&
55 thiz->mLocationSpherical.mElevation = elevation;
42 I3DLocation_SetLocationSpherical(SL3DLocationItf self, SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance) argument
/frameworks/base/core/java/android/view/
H A DViewStructure.java60 * Set the visual elevation (shadow) of the view, as per
65 public abstract void setElevation(float elevation); argument
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java30 * CardView uses <code>elevation</code> property on L for shadows and falls back to a custom shadow
52 * To change CardView's elevation in a backward compatible way, use
53 * {@link #setCardElevation(float)}. CardView will use elevation API on L and before L, it will
55 * clamped by {@link #getMaxCardElevation()}. If you want to change elevation dynamically, you
207 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0);
220 if (elevation > maxElevation) {
221 maxElevation = elevation;
224 IMPL.initialize(this, context, backgroundColor, radius, elevation, maxElevation);
307 * Updates the backward compatible elevation of the CardView.
309 * @param radius The backward compatible elevation i
[all...]
/frameworks/support/design/lollipop/android/support/design/widget/
H A DFloatingActionButtonLollipop.java98 public void setElevation(float elevation) { argument
99 ViewCompat.setElevation(mView, elevation);
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java38 public static void setElevation(View view, float elevation) { argument
39 view.setElevation(elevation);
/frameworks/support/design/base/android/support/design/widget/
H A DFloatingActionButtonImpl.java53 abstract void setElevation(float elevation); argument
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java993 * Set the Z-axis elevation of the action bar in pixels.
995 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
998 * @param elevation Elevation value in pixels
1000 public void setElevation(float elevation) { argument
1001 if (elevation != 0) {
1002 throw new UnsupportedOperationException("Setting a non-zero elevation is " +
1008 * Get the Z-axis elevation of the action bar in pixels.
1010 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
/frameworks/base/core/java/android/app/
H A DActionBar.java997 * Set the Z-axis elevation of the action bar in pixels.
999 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
1002 * @param elevation Elevation value in pixels
1004 public void setElevation(float elevation) { argument
1005 if (elevation != 0) {
1006 throw new UnsupportedOperationException("Setting a non-zero elevation is " +
1012 * Get the Z-axis elevation of the action bar in pixels.
1014 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
/frameworks/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java230 final int elevation = a.getDimensionPixelSize(R.styleable.ActionBar_elevation, 0);
231 if (elevation != 0) {
232 setElevation(elevation);
249 public void setElevation(float elevation) { argument
250 mContainerView.setElevation(elevation);
252 mSplitView.setElevation(elevation);
H A DToolbarActionBar.java134 public void setElevation(float elevation) { argument
135 mDecorToolbar.getViewGroup().setElevation(elevation);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DWindowDecorActionBar.java230 final int elevation = a.getDimensionPixelSize(R.styleable.ActionBar_elevation, 0);
231 if (elevation != 0) {
232 setElevation(elevation);
249 public void setElevation(float elevation) { argument
250 ViewCompat.setElevation(mContainerView, elevation);
H A DToolbarActionBar.java144 public void setElevation(float elevation) { argument
145 ViewCompat.setElevation(mDecorToolbar.getViewGroup(), elevation);
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java807 * Returns the visual elevation of the view, used for shadowing and other visual
1092 public void setElevation(float elevation) { argument
1093 mNode.mElevation = elevation;
1386 float elevation = node.getElevation();
1387 if (elevation != 0) {
1388 Log.i(TAG, prefix + " Elevation: " + elevation);
1392 Log.i(TAG, prefix + " Alpha: " + elevation);
/frameworks/base/libs/hwui/
H A DRenderProperties.h256 bool setElevation(float elevation) { argument
257 return RP_SET(mPrimitiveFields.mElevation, elevation);
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java97 final float elevation = a.getDimension(R.styleable.FloatingActionButton_elevation, 0f);
137 mImpl.setElevation(elevation);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java347 public void setElevation(View view, float elevation); argument
752 public void setElevation(View view, float elevation) { argument
1417 public void setElevation(View view, float elevation) { argument
1418 ViewCompatLollipop.setElevation(view, elevation);
2548 * Sets the base elevation of this view, in pixels.
2550 public static void setElevation(View view, float elevation) { argument
2551 IMPL.setElevation(view, elevation);
2555 * The base elevation of this view relative to its parent, in pixels.
2564 * Sets the depth location of this view relative to its {@link #getElevation(View) elevation}.
2571 * The depth location of this view relative to its {@link #getElevation(View) elevation}
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp206 jobject clazz, jlong renderNodePtr, float elevation) {
207 return SET_AND_DIRTY(setElevation, elevation, RenderNode::Z);
205 android_view_RenderNode_setElevation(JNIEnv* env, jobject clazz, jlong renderNodePtr, float elevation) argument

Completed in 539 milliseconds

12