Searched defs:smooth (Results 1 - 18 of 18) sorted by relevance

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
106 if (smooth) {
107 super.scrollToPositionWithOffset(smooth, position, offset);
H A DBaseLayoutManagerActivity.java121 final boolean smooth = checkBox.isChecked();
123 scrollToPosition(smooth, spinner.getSelectedItemPosition());
125 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
158 protected void scrollToPosition(boolean smooth, int position) { argument
159 if (smooth) {
166 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
167 scrollToPosition(smooth, position);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java105 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
106 if (smooth) {
107 super.scrollToPositionWithOffset(smooth, position, offset);
H A DBaseLayoutManagerActivity.java121 final boolean smooth = checkBox.isChecked();
123 scrollToPosition(smooth, spinner.getSelectedItemPosition());
125 scrollToPositionWithOffset(smooth, spinner.getSelectedItemPosition(), offset);
158 protected void scrollToPosition(boolean smooth, int position) { argument
159 if (smooth) {
166 protected void scrollToPositionWithOffset(boolean smooth, int position, int offset) { argument
167 scrollToPosition(smooth, position);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBaseRowFragment.java202 * Sets the selected row position with smooth animation.
219 public void setSelectedPosition(int position, boolean smooth) { argument
228 if (smooth) {
H A DBaseRowSupportFragment.java199 * Sets the selected row position with smooth animation.
216 public void setSelectedPosition(int position, boolean smooth) { argument
225 if (smooth) {
H A DDetailsFragment.java573 * Sets the selected row position with smooth animation.
582 public void setSelectedPosition(int position, boolean smooth) { argument
584 mSetSelectionRunnable.mSmooth = smooth;
H A DDetailsSupportFragment.java570 * Sets the selected row position with smooth animation.
579 public void setSelectedPosition(int position, boolean smooth) { argument
581 mSetSelectionRunnable.mSmooth = smooth;
H A DRowsFragment.java502 * @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 DRowsSupportFragment.java499 * @param smooth True to scroll to the row, false for no animation.
502 public void setSelectedPosition(int rowPosition, boolean smooth, argument
528 if (smooth) {
660 boolean smooth,
662 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask);
666 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
667 getFragment().setSelectedPosition(rowPosition, smooth);
659 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
H A DPlaybackFragment.java708 * Sets the selected row position with smooth animation.
717 public void setSelectedPosition(int position, boolean smooth) { argument
719 mSetSelectionRunnable.mSmooth = smooth;
H A DPlaybackSupportFragment.java705 * Sets the selected row position with smooth animation.
714 public void setSelectedPosition(int position, boolean smooth) { argument
716 mSetSelectionRunnable.mSmooth = smooth;
H A DBrowseFragment.java239 void post(int position, int type, boolean smooth) { argument
248 mSmooth = smooth;
530 boolean smooth,
537 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
1478 void setSelection(int position, boolean smooth) { argument
1488 mHeadersFragment.setSelectedPosition(position, smooth);
1492 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth);
1536 * Sets the selected row position with smooth animation.
1564 public void setSelectedPosition(int position, boolean smooth) { argument
1566 position, SetSelectionRunnable.TYPE_USER_REQUEST, smooth);
529 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
1581 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
[all...]
H A DBrowseSupportFragment.java236 void post(int position, int type, boolean smooth) { argument
245 mSmooth = smooth;
527 boolean smooth,
534 public void setSelectedPosition(int rowPosition, boolean smooth) { argument
1475 void setSelection(int position, boolean smooth) { argument
1485 mHeadersSupportFragment.setSelectedPosition(position, smooth);
1489 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth);
1533 * Sets the selected row position with smooth animation.
1561 public void setSelectedPosition(int position, boolean smooth) { argument
1563 position, SetSelectionRunnable.TYPE_USER_REQUEST, smooth);
526 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) argument
1578 setSelectedPosition(int rowPosition, boolean smooth, final Presenter.ViewHolderTask rowHolderTask) 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
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridWidgetTest.java2029 assertTrue("removing the index of not attached child should not affect smooth scroller",
2075 assertTrue("removing the index of attached child should not kill smooth scroller",
2113 // Pressing lots of key to make sure smooth scroller is running
2131 assertTrue("removing the index of attached child should not kill smooth scroller",
3047 // Pressing lots of key to make sure smooth scroller is running
3625 testSelectViewTaskWithAdapterChange(true /*smooth*/);
3630 testSelectViewTaskWithAdapterChange(false /*smooth*/);
3633 private void testSelectViewTaskWithAdapterChange(final boolean smooth) throws Throwable { argument
3654 if (smooth) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java208 // if smooth scroller is stopped without target, immediately jumps
386 // effect smooth scrolling too over to bind an item view then drag the item view back.
1607 // avoid lots of childSelected events during a long smooth scrolling and
2587 public void setSelection(int position, int subposition, boolean smooth, argument
2591 scrollToSelection(position, subposition, smooth, primaryScrollExtra);
2596 boolean smooth, int primaryScrollExtra) {
2604 scrollToView(view, smooth);
2613 if (smooth) {
2816 void scrollToView(View view, boolean smooth) { argument
2817 scrollToView(view, view == null ? null : view.findFocus(), smooth);
2595 scrollToSelection(int position, int subposition, boolean smooth, int primaryScrollExtra) argument
2820 scrollToView(View view, boolean smooth, int extraDelta, int extraDeltaSecondary) argument
2825 scrollToView(View view, View childView, boolean smooth) argument
2831 scrollToView(View view, View childView, boolean smooth, int extraDelta, int extraDeltaSecondary) argument
2974 scrollGrid(int scrollPrimary, int scrollSecondary, boolean smooth) argument
[all...]

Completed in 803 milliseconds