@Override protected void updateViews(int scrollY, boolean animated) { super.updateViews(scrollY, animated); // Translate list background ViewHelper.setTranslationY(mListBackgroundView, ViewHelper.getTranslationY(mHeader)); }
private void logState(View v, String title) { Log.v( TAG, title + ": ROT (" + ViewHelper.getRotation(v) + ", " + ViewHelper.getRotationX(v) + ", " + ViewHelper.getRotationY(v) + "), TRANS (" + ViewHelper.getTranslationX(v) + ", " + ViewHelper.getTranslationY(v) + "), SCALE (" + ViewHelper.getScaleX(v) + ", " + ViewHelper.getScaleY(v) + "), ALPHA " + ViewHelper.getAlpha(v)); }
private boolean toolbarJoinsTabs() { return (mHeader.toolbar.getBottom() == mHeader.mPagerSlidingTabStrip.getTop() + ViewHelper.getTranslationY(mHeader.mPagerSlidingTabStrip)); }