HomeSort by relevance Sort by last modified time
    Searched refs:Slider (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/ui/views/examples/
slider_example.h 10 #include "ui/views/controls/slider.h"
28 virtual void SliderValueChanged(Slider* sender,
33 Slider* slider_;
slider_example.cc 17 : ExampleBase("Slider"),
27 slider_ = new Slider(this, Slider::HORIZONTAL);
36 void SliderExample::SliderValueChanged(Slider* sender,
  /external/chromium_org/ui/views/controls/
slider_unittest.cc 5 #include "ui/views/controls/slider.h"
32 scoped_ptr<Slider> slider(new Slider(NULL, Slider::HORIZONTAL));
33 View* view = slider.get();
38 EXPECT_EQ(0.0f, slider->value());
41 EXPECT_EQ(1.0f, slider->value());
45 scoped_ptr<Slider> slider(new Slider(NULL, Slider::VERTICAL))
    [all...]
slider.h 21 class Slider;
30 virtual void SliderValueChanged(Slider* sender,
37 virtual void SliderDragStarted(Slider* sender) {}
38 virtual void SliderDragEnded(Slider* sender) {}
44 class VIEWS_EXPORT Slider : public View, public gfx::AnimationDelegate {
51 Slider(SliderListener* listener, Orientation orientation);
52 virtual ~Slider();
112 // Relative position of the mouse cursor (or the touch point) on the slider's
122 DISALLOW_COPY_AND_ASSIGN(Slider);
slider.cc 5 #include "ui/views/controls/slider.h"
52 Slider::Slider(SliderListener* listener, Orientation orientation)
68 Slider::~Slider() {
71 void Slider::SetValue(float value) {
75 void Slider::SetKeyboardIncrement(float increment) {
79 void Slider::SetValueInternal(float value, SliderChangeReason reason) {
95 // Do not animate when setting the value of the slider for the first time.
111 void Slider::PrepareForMove(const gfx::Point& point)
    [all...]
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
VerticalSlider.java 6 public class VerticalSlider extends Slider {
ServoController.java 9 public class ServoController implements Slider.SliderPositionListener {
13 private Slider mSlider;
29 mSlider = (Slider) targetView.getChildAt(1);
ColorLEDController.java 3 import com.google.android.DemoKit.Slider.SliderPositionListener;
23 class LedValueUpdater implements Slider.SliderPositionListener {
44 private final Slider mSlider;
46 public LabelClickListener(Slider slider, double value) {
47 mSlider = slider;
81 Slider slider = (Slider) g.getChildAt(1); local
85 slider.setPositionListener(positionListener)
    [all...]
Slider.java 12 public class Slider extends View {
24 public Slider(Context context) {
29 public Slider(Context context, AttributeSet attrs) {
  /external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/
slider.js 8 * @fileoverview A Slider control. Based on Chromium's MediaControls.Slider.
12 * Creates a slider control.
21 function Slider(container, value, min, max, opt_onChange) {
27 this.container_.classList.add('slider');
61 Slider.prototype.getValue = function() {
68 Slider.prototype.setValue = function(value) {
76 Slider.prototype.getInput = function() {
81 * Updates the filled portion of the slider to reflect the slider's curren
    [all...]
options.js 332 * @param {{label: HTMLElement, slider: Slider, samples: Array.<HTMLElement>}}
339 advancedFonts.setFontSizeSlider(fontSizeSetting.slider, size, controllable);
453 * Handles change events on a font size slider.
454 * @param {string} fontSizeKey The key for the font size setting whose slider
456 * @param {string} value The new value of the slider.
478 * Updates the specified font size slider's value and enabled property.
479 * @param {Slider} slider The slider for a font size setting
    [all...]
  /external/chromium_org/ash/system/chromeos/brightness/
tray_brightness.cc 28 #include "ui/views/controls/slider.h"
40 // adjusted via the slider. Otherwise, if the user doesn't know about the
62 slider_ = new views::Slider(this, views::Slider::HORIZONTAL);
88 virtual void SliderValueChanged(views::Slider* sender,
103 virtual void SliderDragStarted(views::Slider* slider) OVERRIDE {
104 DCHECK_EQ(slider, slider_);
109 virtual void SliderDragEnded(views::Slider* slider) OVERRIDE
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 45 * A special widget containing two Sliders and a threshold for each. Moving either slider beyond
80 private final Slider mLeftSlider;
81 private final Slider mRightSlider;
82 private Slider mCurrentSlider;
85 private Slider mOtherSlider;
150 * Simple container class for all things pertinent to a slider.
151 * A slider consists of 3 Views:
155 * {@link #target} is the target the user must drag the slider past to trigger the slider.
158 private static class Slider {
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/
media_controls.js 186 * The default range of 100 is too coarse for the media progress slider.
191 * @param {boolean=} opt_seekMark True if the progress slider should have
199 opt_seekMark ? MediaControls.PreciseSlider : MediaControls.Slider;
565 * Create a customized slider control.
569 * @param {number} range Number of distinct slider positions to be supported.
575 MediaControls.Slider = function(container, value, range, onChange, onDrag) {
582 this.container_.classList.add('custom-slider');
621 MediaControls.Slider.prototype.getContainer = function() {
629 MediaControls.Slider.prototype.getInput_ = function() {
634 * @return {HTMLElement} The slider bar element
    [all...]
  /external/chromium_org/ash/system/chromeos/audio/
tray_audio.cc 37 #include "ui/views/controls/slider.h"
157 class VolumeSlider : public views::Slider {
160 : views::Slider(listener, views::Slider::HORIZONTAL) {
245 // Slider's value is in finer granularity than audio volume level(0.01),
246 // there will be a small discrepancy between slider's value and volume level
247 // on audio side. To avoid the jittering in slider UI, do not set change
248 // slider value if the change is less than 1%.
256 // did not change. In that case, setting the value of the slider won't
353 // Layout slider, calculate slider width
    [all...]
  /external/chromium/chrome/browser/resources/touch_ntp/
newtab.js 17 * The Slider object to use for changing app pages.
18 * @type {Slider|undefined}
20 var slider;
126 // Initialize the slider without any cards at the moment
128 slider = new Slider(appsFrame, appsPageList, [], 0, appsFrame.offsetWidth);
129 slider.initialize();
131 // Ensure the slider is resized appropriately with the window
133 slider.resize(appsFrame.offsetWidth);
138 Slider.EventType.CARD_CHANGED
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
ConfigureAssetSetPage.java 81 import org.eclipse.swt.widgets.Slider;
118 private Slider mPaddingSlider;
297 mPaddingSlider = new Slider(mConfigurationArea, SWT.NONE);
299 // This doesn't work right -- not sure why. For now just use a plain slider
506 // This doesn't work right -- not sure why. For now just use a plain slider
    [all...]
  /external/chromium/chrome/browser/resources/ntp4/
new_tab.js 122 var sliderFrame = getRequiredElement('card-slider-frame');
127 // Ensure the slider is resized appropriately with the window
277 // Tell the slider about the pages
324 * the Slider knows about the new elements.
412 // slider changes cards and is translated. An alternate approach would be
413 // to use fixed positioning for the slider (so that changes to its position
613 // Stop the slider from sliding for this touch
655 * Remove the page with the specified index and update the slider.
  /prebuilts/tools/common/m2/internal/com/android/external/eclipse/swt/3.5.0/
swt-3.5.0.jar 
  /prebuilts/tools/darwin-x86/swt/
swt.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 
  /prebuilts/tools/darwin-x86_64/swt/
swt.jar 
  /prebuilts/tools/linux-x86/swt/
swt.jar 
  /prebuilts/tools/linux-x86_64/swt/
swt.jar 
  /prebuilts/tools/windows/swt/
swt.jar 

Completed in 120 milliseconds

1 2