Searched refs:direction (Results 1 - 25 of 68) sorted by relevance

123

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dhmc5883l.js36 // Print out the coordinates, heading, and direction every second
45 var direction = round2Digits(myCompass.direction());
47 " heading: " + heading + " direction " + direction;
H A Dmy9221.js51 function show_LED(level, direction)
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dhmc5883l.cxx39 // Print out the coordinates, heading, and direction every second
44 fprintf(stdout, "heading: %5.2f direction: %3.2f\n", compass->heading(), compass->direction());
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dhmc5883l.py36 dir = hmc.direction() # Read direction
/hardware/bsp/intel/peripheral/libupm/src/hmc5883l/
H A Dhmc5883l.h70 * Returns the direction
72 float direction();
H A Dhmc5883l.cxx140 Hmc5883l::direction(void) function in class:Hmc5883l
148 float dir = Hmc5883l::direction() * 180/M_PI;
/hardware/bsp/intel/peripheral/libmraa/examples/c++/
H A DI2c-compass.cpp97 float direction = 0; local
129 // scale and calculate direction
130 direction = atan2(y * SCALE_0_92_MG, x * SCALE_0_92_MG);
133 if (direction < 0)
134 direction += 2 * M_PI;
138 printf("Heading : %f\n", direction * 180 / M_PI);
/hardware/bsp/intel/peripheral/libmraa/examples/
H A Di2c_HMC5883L.c82 float direction = 0; local
125 // scale and calculate direction
126 direction = atan2(y * SCALE_0_92_MG, x * SCALE_0_92_MG);
129 if (direction < 0)
130 direction += 2 * M_PI;
134 printf("Heading : %f\n", direction * 180 / M_PI);
H A Diio_driver.c75 int direction; local
79 mraa_iio_event_extract_event(data, &chan_type, &modifier, &type, &direction, &channel, &channel2, &different);
81 printf("event time %lld id %lld extracted chan_type %d modifier %d type %d direction %d "
83 data->timestamp, data->id, chan_type, modifier, type, direction, channel, channel2, different);
/hardware/bsp/intel/peripheral/libmraa/examples/java/
H A DI2cCompass.java94 float direction = 0;
124 direction = (float) Math.atan2(y * SCALE_0_92_MG, x * SCALE_0_92_MG);
126 if (direction < 0)
127 direction += 2 * Math.PI;
131 System.out.println(String.format("Heading : %f\n", direction * 180 / Math.PI));
/hardware/bsp/intel/peripheral/libupm/examples/java/
H A DHmc5883lSample.java53 System.out.println("Heading: " + compas.heading() + " Direction:" + compas.direction());
/hardware/bsp/intel/peripheral/libupm/src/lcd/
H A Djhd1313m1.h73 * @param direction True if scrolling to the right
76 mraa::Result scroll(bool direction);
H A Djhd1313m1.cxx114 Jhd1313m1::scroll(bool direction) argument
116 if (direction) {
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dlookahead.h102 int direction);
H A Dlookahead.c196 int direction)
200 if (direction == PEEK_FORWARD)
211 else if (direction == PEEK_BACKWARD)
194 vp8_lookahead_peek(struct lookahead_ctx *ctx, unsigned int index, int direction) argument
/hardware/libhardware/include/hardware/
H A Dradio.h124 * - direction: RADIO_DIRECTION_UP or RADIO_DIRECTION_DOWN
141 radio_direction_t direction, bool skip_sub_channel);
148 * - direction: RADIO_DIRECTION_UP or RADIO_DIRECTION_DOWN
164 radio_direction_t direction, bool skip_sub_channel);
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
H A Diio.hpp40 int direction; member in struct:mraa::IioEventData
229 int chan_type, modifier, type, direction, channel, channel2, different; local
230 mraa_iio_event_extract_event(data, &chan_type, &modifier, &type, &direction, &channel, &channel2, &different);
234 eventData.direction = direction;
H A Diio.h119 int* direction,
/hardware/bsp/intel/peripheral/libupm/src/grovecircularled/
H A Dgrovecircularled.h82 * @param direction Up or down; up is true and default
84 mraa::Result setLevel (uint8_t level, bool direction=true);
H A Dgrovecircularled.cxx46 // set direction (out)
69 GroveCircularLED::setLevel (uint8_t level, bool direction) { argument
73 if (direction) {
/hardware/bsp/intel/peripheral/libupm/src/my9221/
H A Dmy9221.h80 * @param direction Up or down; up is true and default
82 mraa::Result setBarLevel (uint8_t level, bool direction=true);
H A Dmy9221.cxx39 // set direction (out)
45 // set direction (out)
53 MY9221::setBarLevel (uint8_t level, bool direction) { argument
59 if (direction) {
/hardware/qcom/msm8994/kernel-headers/sound/
H A Dcompress_offload.h60 __u32 direction; member in struct:snd_compr_caps
/hardware/qcom/msm8994/original-kernel-headers/sound/
H A Dcompress_offload.h94 * @direction: direction supported. Of type snd_compr_direction
104 __u32 direction; member in struct:snd_compr_caps
/hardware/qcom/msm8x26/kernel-headers/sound/
H A Dcompress_offload.h60 __u32 direction; member in struct:snd_compr_caps

Completed in 696 milliseconds

123