OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:elevation
(Results
1 - 25
of
641
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/developers/samples/android/ui/views/Elevation/ElevationDrag/
template-params.xml
31
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
36
<sample_action>
Elevation
Drag</sample_action>
59
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
67
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
71
Elevation
is considered the static or initial position of a view on the z axis, while
74
`Z =
elevation
+ translationZ`
76
See [Assign
Elevation
to Your Views][1] for more info.
77
[1]:https://developer.android.com/training/material/shadows-clipping.html#
Elevation
README.md
5
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
12
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
16
Elevation
is considered the static or initial position of a view on the z axis, while
19
`Z =
elevation
+ translationZ`
21
See [Assign
Elevation
to Your Views][1] for more info.
22
[1]:https://developer.android.com/training/material/shadows-clipping.html#
Elevation
/development/samples/browseable/ElevationBasic/
_index.jd
9
first view has a fixed
elevation
using XML and the second one is raised when the user
/development/samples/browseable/ElevationDrag/
_index.jd
8
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
CardViewApi21.java
27
ColorStateList backgroundColor, float radius, float
elevation
, float maxElevation) {
33
view.setElevation(
elevation
);
74
public void setElevation(CardViewDelegate cardView, float
elevation
) {
75
cardView.getCardView().setElevation(
elevation
);
89
float
elevation
= getMaxElevation(cardView);
local
92
.calculateHorizontalPadding(
elevation
, radius, cardView.getPreventCornerOverlap()));
94
.calculateVerticalPadding(
elevation
, radius, cardView.getPreventCornerOverlap()));
/developers/samples/android/ui/views/Elevation/ElevationBasic/
template-params.xml
32
first view has a fixed
elevation
using XML and the second one is raised when the user
36
<sample_action>
Elevation
Basic</sample_action>
68
has a fixed
elevation
, which is defined in XML. The second view, the square,
69
changes its
elevation
using [setTranslationZ()][1] when a user touches it:
92
The
elevation
reverts back once the touch is removed.
94
[1]: https://developer.android.com/training/material/shadows-clipping.html#
Elevation
/frameworks/support/design/lollipop/android/support/design/widget/
ViewUtilsLollipop.java
54
* Creates and sets a {@link StateListAnimator} with a custom
elevation
value
56
static void setDefaultAppBarLayoutStateListAnimator(final View view, final float
elevation
) {
64
ObjectAnimator.ofFloat(view, "
elevation
", 0f).setDuration(dur));
68
ObjectAnimator.ofFloat(view, "
elevation
",
elevation
).setDuration(dur));
72
ObjectAnimator.ofFloat(view, "
elevation
", 0).setDuration(0));
FloatingActionButtonLollipop.java
84
void onElevationsChanged(final float
elevation
, final float pressedTranslationZ) {
87
// Animate
elevation
and translationZ to our values when pressed
89
set.play(ObjectAnimator.ofFloat(mView, "
elevation
",
elevation
).setDuration(0))
97
set.play(ObjectAnimator.ofFloat(mView, "
elevation
",
elevation
).setDuration(0))
111
set.play(ObjectAnimator.ofFloat(mView, "
elevation
",
elevation
).setDuration(0))
118
set.play(ObjectAnimator.ofFloat(mView, "
elevation
", 0f).setDuration(0))
/developers/build/prebuilts/gradle/CardView/Application/tests/src/com/example/android/cardview/
SampleTests.java
46
assertNotNull("SeekBar for
Elevation
is null", mFragment.mElevationSeekBar);
64
float
elevation
= 40.0f;
65
mFragment.mElevationSeekBar.setProgress((int)
elevation
);
66
assertEquals(
elevation
, mFragment.mCardView.getElevation());
/developers/samples/android/ui/views/CardView/Application/tests/src/com/example/android/cardview/
SampleTests.java
46
assertNotNull("SeekBar for
Elevation
is null", mFragment.mElevationSeekBar);
64
float
elevation
= 40.0f;
65
mFragment.mElevationSeekBar.setProgress((int)
elevation
);
66
assertEquals(
elevation
, mFragment.mCardView.getElevation());
/frameworks/base/docs/html/training/material/
shadows-clipping.jd
9
<li><a href="#
Elevation
">Assign
Elevation
to Your Views</a></li>
21
<p>Material design introduces
elevation
for UI elements.
Elevation
helps users understand the
24
<p>The
elevation
of a view, represented by the Z property, determines the visual appearance of its
31
<p>
Elevation
is also useful to create animations where widgets temporarily rise above the
34
<p>For more information about
elevation
in material design, see
39
<h2 id="
Elevation
">Assign
Elevation
to Your Views</h2>
44
<li>
Elevation
: The static component.</li
[
all
...]
/frameworks/base/tests/Assist/res/layout/
keyguard_preview.xml
29
android:
elevation
="30dp"
36
android:
elevation
="30dp"
46
android:
elevation
="3dp"
57
android:
elevation
="3dp"
/packages/apps/TV/res/layout/
option_container.xml
23
android:
elevation
="@dimen/side_panel_elevation"
31
android:
elevation
="@dimen/side_panel_header_elevation"
34
<!-- This fragment container needs to have at least the same
elevation
as the above FrameLayout
42
android:
elevation
="@dimen/side_panel_header_elevation" />
/prebuilts/sdk/current/support/design/res/anim-v21/
design_appbar_state_list_animator.xml
20
<objectAnimator android:propertyName="
elevation
"
26
<objectAnimator android:propertyName="
elevation
"
32
<objectAnimator android:propertyName="
elevation
"
38
<objectAnimator android:propertyName="
elevation
"
/frameworks/data-binding/integration-tests/TestApp/app/src/main/res/layout/
new_api_layout.xml
17
<variable name="
elevation
" type="float"/>
29
android:text="@{name}" android:
elevation
="@{
elevation
}"/>
/frameworks/support/design/res/anim-v21/
design_appbar_state_list_animator.xml
21
android:propertyName="
elevation
"
28
android:propertyName="
elevation
"
35
android:propertyName="
elevation
"
/frameworks/base/docs/html-intl/intl/ja/training/material/
shadows-clipping.jd
9
<li><a href="#
Elevation
">?????????????????</a></li>
21
<p>????? ???????UI ???
Elevation
?????????????????????????????????????? 1 ?????????????????????????????????????????????
39
<h2 id="
Elevation
">?????????????????</h2>
44
<li>
Elevation
?????????: ?????????????</li>
48
<p><code>Z =
elevation
+ translationZ</code></p>
53
<p>????????????????????????????<code>android:
elevation
</code>
86
android:
elevation
="2dp"
/developers/build/prebuilts/gradle/ElevationDrag/
README.md
5
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
12
This sample demonstrates a drag and drop action on different shapes.
Elevation
and
16
Elevation
is considered the static or initial position of a view on the z axis, while
19
`Z =
elevation
+ translationZ`
21
See [Assign
Elevation
to Your Views][1] for more info.
22
[1]:https://developer.android.com/training/material/shadows-clipping.html#
Elevation
/frameworks/base/core/res/res/anim/
button_state_list_anim_material.xml
23
<objectAnimator android:propertyName="
elevation
"
37
<objectAnimator android:propertyName="
elevation
"
49
<objectAnimator android:propertyName="
elevation
"
/developers/build/prebuilts/gradle/CardView/Application/src/main/res/values/
strings.xml
20
\n\nTo create a card with a shadow, use the <font fgcolor="#FFFFFFFF">android:
elevation
</font>
26
<string name="cardview_elevation_seekbar_text">
Elevation
</string>
/developers/samples/android/ui/views/CardView/Application/src/main/res/values/
strings.xml
20
\n\nTo create a card with a shadow, use the <font fgcolor="#FFFFFFFF">android:
elevation
</font>
26
<string name="cardview_elevation_seekbar_text">
Elevation
</string>
/development/samples/browseable/CardView/res/values/
strings.xml
20
\n\nTo create a card with a shadow, use the <font fgcolor="#FFFFFFFF">android:
elevation
</font>
26
<string name="cardview_elevation_seekbar_text">
Elevation
</string>
/development/samples/devbytes/animation/SlidingFragments/res/values/
strings.xml
21
<string name="
elevation
"><b>
Elevation
:</b> 220\' (67 m)</string>
/frameworks/base/packages/DocumentsUI/res/layout/
directory_cluster.xml
25
android:
elevation
="8dp"
40
android:
elevation
="8dp" />
/frameworks/support/v7/cardview/base/android/support/v7/widget/
CardViewImpl.java
27
float radius, float
elevation
, float maxElevation);
33
void setElevation(CardViewDelegate cardView, float
elevation
);
Completed in 3798 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>