Example usage for android.view View getTransitionName

List of usage examples for android.view View getTransitionName

Introduction

In this page you can find the example usage for android.view View getTransitionName.

Prototype

@ViewDebug.ExportedProperty
public String getTransitionName() 

Source Link

Document

Returns the name of the View to be used to identify Views in Transitions.

Usage

From source file:Main.java

@TargetApi(Build.VERSION_CODES.LOLLIPOP)
private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null)
        return;/*  ww w  . ja  v  a  2 s . co m*/
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:Main.java

private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;//  w  w  w  .  j a  v a2 s.  c  om
    }
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:Main.java

@TargetApi(Build.VERSION_CODES.LOLLIPOP)
private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;//w  w  w  .j  a v  a2  s .c  o  m
    }
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:test1.nh.com.demos1.activities.matDesign.TransitionHelper.java

@TargetApi(21)
private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;//  w w  w  . j  a va  2s  .c o  m
    }
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:com.example.jhon.venue.Util.TransitionHelper.java

private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;/*w w  w  .  j  a va  2  s.  c om*/
    }
    participants.add(new Pair<>(view, view.getTransitionName()));//???
}

From source file:com.lincoln.www.transition.TransitionHelper.java

@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;/*from   w ww  . jav  a 2 s  .  c  o m*/
    }
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:ng.kingsley.android.util.TransitionUtils.java

private static void addNonNullViewToPairs(View view, List<Pair> participants) {
    if (view == null) {
        return;//w w w  . j ava  2s .  c o m
    }
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:com.hzx.androidtransitionanimationdemo.TransitionHelper.java

/**
 * View?//from  w w w  . j a  va  2 s.  co  m
 * @param view ?transactionView
 * @param participants transitionList
 */
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;
    }
    participants.add(new Pair<>(view, view.getTransitionName()));
}

From source file:inc.bait.jubilee.model.helper.TransitionHelper.java

private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;//from   www  . j a  va2s .  c  o m
    }
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        participants.add(new Pair<>(view, view.getTransitionName()));
    }
}

From source file:org.messic.android.smartphone.utils.TransitionHelper.java

private static void addNonNullViewToTransitionParticipants(View view, List<Pair> participants) {
    if (view == null) {
        return;//from w w  w.j  a v  a 2  s .c  o  m
    }
    if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        participants.add(new Pair<>(view, view.getTransitionName()));
    }
}