12f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu/* 22f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * Copyright (C) 2014 The Android Open Source Project 32f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * 42f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 52f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * in compliance with the License. You may obtain a copy of the License at 62f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * 72f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * http://www.apache.org/licenses/LICENSE-2.0 82f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * 92f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * Unless required by applicable law or agreed to in writing, software distributed under the License 102f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 112f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * or implied. See the License for the specific language governing permissions and limitations under 122f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * the License. 132f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu */ 1495400e6d31a1ac09e48cb8944a79b7250484aa4cDake Gupackage android.support.v17.leanback.transition; 152f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu 168e10080c914d1ad0784394fa3026b85535535847Aurimas Liutikasimport static android.support.annotation.RestrictTo.Scope.LIBRARY_GROUP; 17c39d9c75590eca86a5e7e32a8824ba04a0d42e9bAlan Viverette 188e10080c914d1ad0784394fa3026b85535535847Aurimas Liutikasimport android.support.annotation.RestrictTo; 19c39d9c75590eca86a5e7e32a8824ba04a0d42e9bAlan Viverette 202f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu/** 212f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu * Listeners for transition start and stop. 2295400e6d31a1ac09e48cb8944a79b7250484aa4cDake Gu * @hide 232f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu */ 248e10080c914d1ad0784394fa3026b85535535847Aurimas Liutikas@RestrictTo(LIBRARY_GROUP) 2595400e6d31a1ac09e48cb8944a79b7250484aa4cDake Gupublic class TransitionListener { 262f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu 278403619efebe94666c0615c3fc85080a303acf80Dake Gu protected Object mImpl; 288403619efebe94666c0615c3fc85080a303acf80Dake Gu 292f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu public void onTransitionStart(Object transition) { 302f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu } 312f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu 322f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu public void onTransitionEnd(Object transition) { 332f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu } 342f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu 358403619efebe94666c0615c3fc85080a303acf80Dake Gu public void onTransitionCancel(Object transition) { 368403619efebe94666c0615c3fc85080a303acf80Dake Gu } 378403619efebe94666c0615c3fc85080a303acf80Dake Gu 388403619efebe94666c0615c3fc85080a303acf80Dake Gu public void onTransitionPause(Object transition) { 398403619efebe94666c0615c3fc85080a303acf80Dake Gu } 408403619efebe94666c0615c3fc85080a303acf80Dake Gu 418403619efebe94666c0615c3fc85080a303acf80Dake Gu public void onTransitionResume(Object transition) { 428403619efebe94666c0615c3fc85080a303acf80Dake Gu } 432f97594742886d045ca1ce409ebc6e6e780452f6Dake Gu} 44