OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:laser
(Results
1 - 4
of
4
) sorted by null
/external/walt/docs/
DragLatency.md
5
For drag (or scroll) latency WALT uses a
laser
that shines across the touch device and hits a detector on the
6
other side. The microcontroller monitors the state of the
laser
detector and reports (over usb) when
7
the
laser
beam is broken. A finger dragged back and forth on a touchpad or touch screen
8
and interrupts a
laser
beam. Touch events from the pad and
laser
events are then processed together
31
The red 'x' marks are points where the finger was at times _t<sub>i</sub>_ when the finger went into or out of the
laser
beam. The y distance between the two lines of x marks is roughly the thickness of the finger. For now consider only one of the lines, e.g. the upper one.
33
Now imagine that the clocks timestamping the touch and the
laser
events diverge a little (this divergence is the latency we want to measure). The red 'x' marks would move along the graph. But half of them would move up and half down (corresponding to direction of the finger movement in that point) and therefore they would diverge in opposite directions from the relatively straight horizontal line you see on the screenshot.
37
This calculation that only looks at the _y_ coordinate assumes the
laser
beam is parallel to the _x_ axis and prefers no motion of the finger in the _x_ direction.
/external/walt/arduino/walt/
walt.ino
95
struct trigger
laser
, screen, sound, midi, gshock, copy_trigger;
96
struct trigger * triggers[TRIGGER_COUNT] = {&
laser
, &screen, &sound, &midi, &gshock};
107
// Interrupt handler for
laser
photodiode
109
laser
.t = time_us;
111
laser
.value = !digitalRead(PD_LASER_PIN);
112
laser
.count++;
114
digitalWrite(DEBUG_LED2,
laser
.value);
196
laser
.tag = 'L';
349
laser
.autosend = true;
350
laser
.count = 0
[
all
...]
/development/samples/JetBoy/src/com/example/android/jetboy/
JetBoyView.java
161
// has
laser
been fired and for how long?
162
// user for fx logic on
laser
fire
266
// this is the pixel position of the
laser
beam guide.
376
mLaserShot = BitmapFactory.decodeResource(mRes, R.drawable.
laser
);
701
// Update
laser
state. Having this here allows the
laser
to
703
// pressed. If we comment this out the
laser
will only be
718
// Update
laser
state, turning it on if a key has been
775
* This method updates the
laser
status based on user input and shot
786
// If the
laser
has been on too long shut it dow
[
all
...]
/device/google/wahoo/
init.hardware.rc
411
# Permission for
laser
sensor driver
412
chown camera camera /sys/class/wahoo_laser/
laser
/enable_ps_sensor
Completed in 225 milliseconds