/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | BaseLayoutManagerActivity.java | 122 final boolean smooth = checkBox.isChecked(); 124 scrollToPosition(smooth, spinner.getSelectedItemPosition()); 126 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset); 159 protected void scrollToPosition(boolean smooth, int position) { argument 160 if (smooth) { 167 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument 168 scrollToPosition(smooth, position);
|
H A D | GridLayoutManagerActivity.java | 106 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument 107 if (smooth) { 108 super.scrollToPositionWithOffset(smooth, position, offset);
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | BaseLayoutManagerActivity.java | 122 final boolean smooth = checkBox.isChecked(); 124 scrollToPosition(smooth, spinner.getSelectedItemPosition()); 126 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset); 159 protected void scrollToPosition(boolean smooth, int position) { argument 160 if (smooth) { 167 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument 168 scrollToPosition(smooth, position);
|
H A D | GridLayoutManagerActivity.java | 106 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument 107 if (smooth) { 108 super.scrollToPositionWithOffset(smooth, position, offset);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | RowsFragment.java | 507 * @param smooth True to scroll to the row, false for no animation. 510 public void setSelectedPosition(int rowPosition, boolean smooth, argument 536 if (smooth) { 670 boolean smooth, 672 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask); 676 public void setSelectedPosition(int rowPosition, boolean smooth) { argument 677 getFragment().setSelectedPosition(rowPosition, smooth); 669 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
|
H A D | RowsSupportFragment.java | 502 * @param smooth True to scroll to the row, false for no animation. 505 public void setSelectedPosition(int rowPosition, boolean smooth, argument 531 if (smooth) { 663 boolean smooth, 665 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask); 669 public void setSelectedPosition(int rowPosition, boolean smooth) { argument 670 getFragment().setSelectedPosition(rowPosition, smooth); 662 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
|
H A D | BrowseFragment.java | 244 void post(int position, int type, boolean smooth) { argument 253 mSmooth = smooth; 545 boolean smooth, 552 public void setSelectedPosition(int rowPosition, boolean smooth) { argument 1535 void setSelection(int position, boolean smooth) { argument 1545 mHeadersFragment.setSelectedPosition(position, smooth); 1549 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth); 1592 * Sets the selected row position with smooth animation. 1620 public void setSelectedPosition(int position, boolean smooth) { argument 1622 position, SetSelectionRunnable.TYPE_USER_REQUEST, smooth); 544 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument 1637 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument [all...] |
H A D | BrowseSupportFragment.java | 238 void post(int position, int type, boolean smooth) { argument 247 mSmooth = smooth; 529 boolean smooth, 536 public void setSelectedPosition(int rowPosition, boolean smooth) { argument 1513 void setSelection(int position, boolean smooth) { argument 1523 mHeadersSupportFragment.setSelectedPosition(position, smooth); 1527 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth); 1570 * Sets the selected row position with smooth animation. 1598 public void setSelectedPosition(int position, boolean smooth) { argument 1600 position, SetSelectionRunnable.TYPE_USER_REQUEST, smooth); 528 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument 1615 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument [all...] |
H A D | BaseRowFragment.java | 211 * Sets the selected row position with smooth animation. 228 public void setSelectedPosition(int position, boolean smooth) { argument 237 if (smooth) {
|
H A D | BaseRowSupportFragment.java | 206 * Sets the selected row position with smooth animation. 223 public void setSelectedPosition(int position, boolean smooth) { argument 232 if (smooth) {
|
H A D | DetailsFragment.java | 576 * Sets the selected row position with smooth animation. 585 public void setSelectedPosition(int position, boolean smooth) { argument 587 mSetSelectionRunnable.mSmooth = smooth;
|
H A D | DetailsSupportFragment.java | 571 * Sets the selected row position with smooth animation. 580 public void setSelectedPosition(int position, boolean smooth) { argument 582 mSetSelectionRunnable.mSmooth = smooth;
|
H A D | PlaybackFragment.java | 720 * Sets the selected row position with smooth animation. 729 public void setSelectedPosition(int position, boolean smooth) { argument 731 mSetSelectionRunnable.mSmooth = smooth;
|
H A D | PlaybackSupportFragment.java | 713 * Sets the selected row position with smooth animation. 722 public void setSelectedPosition(int position, boolean smooth) { argument 724 mSetSelectionRunnable.mSmooth = smooth;
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GridLayoutManager.java | 225 // if smooth scroller is stopped without target, immediately jumps 401 // effect smooth scrolling too over to bind an item view then drag the item view back. 1647 // avoid lots of childSelected events during a long smooth scrolling and 2653 public void setSelection(int position, int subposition, boolean smooth, argument 2657 scrollToSelection(position, subposition, smooth, primaryScrollExtra); 2662 boolean smooth, int primaryScrollExtra) { 2675 scrollToView(view, smooth); 2684 if (smooth && !mBaseGridView.isLayoutRequested()) { 2709 scrollToView(view, smooth); 2931 void scrollToView(View view, boolean smooth) { argument 2661 scrollToSelection(int position, int subposition, boolean smooth, int primaryScrollExtra) argument 2935 scrollToView(View view, boolean smooth, int extraDelta, int extraDeltaSecondary) argument 2940 scrollToView(View view, View childView, boolean smooth) argument 2946 scrollToView(View view, View childView, boolean smooth, int extraDelta, int extraDeltaSecondary) argument 3089 scrollGrid(int scrollPrimary, int scrollSecondary, boolean smooth) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 1096 GLboolean smooth = GL_FALSE; local 1099 smooth = c->point.smooth; 1104 smooth = c->line.smooth; 1107 if (((enables & GGL_ENABLE_AA)?1:0) != smooth) 1108 c->rasterizer.procs.enableDisable(c, GGL_AA, smooth);
|
H A D | context.h | 164 GLboolean smooth; member in struct:android::gl::point_size_t 169 GLboolean smooth; member in struct:android::gl::line_width_t
|
H A D | state.cpp | 147 c->point.smooth = enabled; 150 c->line.smooth = enabled;
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | GridWidgetTest.java | 1395 final boolean viewVisible, final boolean smooth, 1422 if (smooth) { 1647 void testScrollInSmoothScrolling(final boolean smooth, final boolean scrollToInvisible, argument 1682 if (smooth) { 1688 if (smooth) { 2409 assertTrue("removing the index of not attached child should not affect smooth scroller", 2455 assertTrue("removing the index of attached child should not kill smooth scroller", 2493 // Pressing lots of key to make sure smooth scroller is running 2511 assertTrue("removing the index of attached child should not kill smooth scroller", 3447 // Pressing lots of key to make sure smooth scrolle 1394 testSetSelectedPosition(final boolean inSmoothScroll, final boolean layoutRequested, final boolean viewVisible, final boolean smooth, final boolean resultLayoutRequested, final boolean resultSmoothScroller, final int resultScrollState) argument 4033 testSelectViewTaskWithAdapterChange(final boolean smooth) argument [all...] |