Searched refs:smooth (Results 1 - 19 of 19) sorted by relevance

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java123 final boolean smooth = checkBox.isChecked();
125 scrollToPosition(smooth, spinner.getSelectedItemPosition());
127 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
160 protected void scrollToPosition(boolean smooth, int position) { argument
161 if (smooth) {
168 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
169 scrollToPosition(smooth, position);
H A DGridLayoutManagerActivity.java105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
106 if (smooth) {
107 super.scrollToPositionWithOffset(smooth, position, offset);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java123 final boolean smooth = checkBox.isChecked();
125 scrollToPosition(smooth, spinner.getSelectedItemPosition());
127 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
160 protected void scrollToPosition(boolean smooth, int position) { argument
161 if (smooth) {
168 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
169 scrollToPosition(smooth, position);
H A DGridLayoutManagerActivity.java105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
106 if (smooth) {
107 super.scrollToPositionWithOffset(smooth, position, offset);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrowseFragment.java183 void post(int position, int type, boolean smooth) { argument
192 mSmooth = smooth;
473 boolean smooth,
480 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
1405 void setSelection(int position, boolean smooth) { argument
1410 mHeadersFragment.setSelectedPosition(position, smooth);
1414 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth);
1459 * Sets the selected row position with smooth animation.
1476 public void setSelectedPosition(int position, boolean smooth) { argument
1478 position, SetSelectionRunnable.TYPE_USER_REQUEST, smooth);
472 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
1493 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
[all...]
H A DBrowseSupportFragment.java185 void post(int position, int type, boolean smooth) { argument
194 mSmooth = smooth;
475 boolean smooth,
482 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
1407 void setSelection(int position, boolean smooth) { argument
1412 mHeadersSupportFragment.setSelectedPosition(position, smooth);
1416 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth);
1461 * Sets the selected row position with smooth animation.
1478 public void setSelectedPosition(int position, boolean smooth) { argument
1480 position, SetSelectionRunnable.TYPE_USER_REQUEST, smooth);
474 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
1495 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
[all...]
H A DRowsFragment.java490 * @param smooth True to scroll to the row, false for no animation.
493 public void setSelectedPosition(int rowPosition, boolean smooth, argument
519 if (smooth) {
630 boolean smooth,
632 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask);
636 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
637 getFragment().setSelectedPosition(rowPosition, smooth);
629 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
H A DRowsSupportFragment.java492 * @param smooth True to scroll to the row, false for no animation.
495 public void setSelectedPosition(int rowPosition, boolean smooth, argument
521 if (smooth) {
632 boolean smooth,
634 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask);
638 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
639 getFragment().setSelectedPosition(rowPosition, smooth);
631 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
H A DBaseRowFragment.java188 * Sets the selected row position with smooth animation.
205 public void setSelectedPosition(int position, boolean smooth) { argument
214 if (smooth) {
H A DBaseRowSupportFragment.java190 * Sets the selected row position with smooth animation.
207 public void setSelectedPosition(int position, boolean smooth) { argument
216 if (smooth) {
H A DDetailsFragment.java299 * Sets the selected row position with smooth animation.
308 public void setSelectedPosition(int position, boolean smooth) { argument
310 mSetSelectionRunnable.mSmooth = smooth;
H A DDetailsSupportFragment.java301 * Sets the selected row position with smooth animation.
310 public void setSelectedPosition(int position, boolean smooth) { argument
312 mSetSelectionRunnable.mSmooth = smooth;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java203 // if smooth scroller is stopped without target, immediately jumps
375 // effect smooth scrolling too over to bind an item view then drag the item view back.
1491 // avoid lots of childSelected events during a long smooth scrolling and
1853 // position smooth scroller: kill the animation and stop at final position.
1854 // pending smooth scroller: stop and scroll to current focus position.
2238 public void setSelection(int position, int subposition, boolean smooth, argument
2242 scrollToSelection(position, subposition, smooth, primaryScrollExtra);
2247 boolean smooth, int primaryScrollExtra) {
2253 scrollToView(view, smooth);
2262 if (smooth) {
2246 scrollToSelection(int position, int subposition, boolean smooth, int primaryScrollExtra) argument
2508 scrollToView(View view, boolean smooth) argument
2515 scrollToView(View view, View childView, boolean smooth) argument
2654 scrollGrid(int scrollPrimary, int scrollSecondary, boolean smooth) argument
[all...]
/frameworks/native/opengl/libagl/
H A Darray.cpp1098 GLboolean smooth = GL_FALSE; local
1101 smooth = c->point.smooth;
1106 smooth = c->line.smooth;
1109 if (((enables & GGL_ENABLE_AA)?1:0) != smooth)
1110 c->rasterizer.procs.enableDisable(c, GGL_AA, smooth);
H A Dcontext.h164 GLboolean smooth; member in struct:android::gl::point_size_t
169 GLboolean smooth; member in struct:android::gl::line_width_t
H A Dstate.cpp147 c->point.smooth = enabled;
150 c->line.smooth = enabled;
/frameworks/base/docs/html/topic/performance/
H A Dperformance_toc.cs1502 "How to build custom UI widgets that are interactive and smooth."
1944 <li><a href="<?cs var:toroot ?>training/improving-layouts/smooth-scrolling.html">
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1458 "How to build custom UI widgets that are interactive and smooth."
1906 <li><a href="<?cs var:toroot ?>training/improving-layouts/smooth-scrolling.html">
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridWidgetTest.java983 assertTrue("removing the index of not attached child should not affect smooth scroller",
1026 assertFalse("removing the index of attached child should kill smooth scroller",
1064 // Pressing lots of key to make sure smooth scroller is running
1079 assertFalse("removing the index of attached child should kill smooth scroller",
1887 // Pressing lots of key to make sure smooth scroller is running
2463 testSelectViewTaskWithAdapterChange(true /*smooth*/);
2467 testSelectViewTaskWithAdapterChange(false /*smooth*/);
2470 private void testSelectViewTaskWithAdapterChange(final boolean smooth) throws Throwable { argument
2490 if (smooth) {

Completed in 236 milliseconds