Search in sources :

Example 1 with RecentsRowFocusAnimationHolder

use of com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder in project android_frameworks_base by AOSPA.

the class TaskCardView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mThumbnailView = findViewById(R.id.card_view_thumbnail);
    mInfoFieldView = findViewById(R.id.card_info_field);
    mTitleTextView = (TextView) findViewById(R.id.card_title_text);
    mBadgeView = (ImageView) findViewById(R.id.card_extra_badge);
    mDismissIconView = findViewById(R.id.dismiss_icon);
    mDismissAnimationsHolder = new DismissAnimationsHolder(this);
    mCornerRadius = getResources().getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius);
    mRecentsRowFocusAnimationHolder = new RecentsRowFocusAnimationHolder(this, mInfoFieldView);
    SystemServicesProxy ssp = Recents.getSystemServices();
    mTouchExplorationEnabled = ssp.isTouchExplorationEnabled();
    if (!mTouchExplorationEnabled) {
        mDismissIconView.setVisibility(VISIBLE);
    } else {
        mDismissIconView.setVisibility(GONE);
    }
    mViewFocusAnimator = new ViewFocusAnimator(this);
}
Also used : RecentsRowFocusAnimationHolder(com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder) SystemServicesProxy(com.android.systemui.recents.misc.SystemServicesProxy) DismissAnimationsHolder(com.android.systemui.recents.tv.animations.DismissAnimationsHolder) ViewFocusAnimator(com.android.systemui.recents.tv.animations.ViewFocusAnimator)

Example 2 with RecentsRowFocusAnimationHolder

use of com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder in project android_frameworks_base by crdroidandroid.

the class TaskCardView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mThumbnailView = findViewById(R.id.card_view_thumbnail);
    mInfoFieldView = findViewById(R.id.card_info_field);
    mTitleTextView = (TextView) findViewById(R.id.card_title_text);
    mBadgeView = (ImageView) findViewById(R.id.card_extra_badge);
    mDismissIconView = findViewById(R.id.dismiss_icon);
    mDismissAnimationsHolder = new DismissAnimationsHolder(this);
    mCornerRadius = getResources().getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius);
    mRecentsRowFocusAnimationHolder = new RecentsRowFocusAnimationHolder(this, mInfoFieldView);
    SystemServicesProxy ssp = Recents.getSystemServices();
    mTouchExplorationEnabled = ssp.isTouchExplorationEnabled();
    if (!mTouchExplorationEnabled) {
        mDismissIconView.setVisibility(VISIBLE);
    } else {
        mDismissIconView.setVisibility(GONE);
    }
    mViewFocusAnimator = new ViewFocusAnimator(this);
}
Also used : RecentsRowFocusAnimationHolder(com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder) SystemServicesProxy(com.android.systemui.recents.misc.SystemServicesProxy) DismissAnimationsHolder(com.android.systemui.recents.tv.animations.DismissAnimationsHolder) ViewFocusAnimator(com.android.systemui.recents.tv.animations.ViewFocusAnimator)

Example 3 with RecentsRowFocusAnimationHolder

use of com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder in project platform_frameworks_base by android.

the class TaskCardView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mThumbnailView = findViewById(R.id.card_view_thumbnail);
    mInfoFieldView = findViewById(R.id.card_info_field);
    mTitleTextView = (TextView) findViewById(R.id.card_title_text);
    mBadgeView = (ImageView) findViewById(R.id.card_extra_badge);
    mDismissIconView = findViewById(R.id.dismiss_icon);
    mDismissAnimationsHolder = new DismissAnimationsHolder(this);
    mCornerRadius = getResources().getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius);
    mRecentsRowFocusAnimationHolder = new RecentsRowFocusAnimationHolder(this, mInfoFieldView);
    SystemServicesProxy ssp = Recents.getSystemServices();
    mTouchExplorationEnabled = ssp.isTouchExplorationEnabled();
    if (!mTouchExplorationEnabled) {
        mDismissIconView.setVisibility(VISIBLE);
    } else {
        mDismissIconView.setVisibility(GONE);
    }
    mViewFocusAnimator = new ViewFocusAnimator(this);
}
Also used : RecentsRowFocusAnimationHolder(com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder) SystemServicesProxy(com.android.systemui.recents.misc.SystemServicesProxy) DismissAnimationsHolder(com.android.systemui.recents.tv.animations.DismissAnimationsHolder) ViewFocusAnimator(com.android.systemui.recents.tv.animations.ViewFocusAnimator)

