/external/chromium-trace/catapult/tracing/tracing/core/ |
scripting_controller_test.html | 33 var controller = new tr.c.ScriptingController(brushingStateController); 34 var result = controller.executeCommand('1 + 1'); 40 var controller = new tr.c.ScriptingController(brushingStateController); 42 controller.executeCommand('x = 2'); 48 var controller = new tr.c.ScriptingController(brushingStateController); 50 controller.executeCommand('_x = 2'); 57 var controller = new tr.c.ScriptingController(brushingStateController); 58 controller.executeCommand('a = 42'); 59 var result = controller.executeCommand('a'); 65 var controller = new tr.c.ScriptingController(brushingStateController) [all...] |
/external/chromium-trace/catapult/systrace/profile_chrome/ |
systrace_controller_unittest.py | 21 controller = systrace_controller.SystraceController(self.device, 27 controller.StartTracing(interval) 29 controller.StopTracing() 30 result = controller.PullTrace() 32 self.assertFalse(controller.IsTracingOn())
|
chrome_controller_unittest.py | 25 controller = chrome_controller.ChromeTracingController(self.device, 32 controller.StartTracing(interval) 34 controller.StopTracing() 36 result = controller.PullTrace()
|
perf_controller_unittest.py | 26 controller = perf_controller.PerfProfilerController(self.device, 31 controller.StartTracing(interval) 33 controller.StopTracing() 35 result = controller.PullTrace()
|
profiler_unittest.py | 42 controller = FakeController() 44 result = profiler.CaptureProfile([controller], interval) 47 self.assertEquals(controller.interval, interval) 48 self.assertTrue(controller.stopped) 50 self.assertFalse(os.path.exists(controller.filename)) 56 controller = FakeController() 57 result = profiler.CaptureProfile([controller], 1, write_json=True) 62 self.assertEquals(f.read(), controller.contents)
|
/external/chromium-trace/catapult/tracing/tracing/ui/ |
timeline_display_transform_animations_test.html | 30 var controller = new tr.ui.b.AnimationController(); 31 controller.target = target; 32 controller.queueAnimation(a, 0); 38 assert.isFalse(controller.hasActiveAnimation); 52 var controller = new tr.ui.b.AnimationController(); 53 controller.target = target; 54 controller.queueAnimation(a, 0); 70 var controller = new tr.ui.b.AnimationController(); 71 controller.target = target; 72 controller.queueAnimation(a, 0) [all...] |
/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());
|
/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");
|