[go: nahoru, domu]

Searched refs:elevation (Results 1 - 25 of 36) sorted by last modified time

12

/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1726 SLmillidegree elevation,
1779 SLmillidegree elevation,
/frameworks/wilhelm/src/itf/
H A DI3DDoppler.c43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed)
50 thiz->mVelocitySpherical.mElevation = elevation;
42 I3DDoppler_SetVelocitySpherical(SL3DDopplerItf self, SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) argument
H A DI3DLocation.c43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance)
48 (-90000 <= elevation) && (elevation <= 90000) &&
55 thiz->mLocationSpherical.mElevation = elevation;
42 I3DLocation_SetLocationSpherical(SL3DLocationItf self, SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance) argument
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java44 public static void setElevation(View view, float elevation) { argument
45 view.setElevation(elevation);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java432 void setElevation(View view, float elevation); argument
852 public void setElevation(View view, float elevation) { argument
1598 public void setElevation(View view, float elevation) { argument
1599 ViewCompatLollipop.setElevation(view, elevation);
2805 * Sets the base elevation of this view, in pixels.
2807 public static void setElevation(View view, float elevation) { argument
2808 IMPL.setElevation(view, elevation);
2812 * The base elevation of this view relative to its parent, in pixels.
2821 * Sets the depth location of this view relative to its {@link #getElevation(View) elevation}.
2828 * The depth location of this view relative to its {@link #getElevation(View) elevation}
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java184 /** Whether the drawer shadow comes from setting elevation on the drawer. */
407 * Sets the base elevation of the drawer(s) relative to the parent, in pixels. Note that the
408 * elevation change is only supported in API 21 and above.
410 * @param elevation The base depth position of the view, in pixels.
412 public void setDrawerElevation(float elevation) { argument
413 mDrawerElevation = elevation;
423 * The base elevation of the drawer(s) relative to the parent, in pixels. Note that the
424 * elevation change is only supported in API 21 and above. For unsupported API levels, 0 will
425 * be returned as the elevation.
450 * nonzero intrinsic width. For API 21 and above, an elevation wil
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java1013 * Set the Z-axis elevation of the action bar in pixels.
1015 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
1018 * @param elevation Elevation value in pixels
1020 public void setElevation(float elevation) { argument
1021 if (elevation != 0) {
1022 throw new UnsupportedOperationException("Setting a non-zero elevation is " +
1028 * Get the Z-axis elevation of the action bar in pixels.
1030 * <p>The action bar's elevation is the distance it is placed from its parent surface. Higher
H A DToolbarActionBar.java140 public void setElevation(float elevation) { argument
141 ViewCompat.setElevation(mDecorToolbar.getViewGroup(), elevation);
H A DWindowDecorActionBar.java227 final int elevation = a.getDimensionPixelSize(R.styleable.ActionBar_elevation, 0);
228 if (elevation != 0) {
229 setElevation(elevation);
246 public void setElevation(float elevation) { argument
247 ViewCompat.setElevation(mContainerView, elevation);
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DCardViewApi21.java27 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) {
33 view.setElevation(elevation);
74 public void setElevation(CardViewDelegate cardView, float elevation) { argument
75 cardView.getCardView().setElevation(elevation);
89 float elevation = getMaxElevation(cardView);
92 .calculateHorizontalPadding(elevation, radius, cardView.getPreventCornerOverlap()));
94 .calculateVerticalPadding(elevation, radius, cardView.getPreventCornerOverlap()));
26 initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewImpl.java27 float radius, float elevation, float maxElevation);
33 void setElevation(CardViewDelegate cardView, float elevation); argument
26 initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java81 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) {
83 elevation, maxElevation);
90 ColorStateList backgroundColor, float radius, float elevation,
93 elevation, maxElevation);
138 public void setElevation(CardViewDelegate cardView, float elevation) { argument
139 getShadowBackground(cardView).setShadowSize(elevation);
80 initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument
89 createBackground(Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java36 * CardView uses <code>elevation</code> property on Lollipop for shadows and falls back to a
58 * To change CardView's elevation in a backward compatible way, use
59 * {@link #setCardElevation(float)}. CardView will use elevation API on Lollipop and before
61 * shadow size is clamped by {@link #getMaxCardElevation()}. If you want to change elevation
235 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0);
248 if (elevation > maxElevation) {
249 maxElevation = elevation;
256 elevation, maxElevation);
358 * Updates the backward compatible elevation of the CardView.
360 * @param elevation Th
365 setCardElevation(float elevation) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchUIUtilImpl.java55 final float elevation = ViewCompat.getElevation(child);
56 if (elevation > max) {
57 max = elevation;
/frameworks/support/design/base/android/support/design/widget/
H A DFloatingActionButtonImpl.java74 final void setElevation(float elevation) { argument
75 if (mElevation != elevation) {
76 mElevation = elevation;
77 onElevationChanged(elevation);
90 abstract void onElevationChanged(float elevation); argument
/frameworks/support/design/eclair-mr1/android/support/design/widget/
H A DFloatingActionButtonEclairMr1.java56 // Reset back to elevation by default
131 void onElevationChanged(float elevation) { argument
133 mShadowDrawable.setShadowSize(elevation, elevation + mPressedTranslationZ);
/frameworks/support/design/lollipop/android/support/design/widget/
H A DFloatingActionButtonLollipop.java88 public void onElevationChanged(float elevation) { argument
89 mView.setElevation(elevation);
/frameworks/support/design/src/android/support/design/widget/
H A DAppBarLayout.java515 * @deprecated target elevation is now deprecated. AppBarLayout's elevation is now
517 * elevation is set, either by this method or the {@code app:elevation} attibute,
518 * a new state list animator is created which uses the given {@code elevation} value.
523 public void setTargetElevation(float elevation) { argument
525 ViewUtilsLollipop.setDefaultAppBarLayoutStateListAnimator(this, elevation);
530 * @deprecated target elevation is now deprecated. AppBarLayout's elevation is now
1135 // Update the AppBarLayout's drawable state (for any elevation change
[all...]
H A DFloatingActionButton.java164 final float elevation = a.getDimension(R.styleable.FloatingActionButton_elevation, 0f);
177 getImpl().setElevation(elevation);
736 * Returns the backward compatible elevation of the FloatingActionButton.
738 * @return the backward compatible elevation in pixels.
747 * Updates the backward compatible elevation of the FloatingActionButton.
749 * @param elevation The backward compatible elevation in pixels.
754 public void setCompatElevation(float elevation) { argument
755 getImpl().setElevation(elevation);
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp173 info.elevation = sv_status->sv_list[i].elevation;
747 elev[i] = info.elevation;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java46 public static void paintShadow(Outline viewOutline, float elevation, Canvas canvas) { argument
52 float shadowSize = elevationToShadow(elevation);
107 private static float elevationToShadow(float elevation) { argument
109 return elevation * 0.5f;
H A DViewGroup_Delegate.java66 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/base/libs/hwui/
H A DRenderProperties.h257 bool setElevation(float elevation) { argument
258 return RP_SET(mPrimitiveFields.mElevation, elevation);
/frameworks/base/libs/hwui/protos/
H A Dhwui.proto41 required float elevation = 10;
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java121 // size calculation takes the shadow size into account. We set the elevation currently
740 // our shadow elevation.
2010 // element which owns the caption and has the elevation.
2102 * The elevation gets set for the first time and the framework needs to be informed that
2112 float elevation = 0;
2117 elevation = hasWindowFocus() ?
2124 elevation = DECOR_SHADOW_FOCUSED_HEIGHT_IN_DIP;
2126 // Convert the DP elevation into physical pixels.
2127 elevation = dipToPx(elevation);
[all...]

Completed in 2131 milliseconds

12