/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
H A D | hmc5883l.js | 36 // Print out the coordinates, heading, and direction every second 45 var direction = round2Digits(myCompass.direction()); 47 " heading: " + heading + " direction " + direction;
|
H A D | my9221.js | 51 function show_LED(level, direction)
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
H A D | hmc5883l.cxx | 39 // 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 D | hmc5883l.py | 36 dir = hmc.direction() # Read direction
|
/hardware/bsp/intel/peripheral/libupm/src/hmc5883l/ |
H A D | hmc5883l.h | 70 * Returns the direction 72 float direction();
|
H A D | hmc5883l.cxx | 140 Hmc5883l::direction(void) function in class:Hmc5883l 148 float dir = Hmc5883l::direction() * 180/M_PI;
|
/hardware/bsp/intel/peripheral/libmraa/examples/c++/ |
H A D | I2c-compass.cpp | 97 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 D | i2c_HMC5883L.c | 82 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 D | iio_driver.c | 75 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 D | I2cCompass.java | 94 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 D | Hmc5883lSample.java | 53 System.out.println("Heading: " + compas.heading() + " Direction:" + compas.direction());
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
H A D | jhd1313m1.h | 73 * @param direction True if scrolling to the right 76 mraa::Result scroll(bool direction);
|
H A D | jhd1313m1.cxx | 114 Jhd1313m1::scroll(bool direction) argument 116 if (direction) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | lookahead.h | 102 int direction);
|
H A D | lookahead.c | 196 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 D | radio.h | 124 * - 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 D | iio.hpp | 40 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 D | iio.h | 119 int* direction,
|
/hardware/bsp/intel/peripheral/libupm/src/grovecircularled/ |
H A D | grovecircularled.h | 82 * @param direction Up or down; up is true and default 84 mraa::Result setLevel (uint8_t level, bool direction=true);
|
H A D | grovecircularled.cxx | 46 // set direction (out) 69 GroveCircularLED::setLevel (uint8_t level, bool direction) { argument 73 if (direction) {
|
/hardware/bsp/intel/peripheral/libupm/src/my9221/ |
H A D | my9221.h | 80 * @param direction Up or down; up is true and default 82 mraa::Result setBarLevel (uint8_t level, bool direction=true);
|
H A D | my9221.cxx | 39 // 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 D | compress_offload.h | 60 __u32 direction; member in struct:snd_compr_caps
|
/hardware/qcom/msm8994/original-kernel-headers/sound/ |
H A D | compress_offload.h | 94 * @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 D | compress_offload.h | 60 __u32 direction; member in struct:snd_compr_caps
|