package Ġw ang . is am . lib ar ay . view . clic ke ffect . impl Ċ Ċ import Ġandroid . animation . Time Interpolator Ċ import Ġandroid . view . View Ċ import Ġandroid . view . animation . De cel erate Interpolator Ċ import Ġw ang . is am . lib ar ay . view . clic ke ffect . View Click Effect Ċ /** Ċ Ġ* Ġ çĤ¹åĩ» æĹ¶ ç¼© å°ı åĬ¨çĶ» Ċ Ġ* Ġ@ author ĠSam W ang ( 1 9 9 0 0 4 ) Ċ Ġ* ĠĠĠĠĠĠĠĠĠ 2 0 1 6 / 1 / 1 5 Ġ 1 4 : 2 6 Ċ Ġ*/ Ċ class ĠDefault Click Effect Scale Animate ( val Ġinterpol ator : ĠTime Interpolator Ġ= ĠDec el erate Interpolator ()) Ġ: ĠView Click Effect { ĊĠĠĠ Ġoverride Ġfun ĠonPressed Effect ( view : ĠView ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . animate (). scale X ( scale ). scale Y ( scale ). set Duration ( duration ). interpol ator Ġ= Ġinterpol ator ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Un Pressed Effect ( view : ĠView ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . animate (). scale X ( 1 f ). scale Y ( 1 f ). interpol ator Ġ= Ġinterpol ator ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval Ġscale Ġ= Ġ 0 . 7 f ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval Ġduration Ġ= Ġ 1 5 0 L ĊĠĠĠ Ġ} ĊĊ Ċ }