HomeSort by relevance Sort by last modified time
    Searched full:controller (Results 26 - 50 of 1802) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityMagnificationTest.java 65 final MagnificationController controller = mService.getMagnificationController(); local
69 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false)));
72 assertEquals("Failed to apply scale", scale, controller.getScale());
74 mService.runOnServiceSync(() -> result.set(controller.reset(false)));
77 assertEquals("Failed to apply reset", 1.0f, controller.getScale());
81 final MagnificationController controller = mService.getMagnificationController(); local
92 setScale.set(controller.setScale(scale, false));
93 setCenter.set(controller.setCenter(x, y, false));
97 assertEquals("Failed to apply scale", scale, controller.getScale());
100 assertEquals("Failed to apply center X", x, controller.getCenterX(), 5.0f)
110 final MagnificationController controller = mService.getMagnificationController(); local
135 final MagnificationController controller = mService.getMagnificationController(); local
152 final MagnificationController controller = mService.getMagnificationController(); local
164 final MagnificationController controller = service.getMagnificationController(); local
182 final MagnificationController controller = service.getMagnificationController(); local
195 final MagnificationController controller = mService.getMagnificationController(); local
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
SimpleDayPickerView.java 31 public SimpleDayPickerView(Context context, DatePickerController controller) {
32 super(context, controller);
36 public MonthAdapter createMonthAdapter(Context context, DatePickerController controller) {
37 return new SimpleMonthAdapter(context, controller);
  /hardware/bsp/intel/peripheral/bluetooth/bcm43340/
bt_vendor.conf 2 # UART device port where Bluetooth controller is attached
  /frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
InputMethodSubtypeSwitchingControllerTest.java 122 private void assertNextInputMethod(final ControllerImpl controller,
129 final ImeSubtypeListItem nextIme = controller.getNextInputMethod(onlyCurrentIme,
132 final ImeSubtypeListItem prevIme = controller.getNextInputMethod(onlyCurrentIme,
137 private void assertRotationOrder(final ControllerImpl controller,
149 assertNextInputMethod(controller, onlyCurrentIme, currentItem, nextItem, prevItem);
153 private void onUserAction(final ControllerImpl controller,
159 controller.onUserActionLocked(subtypeListItem.mImi, subtype);
179 final ControllerImpl controller = ControllerImpl.createFrom( local
183 assertRotationOrder(controller, false /* onlyCurrentIme */,
187 assertRotationOrder(controller, false /* onlyCurrentIme */
233 final ControllerImpl controller = ControllerImpl.createFrom( local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
MenuItemController.java 27 * Sets whether or not the controller is enabled.
32 * Returns true if the controller is currently enabled.
37 * Returns the menu item id that the controller is responsible for.
47 * Find the menu item this controller cares about, and make it visible.
49 * @param menu The menu object containing an item that controller can handle.
57 * @return True if the action is handled by this controller, false otherwise.
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_gamecontroller.h 25 * Include file for SDL game controller event handling
49 * If you would like to receive controller updates while the application
54 /* The gamecontroller structure used to identify an SDL game controller */
68 * Get the SDL joystick layer binding for this controller button/axis mapping
96 * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
99 * Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
105 * Buttons can be used as a controller axis and vice versa.
107 * This string shows an example of a valid mapping for a controller
108 * "341a3608000000000000504944564944,Afterglow PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
151 * Is the joystick on this index supported by the game controller interface
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_gamecontroller.h 25 * Include file for SDL game controller event handling
49 * If you would like to receive controller updates while the application
54 /* The gamecontroller structure used to identify an SDL game controller */
68 * Get the SDL joystick layer binding for this controller button/axis mapping
96 * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
99 * Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
105 * Buttons can be used as a controller axis and vice versa.
107 * This string shows an example of a valid mapping for a controller
108 * "341a3608000000000000504944564944,Afterglow PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
151 * Is the joystick on this index supported by the game controller interface
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_gamecontroller.h 25 * Include file for SDL game controller event handling
49 * If you would like to receive controller updates while the application
54 /* The gamecontroller structure used to identify an SDL game controller */
68 * Get the SDL joystick layer binding for this controller button/axis mapping
96 * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
99 * Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
105 * Buttons can be used as a controller axis and vice versa.
107 * This string shows an example of a valid mapping for a controller
108 * "341a3608000000000000504944564944,Afterglow PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
151 * Is the joystick on this index supported by the game controller interface
    [all...]
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_gamecontroller.h 25 * Include file for SDL game controller event handling
49 * If you would like to receive controller updates while the application
54 /* The gamecontroller structure used to identify an SDL game controller */
68 * Get the SDL joystick layer binding for this controller button/axis mapping
96 * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is:
99 * Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones.
105 * Buttons can be used as a controller axis and vice versa.
107 * This string shows an example of a valid mapping for a controller
108 * "341a3608000000000000504944564944,Afterglow PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7",
151 * Is the joystick on this index supported by the game controller interface
    [all...]
  /external/autotest/server/site_tests/platform_ServoPowerStateController/
platform_ServoPowerStateController.py 25 self.controller.power_off()
27 self.controller.power_on(self.controller.REC_OFF)
68 self.controller.power_off()
73 self.controller.power_on(self.controller.REC_ON)
81 self.controller.power_off()
87 self.controller.power_on(self.controller.REC_ON)
89 self.controller.power_off(
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
ParticleControllerInfluencer.java 21 /** Assigns the first controller of {@link ParticleControllerInfluencer#templates} to the particles.*/
39 for(int i=0, c = controller.particles.capacity; i < c; ++i){
67 /** Assigns a random controller of {@link ParticleControllerInfluencer#templates} to the particles.*/
74 ParticleController controller = templates.random().copy(); local
75 controller.init();
76 return controller;
109 for(int i=0; i < controller.emitter.maxParticleCount; ++i){
123 ParticleController controller = pool.obtain(); local
124 controller.start();
125 particleControllerChannel.data[i] = controller;
132 ParticleController controller = particleControllerChannel.data[i]; local
176 ParticleController controller = particleControllerChannel.data[i]; local
199 ParticleController controller = iterator.next(); local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaSessionTest.java 83 // Verify by getting the controller and checking all its fields
84 MediaController controller = mSession.getController(); local
85 assertNotNull(controller);
86 verifyNewSession(controller, TEST_SESSION_TAG);
109 * controller.
112 MediaController controller = mSession.getController(); local
113 controller.registerCallback(mCallback, mHandler);
128 extrasOut = controller.getExtras();
134 assertEquals(5, controller.getFlags());
148 metadataOut = controller.getMetadata()
236 MediaController controller = mSession.getController(); local
    [all...]
  /frameworks/base/docs/html/training/game-controllers/
multiple-controllers.jd 12 <li><a href="#map">Map Players to Controller Device IDs</a></li>
13 <li><a href="#detect">Process Multiple Controller Input</a></li>
31 maintaining a mapping between player avatars and each controller device and
32 processing controller input events appropriately.
35 <h2 id="map">Map Players to Controller Device IDs</h2>
36 <p>When a game controller is connected to an Android device, the system
38 game controllers by calling {@link android.view.InputDevice#getDeviceIds() InputDevice.getDeviceIds()}, as shown in <a href="controller-input.html#input">Verify a Game Controller is Connected</a>. You can then associate each
49 to associate a player's avatar with a specific controller. In this example, the
51 player avatar is created in-game when a new controller is attached by a user
    [all...]
  /development/samples/ControllerSample/res/values/
strings.xml 3 <string name="app_name">Controller Sample</string>
6 game controllers. Please connect your game controller now and try
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
FileOutputTest.java 41 FileOutput controller = new FileOutput(); local
42 controller.startup(options, new RuntimeData());
55 FileOutput controller = new FileOutput(); local
56 controller.startup(options, new RuntimeData());
57 controller.writeExecutionData(false);
58 controller.shutdown();
69 FileOutput controller = new FileOutput(); local
72 controller.startup(options, new RuntimeData());
TcpServerOutputTest.java 51 private TcpServerOutput controller; field in class:TcpServerOutputTest
60 controller = new TcpServerOutput(logger) {
68 controller.startup(options, data);
74 controller.shutdown();
82 controller.shutdown();
102 controller.writeExecutionData(false);
117 controller.shutdown();
131 controller.shutdown();
136 final InetAddress addr = controller.getInetAddress(null);
142 final InetAddress addr = controller.getInetAddress("*")
    [all...]
  /external/chromium-trace/catapult/tracing/tracing/value/ui/
scalar_context_controller_test.html 13 <dom-module id='tr-v-ui-scalar-context-controller-mock-host'>
15 <tr-v-ui-scalar-context-controller id="controller">
16 </tr-v-ui-scalar-context-controller>
29 is: 'tr-v-ui-scalar-context-controller-mock-host'
40 // |__<tr-v-ui-scalar-context-controller> c1
45 var c1 = document.createElement('tr-v-ui-scalar-context-controller');
52 // | |__<tr-v-ui-scalar-context-controller> c1
53 // |__<tr-v-ui-scalar-context-controller-mock-host> host2
54 // :..<tr-v-ui-scalar-context-controller> c
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_hdmi_HdmiCecController.cpp 123 HdmiCecEventHandler(HdmiCecController* controller, const sp<CecEventWrapper>& event)
124 : mController(controller),
274 HdmiCecController* controller = static_cast<HdmiCecController*>(arg); local
275 if (controller == NULL) {
280 sp<HdmiCecEventHandler> handler(new HdmiCecEventHandler(controller, spEvent));
281 controller->mLooper->sendMessage(handler, event->type);
310 HdmiCecController* controller = new HdmiCecController( local
314 controller->init();
321 return reinterpret_cast<jlong>(controller);
335 HdmiCecController* controller local
342 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
347 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
352 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
357 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
362 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
367 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
372 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
378 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
383 HdmiCecController* controller = reinterpret_cast<HdmiCecController*>(controllerPtr); local
    [all...]
  /external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
IAgentOutput.java 26 * Configure the agent controller with the supplied options and connect it
30 * Options used to configure the agent controller
40 * Shutdown the agent controller and clean up any resources it has created.
49 * agent controller. This method should only be called by the Agent
  /external/libgdx/extensions/gdx-controllers/gdx-controllers/src/com/badlogic/gdx/controllers/
Controller.java 21 /** Represents a connected controller. Provides methods to query the state of buttons, axes, POVs, sliders and accelerometers on
22 * the controller. Multiple {@link ControllerListener} instances can be registered with the Controller to receive events in case
23 * the controller's state changes. Listeners will be invoked on the rendering thread.
26 public interface Controller {
57 /** Adds a new {@link ControllerListener} to this {@link Controller}. The listener will receive calls in case the state of the
58 * controller changes. The listener will be invoked on the rendering thread.
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/emu/com/badlogic/gdx/controllers/mappings/
Xbox.java 19 import com.badlogic.gdx.controllers.Controller;
22 /** Mappings for the Xbox series of controllers. Based on "standard" controller mapping.
58 /** @return whether the {@link Controller} is an Xbox controller
60 public static boolean isXboxController(Controller controller) {
61 return controller.getName().contains("Xbox");
  /hardware/bsp/intel/peripheral/libupm/src/lcd/
jhd1313m1.cxx 54 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the LCD controller");
60 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the LCD controller");
64 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the LCD controller");
68 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the LCD controller");
71 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the RGB controller");
73 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the RGB controller");
75 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the RGB controller");
78 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the RGB controller");
80 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the RGB controller");
82 UPM_CHECK_MRAA_SUCCESS(ret, "Unable to initialise the RGB controller");
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testautomation_main.c 82 /* First initialize the controller */
83 SDLTest_AssertCheck( (SDL_WasInit(joy_and_controller) & joy_and_controller) == 0, "SDL_WasInit() before init should be false for joystick & controller" );
88 SDLTest_AssertCheck( (initialized_system & joy_and_controller) == joy_and_controller, "SDL_WasInit() should be true for joystick & controller (%x)", initialized_system );
90 /* Then quit the controller, and make sure that implicitly also quits the */
94 SDLTest_AssertCheck( (initialized_system & joy_and_controller) == 0, "SDL_WasInit() should be false for joystick & controller (%x)", initialized_system );
107 /* First initialize the controller and the joystick (explicitly) */
108 SDLTest_AssertCheck( (SDL_WasInit(joy_and_controller) & joy_and_controller) == 0, "SDL_WasInit() before init should be false for joystick & controller" );
114 SDLTest_AssertCheck( (initialized_system & joy_and_controller) == joy_and_controller, "SDL_WasInit() should be true for joystick & controller (%x)", initialized_system );
116 /* Then quit the controller, and make sure that it does NOT quit the */
120 SDLTest_AssertCheck( (initialized_system & joy_and_controller) == SDL_INIT_JOYSTICK, "SDL_WasInit() should be false for joystick & controller (%x)", initialized_system )
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/
BillboardRenderer.java 27 renderData.positionChannel = controller.particles.addChannel(ParticleChannels.Position);
28 renderData.regionChannel = controller.particles.addChannel(ParticleChannels.TextureRegion, TextureRegionInitializer.get());
29 renderData.colorChannel = controller.particles.addChannel(ParticleChannels.Color, ColorInitializer.get());
30 renderData.scaleChannel = controller.particles.addChannel(ParticleChannels.Scale, ScaleInitializer.get());
31 renderData.rotationChannel = controller.particles.addChannel(ParticleChannels.Rotation2D, Rotation2dInitializer.get());
PointSpriteRenderer.java 27 renderData.positionChannel = controller.particles.addChannel(ParticleChannels.Position);
28 renderData.regionChannel = controller.particles.addChannel(ParticleChannels.TextureRegion, TextureRegionInitializer.get());
29 renderData.colorChannel = controller.particles.addChannel(ParticleChannels.Color, ColorInitializer.get());
30 renderData.scaleChannel = controller.particles.addChannel(ParticleChannels.Scale, ScaleInitializer.get());
31 renderData.rotationChannel = controller.particles.addChannel(ParticleChannels.Rotation2D, Rotation2dInitializer.get());

Completed in 809 milliseconds

12 3 4 5 6 7 8 91011>>