Home
last modified time | relevance | path

Searched refs:onScreen (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java812 if (lp.onScreen == 0) { in updateDrawerState()
814 } else if (lp.onScreen == 1) { in updateDrawerState()
915 if (slideOffset == lp.onScreen) { in setDrawerViewOffset()
919 lp.onScreen = slideOffset; in setDrawerViewOffset()
924 return ((LayoutParams) drawerView.getLayoutParams()).onScreen; in getDrawerViewOffset()
1201 childLeft = -childWidth + (int) (childWidth * lp.onScreen); in onLayout()
1204 childLeft = width - (int) (childWidth * lp.onScreen); in onLayout()
1208 final boolean changeOffset = newOffset != lp.onScreen; in onLayout()
1250 final int newVisibility = lp.onScreen > 0 ? VISIBLE : INVISIBLE; in onLayout()
1272 final float onscreen = ((LayoutParams) getChildAt(i).getLayoutParams()).onScreen; in computeScroll()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrowseSupportFragment.java1324 private void setHeadersOnScreen(boolean onScreen) { in setHeadersOnScreen() argument
1329 lp.setMarginStart(onScreen ? 0 : -mContainerListMarginStart); in setHeadersOnScreen()
1662 void setSearchOrbViewOnScreen(boolean onScreen) { in setSearchOrbViewOnScreen() argument
1666 lp.setMarginStart(onScreen ? 0 : -mContainerListMarginStart); in setSearchOrbViewOnScreen()
DBrowseFragment.java1322 private void setHeadersOnScreen(boolean onScreen) { in setHeadersOnScreen() argument
1327 lp.setMarginStart(onScreen ? 0 : -mContainerListMarginStart); in setHeadersOnScreen()
1660 void setSearchOrbViewOnScreen(boolean onScreen) { in setSearchOrbViewOnScreen() argument
1664 lp.setMarginStart(onScreen ? 0 : -mContainerListMarginStart); in setSearchOrbViewOnScreen()