/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | HighQualityShadowPainter.java | 39 public static void paintRectShadow(ViewGroup parent, Outline outline, float elevation, in paintRectShadow() argument 42 if (!validate(elevation, densityDpi)) { in paintRectShadow() 72 float[] poly = getPoly(rectScaled, elevation / SCALE_DOWN, radius); in paintRectShadow() 89 … if (lightZHeightPx - elevation / SCALE_DOWN >= ShadowConstants.SPOT_SHADOW_LIGHT_Z_EPSILON) { in paintRectShadow() 175 private static boolean validate(float elevation, float densityDpi) { in validate() argument 176 float scaledElevationPx = elevation / SCALE_DOWN; in validate() 271 private static float[] getPoly(Rect rect, float elevation, float radius) { in getPoly() argument 279 poly[2] = poly[5] = poly[8] = poly[11] = elevation; in getPoly() 284 return buildRoundedEdges(rect, elevation, radius); in getPoly() 288 Rect rect, float elevation, float radius) { in buildRoundedEdges() argument [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 72 float elevation = getElevation(child, parent); in drawShadow() local 87 parent, outline, elevation, canvas, child.getAlpha(), densityDpi); in drawShadow() 89 RectShadowPainter.paintShadow(outline, elevation, canvas, child.getAlpha()); in drawShadow() 96 shadow = getPathShadow(outline, canvas, elevation, child.getAlpha()); in drawShadow() 106 newBounds.inset((int)-elevation, (int)-elevation); in drawShadow() 116 private static BufferedImage getPathShadow(Outline outline, Canvas canvas, float elevation, in getPathShadow() argument 127 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/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | StructureAdapter.kt | 50 val elevation = itemView.context.resources.getFloat(R.dimen.control_card_elevation) constant in com.android.systemui.controls.management.StructureAdapter 51 controlAdapter = ControlAdapter(elevation)
|
D | ControlsEditingActivity.kt | 174 val elevation = resources.getFloat(R.dimen.control_card_elevation) in setUpList() constant 177 val adapter = ControlAdapter(elevation).apply { in setUpList()
|
D | ControlsRequestDialog.kt | 148 requireViewById<View>(R.id.control).elevation = in createDialog()
|
/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/java/android/location/ |
D | GnssStatus.java | 398 @FloatRange(from = -90, to = 90) float elevation, in addSatellite() 407 mSatellites.add(new GnssSvInfo(constellationType, svid, cn0DbHz, elevation, azimuth, in addSatellite() 469 float elevation, float azimuth, boolean hasEphemeris, boolean hasAlmanac, in GnssSvInfo() argument 481 mElevation = elevation; in GnssSvInfo()
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 979 final float zoom, final int ramp, final float elevation, final float cornerRadius, in InternalPopupWindow() argument 991 mOffsetX = (int) (1.05f * elevation); in InternalPopupWindow() 992 mOffsetY = (int) (1.05f * elevation); in InternalPopupWindow() 1018 elevation, in InternalPopupWindow() 1132 final float elevation, final float cornerRadius) { in createRenderNodeForBitmap() argument 1139 bitmapRenderNode.setElevation(elevation); in createRenderNodeForBitmap() 1470 public Builder setElevation(@Px @FloatRange(from = 0) float elevation) { in setElevation() 1471 Preconditions.checkArgumentNonNegative(elevation, "Elevation should be non-negative"); in setElevation() 1472 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 | 1631 public void setElevation(float elevation) {} in setElevation() argument
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 242 bool setElevation(float elevation) { in setElevation() argument 243 return RP_SET(mPrimitiveFields.mElevation, elevation); in setElevation()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2428 float elevation = 0; in updateElevation() local 2433 elevation = hasWindowFocus() ? in updateElevation() 2440 elevation = DECOR_SHADOW_FOCUSED_HEIGHT_IN_DIP; in updateElevation() 2443 elevation = dipToPx(elevation); in updateElevation() 2446 elevation = dipToPx(PINNED_WINDOWING_MODE_ELEVATION_IN_DIP); in updateElevation() 2455 && getElevation() != elevation) { in updateElevation() 2457 mWindow.setElevation(elevation); in updateElevation() 2462 setElevation(elevation); in updateElevation()
|
D | PhoneWindow.java | 1399 final float elevation = a.getDimension(R.styleable.Window_windowElevation, 0); in initializePanelDecor() local 1400 if (elevation != 0) { in initializePanelDecor() 1401 st.decorView.setElevation(elevation); in initializePanelDecor() 1485 public final void setElevation(float elevation) { in setElevation() argument 1486 mElevation = elevation; in setElevation() 1489 mDecor.setElevation(elevation); in setElevation()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1749 public void setElevation(float elevation) { in setElevation() argument 1750 mNode.mElevation = elevation; in setElevation() 2278 float elevation = node.getElevation(); in dump() local 2279 if (elevation != 0) { in dump() 2280 Log.i(TAG, prefix + " Elevation: " + elevation); in dump() 2284 Log.i(TAG, prefix + " Alpha: " + elevation); in dump()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 362 public void setElevation(float elevation) { in setElevation() argument
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 229 …roid_view_RenderNode_setElevation(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr, float elevation) { in android_view_RenderNode_setElevation() argument 230 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 | 803 int elevation = res.getDimensionPixelSize(R.dimen.bubble_elevation); in BubbleStackView() local 834 mBubbleContainer.setElevation(elevation); in BubbleStackView() 839 mExpandedViewContainer.setElevation(elevation); in BubbleStackView()
|