Home | History | Annotate | Download | only in view

Lines Matching defs:scrollBar

990      * The scrollbar style to display the scrollbars inside the content area,
997 * The scrollbar style to display the scrollbars inside the padded area,
1004 * The scrollbar style to display the scrollbars at the edge of the view,
1011 * The scrollbar style to display the scrollbars at the edge of the view,
1018 * Mask to check if the scrollbar style is overlay or inset.
1024 * Mask to check if the scrollbar style is inside or outside.
1030 * Mask for scrollbar style.
3122 * Cache the paddingRight set by the user to append to the scrollbar's size.
3130 * Cache the paddingBottom set by the user to append to the scrollbar's size.
3138 * Cache the paddingLeft set by the user to append to the scrollbar's size.
3146 * Cache the paddingStart set by the user to append to the scrollbar's size.
3153 * Cache the paddingEnd set by the user to append to the scrollbar's size.
4423 * Returns the width of the vertical scrollbar.
4425 * @return The width in pixels of the vertical scrollbar or 0 if there
4426 * is no vertical scrollbar.
4431 ScrollBarDrawable scrollBar = cache.scrollBar;
4432 if (scrollBar != null) {
4433 int size = scrollBar.getSize(true);
4445 * Returns the height of the horizontal scrollbar.
4447 * @return The height in pixels of the horizontal scrollbar or 0 if
4448 * there is no horizontal scrollbar.
4453 ScrollBarDrawable scrollBar = cache.scrollBar;
4454 if (scrollBar != null) {
4455 int size = scrollBar.getSize(false);
4509 if (scrollabilityCache.scrollBar == null) {
4510 scrollabilityCache.scrollBar = new ScrollBarDrawable();
4534 scrollabilityCache.scrollBar.setHorizontalTrackDrawable(track);
4538 scrollabilityCache.scrollBar.setHorizontalThumbDrawable(thumb);
4544 scrollabilityCache.scrollBar.setAlwaysDrawHorizontalTrack(true);
4548 scrollabilityCache.scrollBar.setVerticalTrackDrawable(track);
4552 scrollabilityCache.scrollBar.setVerticalThumbDrawable(thumb);
4558 scrollabilityCache.scrollBar.setAlwaysDrawVerticalTrack(true);
4570 // Re-apply user/background padding so that scrollbar(s) get added
11653 if (scrollCache.scrollBar == null) {
11654 scrollCache.scrollBar = new ScrollBarDrawable();
12471 * <p>Indicate whether the horizontal scrollbar should be drawn or not. The
12472 * scrollbar is not drawn by default.</p>
12474 * @return true if the horizontal scrollbar should be painted, false
12484 * <p>Define whether the horizontal scrollbar should be drawn or not. The
12485 * scrollbar is not drawn by default.</p>
12487 * @param horizontalScrollBarEnabled true if the horizontal scrollbar should
12501 * <p>Indicate whether the vertical scrollbar should be drawn or not. The
12502 * scrollbar is not drawn by default.</p>
12504 * @return true if the vertical scrollbar should be painted, false
12514 * <p>Define whether the vertical scrollbar should be drawn or not. The
12515 * scrollbar is not drawn by default.</p>
12517 * @param verticalScrollBarEnabled true if the vertical scrollbar should
12559 * @return true if scrollbar fading is enabled
12593 * Returns the scrollbar fade duration.
12595 * @return the scrollbar fade duration
12605 * Define the scrollbar fade duration.
12607 * @param scrollBarFadeDuration - the scrollbar fade duration
12617 * Returns the scrollbar size.
12619 * @return the scrollbar size
12629 * Define the scrollbar size.
12631 * @param scrollBarSize - the scrollbar size
12667 * <p>Returns the current scrollbar style.</p>
12668 * @return the current scrollbar style
12688 * <p>Compute the horizontal range that the horizontal scrollbar
12698 * scrollbar
12709 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb
12711 * of the thumb within the scrollbar's track.</p>
12719 * @return the horizontal offset of the scrollbar's thumb
12730 * <p>Compute the horizontal extent of the horizontal scrollbar's thumb
12732 * of the thumb within the scrollbar's track.</p>
12740 * @return the horizontal extent of the scrollbar's thumb
12751 * <p>Compute the vertical range that the vertical scrollbar represents.</p>
12757 * @return the total vertical range represented by the vertical scrollbar
12770 * <p>Compute the vertical offset of the vertical scrollbar's thumb
12772 * of the thumb within the scrollbar's track.</p>
12780 * @return the vertical offset of the scrollbar's thumb
12791 * <p>Compute the vertical extent of the vertical scrollbar's thumb
12793 * of the thumb within the scrollbar's track.</p>
12801 * @return the vertical extent of the scrollbar's thumb
12846 * <p>Request the drawing of the horizontal and the vertical scrollbar. The
12879 cache.scrollBar.mutate().setAlpha(Math.round(values[0]));
12889 cache.scrollBar.mutate().setAlpha(255);
12905 final ScrollBarDrawable scrollBar = cache.scrollBar;
12917 int size = scrollBar.getSize(false);
12922 scrollBar.setParameters(computeHorizontalScrollRange(),
12931 onDrawHorizontalScrollBar(canvas, scrollBar, left, top, right, bottom);
12938 int size = scrollBar.getSize(true);
12943 scrollBar.setParameters(computeVerticalScrollRange(),
12963 onDrawVerticalScrollBar(canvas, scrollBar, left, top, right, bottom);
12973 * Override this if the vertical scrollbar needs to be hidden in a subclass, like when
12975 * @return whether to temporarily hide the vertical scrollbar
12983 * <p>Draw the horizontal scrollbar if
12986 * @param canvas the canvas on which to draw the scrollbar
12987 * @param scrollBar the scrollbar's drawable
12996 protected void onDrawHorizontalScrollBar(Canvas canvas, Drawable scrollBar,
12998 scrollBar.setBounds(l, t, r, b);
12999 scrollBar.draw(canvas);
13003 * <p>Draw the vertical scrollbar if {@link #isVerticalScrollBarEnabled()}
13006 * @param canvas the canvas on which to draw the scrollbar
13007 * @param scrollBar the scrollbar's drawable
13016 protected void onDrawVerticalScrollBar(Canvas canvas, Drawable scrollBar,
13018 scrollBar.setBounds(l, t, r, b);
13019 scrollBar.draw(canvas);
20602 public ScrollBarDrawable scrollBar;