Java Code Examples for android.support.v4.view.ViewCompat#getScaleY()

The following examples show how to use android.support.v4.view.ViewCompat#getScaleY() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ScaleInOutItemAnimator.java    From narrate-android with Apache License 2.0 4 votes vote down vote up
private void retrieveOriginalScale(RecyclerView.ViewHolder holder) {
    mOriginalScaleX = ViewCompat.getScaleX(holder.itemView);
    mOriginalScaleY = ViewCompat.getScaleY(holder.itemView);
}
 
Example 2
Source File: ScaleInOutItemAnimator.java    From MyHearts with Apache License 2.0 4 votes vote down vote up
private void retrieveOriginalScale(RecyclerView.ViewHolder holder) {
    mOriginalScaleX = ViewCompat.getScaleX(holder.itemView);
    mOriginalScaleY = ViewCompat.getScaleY(holder.itemView);
}
 
Example 3
Source File: SlideScaleInOutRightItemAnimator.java    From MyHearts with Apache License 2.0 4 votes vote down vote up
private void retrieveOriginalScale(RecyclerView.ViewHolder holder) {
    mOriginalScaleX = ViewCompat.getScaleX(holder.itemView);
    mOriginalScaleY = ViewCompat.getScaleY(holder.itemView);
}
 
Example 4
Source File: ScaleInOutItemAnimator.java    From GankGirl with GNU Lesser General Public License v2.1 4 votes vote down vote up
private void retrieveOriginalScale(RecyclerView.ViewHolder holder) {
    mOriginalScaleX = ViewCompat.getScaleX(holder.itemView);
    mOriginalScaleY = ViewCompat.getScaleY(holder.itemView);
}
 
Example 5
Source File: SlideScaleInOutRightItemAnimator.java    From GankGirl with GNU Lesser General Public License v2.1 4 votes vote down vote up
private void retrieveOriginalScale(RecyclerView.ViewHolder holder) {
    mOriginalScaleX = ViewCompat.getScaleX(holder.itemView);
    mOriginalScaleY = ViewCompat.getScaleY(holder.itemView);
}