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
840
) 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/src/android/support/v7/widget/
CardViewApi21Impl.java
29
ColorStateList backgroundColor, float radius, float
elevation
, float maxElevation) {
35
view.setElevation(
elevation
);
76
public void setElevation(CardViewDelegate cardView, float
elevation
) {
77
cardView.getCardView().setElevation(
elevation
);
91
float
elevation
= getMaxElevation(cardView);
local
94
.calculateHorizontalPadding(
elevation
, radius, cardView.getPreventCornerOverlap()));
96
.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/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/
shadows_test.xml
34
android:
elevation
="48dp"
43
android:
elevation
="48dp"
59
android:
elevation
="0dp"
68
android:
elevation
="100dp"
84
android:
elevation
="12dp"
93
android:
elevation
="36dp"
/frameworks/support/design/lollipop/android/support/design/widget/
ViewUtilsLollipop.java
56
* Creates and sets a {@link StateListAnimator} with a custom
elevation
value
58
static void setDefaultAppBarLayoutStateListAnimator(final View view, final float
elevation
) {
66
ObjectAnimator.ofFloat(view, "
elevation
", 0f).setDuration(dur));
70
ObjectAnimator.ofFloat(view, "
elevation
",
elevation
).setDuration(dur));
74
ObjectAnimator.ofFloat(view, "
elevation
", 0).setDuration(0));
FloatingActionButtonLollipop.java
86
void onElevationsChanged(final float
elevation
, final float pressedTranslationZ) {
91
mView.setElevation(
elevation
);
104
// Animate
elevation
and translationZ to our values when pressed
106
set.play(ObjectAnimator.ofFloat(mView, "
elevation
",
elevation
).setDuration(0))
114
set.play(ObjectAnimator.ofFloat(mView, "
elevation
",
elevation
).setDuration(0))
123
animators.add(ObjectAnimator.ofFloat(mView, "
elevation
",
elevation
).setDuration(0));
140
set.play(ObjectAnimator.ofFloat(mView, "
elevation
", 0f).setDuration(0)
[
all
...]
/packages/apps/Dialer/java/com/android/incallui/commontheme/res/animator/
button_state.xml
9
<objectAnimator android:propertyName="
elevation
"
23
<objectAnimator android:propertyName="
elevation
"
/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());
/external/walt/android/WALT/app/src/main/res/layout/
toolbar.xml
6
android:
elevation
="4dp">
/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"
33
android:
elevation
="@dimen/side_panel_header_elevation"
36
<!-- This fragment container needs to have at least the same
elevation
as the above FrameLayout
44
android:
elevation
="@dimen/side_panel_header_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/animator-v21/
design_appbar_state_list_animator.xml
21
android:propertyName="
elevation
"
28
android:propertyName="
elevation
"
35
android:propertyName="
elevation
"
/prebuilts/sdk/current/support/design/res/animator-v21/
design_appbar_state_list_animator.xml
21
android:propertyName="
elevation
"
28
android:propertyName="
elevation
"
35
android:propertyName="
elevation
"
/packages/apps/Car/Radio/src/com/android/car/radio/
PresetListScrollListener.java
26
* Listener on the preset list that will add
elevation
on the container holding the current
27
* playing radio station. This
elevation
will give the illusion of the preset list scrolling
61
// Animate the removal of the
elevation
so that it's not jarring.
64
// No animation needed when adding the
elevation
because the scroll masks the adding
65
// of the
elevation
.
/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
"
/packages/apps/Dialer/java/com/android/incallui/sessiondata/res/layout/
fragment_composer_image.xml
35
android:
elevation
="@dimen/answer_data_elevation"
44
android:
elevation
="@dimen/answer_data_elevation"/>
51
android:
elevation
="@dimen/answer_avatar_elevation"/>
/packages/apps/Launcher3/src/com/android/launcher3/anim/
RevealOutlineAnimation.java
26
/** Returns whether
elevation
should be removed for the duration of the reveal animation. */
38
final float
elevation
= revealView.getElevation();
local
47
revealView.setTranslationZ(-
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>
Completed in 636 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>