OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:targetLeft
(Results
1 - 10
of
10
) sorted by null
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
NotificationSwipeActionHelper.java
40
* Call this to snap a notification to provided {@code
targetLeft
}.
42
public void snap(View animView, float velocity, float
targetLeft
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationMenuRow.java
342
final float
targetLeft
= getSpaceForMenu() - maximumSwipeDistance;
345
? mTranslation >
targetLeft
&& mTranslation < targetRight
346
: mTranslation < -
targetLeft
&& mTranslation > -targetRight;
347
boolean shouldSnapTo = mOnLeft ? mTranslation <
targetLeft
: mTranslation > -
targetLeft
;
351
+ "
targetLeft
= " +
targetLeft
376
private void showMenu(View animView, float
targetLeft
, float velocity) {
380
mSwipeHelper.snap(animView,
targetLeft
, velocity);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java
463
public void snapChild(final View animView, final float
targetLeft
, float velocity) {
472
Animator anim = getViewTranslationAnimator(animView,
targetLeft
, updateListener);
491
mCallback.onChildSnappedBack(animView,
targetLeft
);
541
* @param
targetLeft
the target to snap to.
543
public void snapChildIfNeeded(final View view, boolean animate, float
targetLeft
) {
557
snapChild(view,
targetLeft
, 0.0f /* velocity */);
713
* @param
targetLeft
the left position the view was snapped to.
715
void onChildSnappedBack(View animView, float
targetLeft
);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
AbstractMediaItemPresenter.java
626
final int
targetLeft
= sTempRect.left;
629
final float deltaLeft = lp.leftMargin -
targetLeft
;
637
lp.leftMargin =
targetLeft
;
650
lp.leftMargin = Math.round(
targetLeft
+ deltaLeft * fractionToEnd);
/frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java
378
final int
targetLeft
= (parentWidth - targetWidth) / 2;
385
target.layout(
targetLeft
, top, targetRight, top + targetHeight);
390
target.layout(
targetLeft
, bottom, targetRight, bottom + targetHeight);
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
NotificationStackScrollLayout.java
[
all
...]
/frameworks/support/customview/src/main/java/androidx/customview/widget/
ViewDragHelper.java
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskStackViewTouchHandler.java
605
public void onChildSnappedBack(View v, float
targetLeft
) {
/prebuilts/sdk/current/extras/constraint-layout/solver/
constraint-layout-solver-1.1.0-beta1.jar
/prebuilts/sdk/current/extras/constraint-layout-x/solver/
constraintlayout-solver-1.1.0.jar
Completed in 1167 milliseconds