/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 1019 * Set the Z-axis elevation of the action bar in pixels. 1021 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher 1024 * @param elevation Elevation value in pixels 1026 public void setElevation(float elevation) { argument 1027 if (elevation != 0) { 1028 throw new UnsupportedOperationException("Setting a non-zero elevation is " + 1034 * Get the Z-axis elevation of the action bar in pixels. 1036 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
|
H A D | ActivityTransitionCoordinator.java | 137 protected static final String KEY_ELEVATION = "shared_element:elevation"; 510 float elevation = sharedElementBundle.getFloat(KEY_ELEVATION); 511 view.setElevation(elevation);
|
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 1118 * Returns the visual elevation of the view, used for shadowing and other visual 1482 public void setElevation(float elevation) { argument 1483 mNode.mElevation = elevation; 1977 float elevation = node.getElevation(); 1978 if (elevation != 0) { 1979 Log.i(TAG, prefix + " Elevation: " + elevation); 1983 Log.i(TAG, prefix + " Alpha: " + elevation);
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 4701 float elevation = 0; 4801 elevation = a.getDimension(attr, 0); 5293 setElevation(elevation); 14590 * {@link #getElevation() elevation} property. 14602 * the x value passed in and the current {@link #getElevation() elevation} property. 14611 * The base elevation of this view relative to its parent, in pixels. 14621 * Sets the base elevation of this view, in pixels. 14625 public void setElevation(float elevation) { argument 14626 if (elevation != getElevation()) { 14628 mRenderNode.setElevation(elevation); [all...] |
H A D | ViewStructure.java | 70 * Set the visual elevation (shadow) of the view, as per 75 public abstract void setElevation(float elevation); argument
|
H A D | Window.java | 1447 * Sets the window elevation. 1453 * @param elevation The window elevation. 1457 public void setElevation(float elevation) {} argument 1460 * Gets the window elevation.
|
/frameworks/base/core/java/android/view/autofill/ |
H A D | AutofillPopupWindow.java | 278 public void setElevation(float elevation) { argument
|
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 549 * @return the elevation for this popup window in pixels 558 * Specifies the elevation for this popup window. 560 * @param elevation the popup's elevation in pixels 564 public void setElevation(float elevation) { argument 565 mElevation = elevation;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 136 public void setElevation(float elevation) { argument 137 mDecorToolbar.getViewGroup().setElevation(elevation);
|
H A D | WindowDecorActionBar.java | 229 final int elevation = a.getDimensionPixelSize(R.styleable.ActionBar_elevation, 0); 230 if (elevation != 0) { 231 setElevation(elevation); 248 public void setElevation(float elevation) { argument 249 mContainerView.setElevation(elevation); 251 mSplitView.setElevation(elevation);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorView.java | 151 // size calculation takes the shadow size into account. We set the elevation currently 774 // our shadow elevation. 2135 // element which owns the caption and has the elevation. 2227 * The elevation gets set for the first time and the framework needs to be informed that 2237 float elevation = 0; 2242 elevation = hasWindowFocus() ? 2249 elevation = DECOR_SHADOW_FOCUSED_HEIGHT_IN_DIP; 2251 // Convert the DP elevation into physical pixels. 2252 elevation = dipToPx(elevation); [all...] |
H A D | PhoneWindow.java | 1362 final float elevation = a.getDimension(R.styleable.Window_windowElevation, 0); 1363 if (elevation != 0) { 1364 st.decorView.setElevation(elevation); 1447 public final void setElevation(float elevation) { argument 1448 mElevation = elevation; 1451 mDecor.setElevation(elevation);
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchUIUtilImpl.java | 56 final float elevation = child.getElevation(); 57 if (elevation > max) { 58 max = elevation;
|
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 204 static jboolean android_view_RenderNode_setElevation(jlong renderNodePtr, float elevation) { argument 205 return SET_AND_DIRTY(setElevation, elevation, RenderNode::Z);
|
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 259 bool setElevation(float elevation) { argument 260 return RP_SET(mPrimitiveFields.mElevation, elevation);
|
/frameworks/base/libs/hwui/protos/ |
H A D | hwui.proto | 41 required float elevation = 10;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSContainerImpl.java | 120 float elevation = mQsExpansion * mFullElevation; 121 mQSDetail.setElevation(elevation); 122 mBackground.setElevation(elevation); 123 mQSFooter.setElevation(elevation); 124 mQSPanel.setElevation(elevation);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 36 public static void paintShadow(@NonNull Outline viewOutline, float elevation, argument 63 viewRight, viewBottom, radius, elevation); 86 float bottom, float radius, float elevation) { 101 ret[points][2] = elevation; 108 ret[points][2] = elevation; 115 ret[points][2] = elevation; 122 ret[points][2] = elevation; 85 generateRectangleCoordinates(float left, float top, float right, float bottom, float radius, float elevation) argument
|
H A D | ViewGroup_Delegate.java | 66 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);
|
/frameworks/support/compat/java/android/support/v4/view/ |
H A D | ViewCompat.java | 711 public void setElevation(View view, float elevation) { argument 1223 public void setElevation(View view, float elevation) { argument 1224 view.setElevation(elevation); 2737 * Sets the base elevation of this view, in pixels. 2739 public static void setElevation(View view, float elevation) { argument 2740 IMPL.setElevation(view, elevation); 2744 * The base elevation of this view relative to its parent, in pixels. 2753 * Sets the depth location of this view relative to its {@link #getElevation(View) elevation}. 2760 * The depth location of this view relative to its {@link #getElevation(View) elevation}. 2762 * @return The depth of this view relative to its elevation [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 179 /** Whether the drawer shadow comes from setting elevation on the drawer. */ 410 * Sets the base elevation of the drawer(s) relative to the parent, in pixels. Note that the 411 * elevation change is only supported in API 21 and above. 413 * @param elevation The base depth position of the view, in pixels. 415 public void setDrawerElevation(float elevation) { argument 416 mDrawerElevation = elevation; 426 * The base elevation of the drawer(s) relative to the parent, in pixels. Note that the 427 * elevation change is only supported in API 21 and above. For unsupported API levels, 0 will 428 * be returned as the elevation. 453 * nonzero intrinsic width. For API 21 and above, an elevation wil [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | FloatingActionButtonImpl.java | 100 // Reset back to elevation by default 171 final void setElevation(float elevation) { argument 172 if (mElevation != elevation) { 173 mElevation = elevation; 174 onElevationsChanged(elevation, mPressedTranslationZ); 189 void onElevationsChanged(float elevation, float pressedTranslationZ) { argument 191 mShadowDrawable.setShadowSize(elevation, elevation + mPressedTranslationZ);
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | FloatingActionButtonLollipop.java | 86 void onElevationsChanged(final float elevation, final float pressedTranslationZ) { argument 91 mView.setElevation(elevation); 104 // Animate elevation and translationZ to our values when pressed 106 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) 114 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) 123 animators.add(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)); 140 set.play(ObjectAnimator.ofFloat(mView, "elevation", [all...] |
H A D | ViewUtilsLollipop.java | 56 * Creates and sets a {@link StateListAnimator} with a custom elevation value 58 static void setDefaultAppBarLayoutStateListAnimator(final View view, final float elevation) { argument 66 ObjectAnimator.ofFloat(view, "elevation", 0f).setDuration(dur)); 70 ObjectAnimator.ofFloat(view, "elevation", elevation).setDuration(dur)); 74 ObjectAnimator.ofFloat(view, "elevation", 0).setDuration(0));
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 560 * @deprecated target elevation is now deprecated. AppBarLayout's elevation is now 562 * elevation is set, either by this method or the {@code app:elevation} attribute, 563 * a new state list animator is created which uses the given {@code elevation} value. 568 public void setTargetElevation(float elevation) { argument 570 ViewUtilsLollipop.setDefaultAppBarLayoutStateListAnimator(this, elevation); 575 * @deprecated target elevation is now deprecated. AppBarLayout's elevation is now 1065 // Update the AppBarLayout's drawable state for any elevation change [all...] |