/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | HighQualityShadowPainter.java | 37 public static void paintRectShadow(ViewGroup parent, Outline outline, float elevation, in paintRectShadow() argument 40 if (!validate(elevation, densityDpi)) { in paintRectShadow() 69 float[] poly = getPoly(rectScaled, elevation / SCALE_DOWN, radius); in paintRectShadow() 72 paintSpotShadow(poly, rectScaled, elevation / SCALE_DOWN, in paintRectShadow() 81 private static boolean validate(float elevation, float densityDpi) { in validate() argument 82 float scaledElevationPx = elevation / SCALE_DOWN; in validate() 139 … private static void paintSpotShadow(float[] poly, Rect rectBound, float elevation, Canvas canvas, in paintSpotShadow() argument 145 if (lightZHeightPx - elevation < ShadowConstants.SPOT_SHADOW_LIGHT_Z_EPSILON) { in paintSpotShadow() 254 private static float[] getPoly(Rect rect, float elevation, float radius) { in getPoly() argument 262 poly[2] = poly[5] = poly[8] = poly[11] = elevation; in getPoly() [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 74 float elevation = getElevation(child, parent); in drawShadow() local 91 parent, outline, elevation, canvas, child.getAlpha(), densityDpi); in drawShadow() 93 RectShadowPainter.paintShadow(outline, elevation, canvas, child.getAlpha()); in drawShadow() 100 shadow = getPathShadow(outline, canvas, elevation, child.getAlpha()); in drawShadow() 110 newBounds.inset((int)-elevation, (int)-elevation); in drawShadow() 120 private static BufferedImage getPathShadow(Outline outline, Canvas canvas, float elevation, in getPathShadow() argument 131 return ShadowPainter.createDropShadow(image, (int) elevation, alpha); in getPathShadow()
|
D | RectShadowPainter.java | 51 public static void paintShadow(Outline viewOutline, float elevation, Canvas canvas, in paintShadow() argument 61 float shadowSize = elevationToShadow(elevation); in paintShadow() 129 private static float elevationToShadow(float elevation) { in elevationToShadow() argument 131 return elevation * 0.5f; in elevationToShadow()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchUIUtilImpl.java | 56 final float elevation = child.getElevation(); in findMaxElevation() local 57 if (elevation > max) { in findMaxElevation() 58 max = elevation; in findMaxElevation()
|
/frameworks/wilhelm/src/itf/ |
D | I3DLocation.cpp | 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance) in I3DLocation_SetLocationSpherical() argument 48 (-90000 <= elevation) && (elevation <= 90000) && in I3DLocation_SetLocationSpherical() 55 thiz->mLocationSpherical.mElevation = elevation; in I3DLocation_SetLocationSpherical()
|
D | I3DDoppler.cpp | 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) in I3DDoppler_SetVelocitySpherical() argument 50 thiz->mVelocitySpherical.mElevation = elevation; in I3DDoppler_SetVelocitySpherical()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | SatelliteInfo.java | 52 boolean usedInFix, boolean hasCarriesFrequency, float cn0, float elevation, float azimuth, in SatelliteInfo() argument 65 this.mElevation = elevation; in SatelliteInfo()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 839 final float elevation, final float cornerRadius, final Drawable overlay, in InternalPopupWindow() argument 848 mOffsetX = (int) (1.05f * elevation); in InternalPopupWindow() 849 mOffsetY = (int) (1.05f * elevation); in InternalPopupWindow() 874 elevation, in InternalPopupWindow() 906 final float elevation, final float cornerRadius) { in createRenderNodeForBitmap() argument 913 bitmapRenderNode.setElevation(elevation); in createRenderNodeForBitmap() 1217 public Builder setElevation(@Px @FloatRange(from = 0) float elevation) { in setElevation() 1218 Preconditions.checkArgumentNonNegative(elevation, "Elevation should be non-negative"); in setElevation() 1219 mElevation = elevation; in setElevation()
|
D | PopupWindow.java | 605 public void setElevation(float elevation) { in setElevation() argument 606 mElevation = elevation; in setElevation()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | WindowDecorActionBar.java | 232 final int elevation = a.getDimensionPixelSize(R.styleable.ActionBar_elevation, 0); in init() local 233 if (elevation != 0) { in init() 234 setElevation(elevation); in init() 251 public void setElevation(float elevation) { in setElevation() argument 252 mContainerView.setElevation(elevation); in setElevation() 254 mSplitView.setElevation(elevation); in setElevation()
|
D | ToolbarActionBar.java | 136 public void setElevation(float elevation) { in setElevation() argument 137 mDecorToolbar.getViewGroup().setElevation(elevation); in setElevation()
|
/frameworks/base/core/java/android/app/ |
D | ActionBar.java | 1032 public void setElevation(float elevation) { in setElevation() argument 1033 if (elevation != 0) { in setElevation()
|
D | ActivityTransitionCoordinator.java | 515 float elevation = sharedElementBundle.getFloat(KEY_ELEVATION); in setSharedElementState() local 516 view.setElevation(elevation); in setSharedElementState()
|
/frameworks/base/core/java/android/view/ |
D | ViewStructure.java | 83 public abstract void setElevation(float elevation); in setElevation() argument
|
D | Window.java | 1541 public void setElevation(float elevation) {} in setElevation() argument
|
D | View.java | 5363 float elevation = 0; 5463 elevation = a.getDimension(attr, 0); 5983 setElevation(elevation); 17207 public void setElevation(float elevation) { in setElevation() argument 17208 if (elevation != getElevation()) { in setElevation() 17209 elevation = sanitizeFloatPropertyValue(elevation, "elevation"); in setElevation() 17211 mRenderNode.setElevation(elevation); in setElevation()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 239 bool setElevation(float elevation) { in setElevation() argument 240 return RP_SET(mPrimitiveFields.mElevation, elevation); in setElevation()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2408 float elevation = 0; in updateElevation() local 2415 elevation = hasWindowFocus() ? in updateElevation() 2422 elevation = DECOR_SHADOW_FOCUSED_HEIGHT_IN_DIP; in updateElevation() 2425 elevation = dipToPx(elevation); in updateElevation() 2428 elevation = dipToPx(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP); in updateElevation() 2437 && getElevation() != elevation) { in updateElevation() 2439 mWindow.setElevation(elevation); in updateElevation() 2444 setElevation(elevation); in updateElevation()
|
D | PhoneWindow.java | 1382 final float elevation = a.getDimension(R.styleable.Window_windowElevation, 0); in initializePanelDecor() local 1383 if (elevation != 0) { in initializePanelDecor() 1384 st.decorView.setElevation(elevation); in initializePanelDecor() 1468 public final void setElevation(float elevation) { in setElevation() argument 1469 mElevation = elevation; in setElevation() 1472 mDecor.setElevation(elevation); in setElevation()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1703 public void setElevation(float elevation) { in setElevation() argument 1704 mNode.mElevation = elevation; in setElevation() 2227 float elevation = node.getElevation(); in dump() local 2228 if (elevation != 0) { in dump() 2229 Log.i(TAG, prefix + " Elevation: " + elevation); in dump() 2233 Log.i(TAG, prefix + " Alpha: " + elevation); in dump()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 360 public void setElevation(float elevation) { in setElevation() argument
|
/frameworks/base/core/jni/ |
D | android_view_RenderNode.cpp | 231 static jboolean android_view_RenderNode_setElevation(jlong renderNodePtr, float elevation) { in android_view_RenderNode_setElevation() argument 232 return SET_AND_DIRTY(setElevation, elevation, RenderNode::Z); in android_view_RenderNode_setElevation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleStackView.java | 350 int elevation = res.getDimensionPixelSize(R.dimen.bubble_elevation); in BubbleStackView() local 360 mBubbleContainer.setElevation(elevation); in BubbleStackView() 367 mExpandedViewContainer.setElevation(elevation); in BubbleStackView()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 660 public void setElevation(float elevation) { in setElevation() argument
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 1726 SLmillidegree elevation, 1779 SLmillidegree elevation,
|