Home
last modified time | relevance | path

Searched refs:elevation (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java39 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/
DViewGroup_Delegate.java72 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()
DRectShadowPainter.java51 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/
DItemTouchUIUtilImpl.java56 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/
DStructureAdapter.kt50 val elevation = itemView.context.resources.getFloat(R.dimen.control_card_elevation) constant in com.android.systemui.controls.management.StructureAdapter
51 controlAdapter = ControlAdapter(elevation)
DControlsEditingActivity.kt174 val elevation = resources.getFloat(R.dimen.control_card_elevation) in setUpList() constant
177 val adapter = ControlAdapter(elevation).apply { in setUpList()
DControlsRequestDialog.kt148 requireViewById<View>(R.id.control).elevation = in createDialog()
/frameworks/wilhelm/src/itf/
DI3DLocation.cpp43 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()
DI3DDoppler.cpp43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) in I3DDoppler_SetVelocitySpherical() argument
50 thiz->mVelocitySpherical.mElevation = elevation; in I3DDoppler_SetVelocitySpherical()
/frameworks/base/location/java/android/location/
DGnssStatus.java398 @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/
DMagnifier.java979 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()
DPopupWindow.java605 public void setElevation(float elevation) { in setElevation() argument
606 mElevation = elevation; in setElevation()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java232 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()
DToolbarActionBar.java136 public void setElevation(float elevation) { in setElevation() argument
137 mDecorToolbar.getViewGroup().setElevation(elevation); in setElevation()
/frameworks/base/core/java/android/app/
DActionBar.java1032 public void setElevation(float elevation) { in setElevation() argument
1033 if (elevation != 0) { in setElevation()
DActivityTransitionCoordinator.java515 float elevation = sharedElementBundle.getFloat(KEY_ELEVATION); in setSharedElementState() local
516 view.setElevation(elevation); in setSharedElementState()
/frameworks/base/core/java/android/view/
DViewStructure.java83 public abstract void setElevation(float elevation); in setElevation() argument
DWindow.java1631 public void setElevation(float elevation) {} in setElevation() argument
/frameworks/base/libs/hwui/
DRenderProperties.h242 bool setElevation(float elevation) { in setElevation() argument
243 return RP_SET(mPrimitiveFields.mElevation, elevation); in setElevation()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2428 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()
DPhoneWindow.java1399 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/
DAssistStructure.java1749 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/
DAutofillPopupWindow.java362 public void setElevation(float elevation) { in setElevation() argument
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp229 …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/
DBubbleStackView.java803 int elevation = res.getDimensionPixelSize(R.dimen.bubble_elevation); in BubbleStackView() local
834 mBubbleContainer.setElevation(elevation); in BubbleStackView()
839 mExpandedViewContainer.setElevation(elevation); in BubbleStackView()

12