Example 4 with RecentsRowFocusAnimationHolder

use of com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder in project android_frameworks_base by DirtyUnicorns.

the class TaskCardView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mThumbnailView = findViewById(R.id.card_view_thumbnail);
    mInfoFieldView = findViewById(R.id.card_info_field);
    mTitleTextView = (TextView) findViewById(R.id.card_title_text);
    mBadgeView = (ImageView) findViewById(R.id.card_extra_badge);
    mDismissIconView = findViewById(R.id.dismiss_icon);
    mDismissAnimationsHolder = new DismissAnimationsHolder(this);
    mCornerRadius = getResources().getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius);
    mRecentsRowFocusAnimationHolder = new RecentsRowFocusAnimationHolder(this, mInfoFieldView);
    SystemServicesProxy ssp = Recents.getSystemServices();
    mTouchExplorationEnabled = ssp.isTouchExplorationEnabled();
    if (!mTouchExplorationEnabled) {
        mDismissIconView.setVisibility(VISIBLE);
    } else {
        mDismissIconView.setVisibility(GONE);
    }
    mViewFocusAnimator = new ViewFocusAnimator(this);
}
Also used : RecentsRowFocusAnimationHolder(com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder) SystemServicesProxy(com.android.systemui.recents.misc.SystemServicesProxy) DismissAnimationsHolder(com.android.systemui.recents.tv.animations.DismissAnimationsHolder) ViewFocusAnimator(com.android.systemui.recents.tv.animations.ViewFocusAnimator)

Example 5 with RecentsRowFocusAnimationHolder

use of com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder in project android_frameworks_base by ResurrectionRemix.

the class TaskCardView method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    mThumbnailView = findViewById(R.id.card_view_thumbnail);
    mInfoFieldView = findViewById(R.id.card_info_field);
    mTitleTextView = (TextView) findViewById(R.id.card_title_text);
    mBadgeView = (ImageView) findViewById(R.id.card_extra_badge);
    mDismissIconView = findViewById(R.id.dismiss_icon);
    mDismissAnimationsHolder = new DismissAnimationsHolder(this);
    mCornerRadius = getResources().getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius);
    mRecentsRowFocusAnimationHolder = new RecentsRowFocusAnimationHolder(this, mInfoFieldView);
    SystemServicesProxy ssp = Recents.getSystemServices();
    mTouchExplorationEnabled = ssp.isTouchExplorationEnabled();
    if (!mTouchExplorationEnabled) {
        mDismissIconView.setVisibility(VISIBLE);
    } else {
        mDismissIconView.setVisibility(GONE);
    }
    mViewFocusAnimator = new ViewFocusAnimator(this);
}
Also used : RecentsRowFocusAnimationHolder(com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder) SystemServicesProxy(com.android.systemui.recents.misc.SystemServicesProxy) DismissAnimationsHolder(com.android.systemui.recents.tv.animations.DismissAnimationsHolder) ViewFocusAnimator(com.android.systemui.recents.tv.animations.ViewFocusAnimator)

Aggregations

SystemServicesProxy (com.android.systemui.recents.misc.SystemServicesProxy)5 DismissAnimationsHolder (com.android.systemui.recents.tv.animations.DismissAnimationsHolder)5 RecentsRowFocusAnimationHolder (com.android.systemui.recents.tv.animations.RecentsRowFocusAnimationHolder)5 ViewFocusAnimator (com.android.systemui.recents.tv.animations.ViewFocusAnimator)5