Home
last modified time | relevance | path

Searched refs:mElevation (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DElevationDragFragment.java39 private float mElevation = 0; field in ElevationDragFragment
88 mElevation += mElevationStep; in onCreateView()
89 Log.d(TAG, String.format(Locale.US, "Elevation: %.1f", mElevation)); in onCreateView()
90 floatingShape.setElevation(mElevation); in onCreateView()
98 mElevation -= mElevationStep; in onCreateView()
100 if (mElevation < 0) { in onCreateView()
101 mElevation = 0; in onCreateView()
103 Log.d(TAG, String.format(Locale.US, "Elevation: %.1f", mElevation)); in onCreateView()
104 floatingShape.setElevation(mElevation); in onCreateView()