Home
last modified time | relevance | path

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

12

/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java37 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/
DViewGroup_Delegate.java74 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()
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/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/tests/locationtests/src/android/location/
DSatelliteInfo.java52 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/
DMagnifier.java839 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()
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.java1541 public void setElevation(float elevation) {} in setElevation() argument
DView.java5363 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/
DRenderProperties.h239 bool setElevation(float elevation) { in setElevation() argument
240 return RP_SET(mPrimitiveFields.mElevation, elevation); in setElevation()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2408 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()
DPhoneWindow.java1382 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/
DAssistStructure.java1703 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/
DAutofillPopupWindow.java360 public void setElevation(float elevation) { in setElevation() argument
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp231 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/
DBubbleStackView.java350 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/
DViewNode.java660 public void setElevation(float elevation) { in setElevation() argument
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1726 SLmillidegree elevation,
1779 SLmillidegree elevation,

12