/external/trappy/trappy/plotter/ |
BarPlot.py | 85 def plot_axis(self, axis, series_list, permute, concat, args_to_forward): 86 """Internal Method called to plot data (series_list) on a given axis""" 106 line_2d_list = axis.bar( 118 axis.set_title(self.make_title(constraint, pivot, permute, concat))
|
StaticPlot.py | 186 """Generates a title string for an axis""" 200 A handle is returned from a plot on an axis 201 e.g. Line2D from axis.plot() 219 """Determine what data to plot on which axis""" 257 # Group constraints/series with the axis they are to be plotted on 260 axis = self._layout.get_axis(constraint.trace_index if concat else i) 261 figure_data[axis].append((constraint, pivot)) 263 # Plot each axis 264 for axis, series_list in figure_data.iteritems(): 266 axis, [all...] |
/external/skia/src/effects/ |
SkColorMatrix.cpp | 95 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { 100 this->setSinCos(axis, S, C); 103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 104 SkASSERT((unsigned)axis < 3); 111 const uint8_t* index = gRotateIndex + axis * 4; 120 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { 122 tmp.setRotate(axis, degrees) [all...] |
/external/trappy/trappy/plotter/css/ |
EventPlot.css | 69 .axis line, .axis path {
|
/frameworks/support/compat/java/android/support/v4/view/ |
MotionEventCompat.java | 557 * Get axis value for the first pointer index (may be an 560 * @param axis The axis identifier for the axis value to retrieve. 569 public static float getAxisValue(MotionEvent event, int axis) { 570 return event.getAxisValue(axis); 574 * Returns the value of the requested axis for the given pointer <em>index</em> 577 * @param axis The axis identifier for the axis value to retrieve [all...] |
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon60897 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon61006 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon61085 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon61179 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
RVCVRecordActivity.java | 171 * @param axis SensorManager.AXIS_X or SensorManager.AXIS_Y or SensorManager.AXIS_Z 173 private void notifyPrompt(int axis) { 178 message("Manipulate the device in " + axisName.charAt(axis - 1) + 179 " axis (as illustrated) about the pattern."); 190 * Switch to a different axis for display and logging 191 * @param axis 193 private void switchAxis(int axis) { 198 if (axis >=SensorManager.AXIS_X && axis <=SensorManager.AXIS_Z) { 199 imageView.setImageResource(prompts[axis-1]) 201 mRVSensorLogger.updateRegister(mCoverManager.getAxis(axis), axis); local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
OneStepIteratorForward.java | 40 /** The traversal axis from where the nodes will be filtered. */ 65 * @param axis One of the org.apache.xml.dtm.Axis integers. 69 public OneStepIteratorForward(int axis) 73 m_axis = axis; 147 * Returns the axis being iterated, if it is known. 149 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
|
/external/freetype/src/autofit/ |
afindic.c | 101 *stdHW = metrics->axis[AF_DIMENSION_VERT].standard_width; 104 *stdVW = metrics->axis[AF_DIMENSION_HORZ].standard_width;
|
/external/pdfium/third_party/freetype/include/freetype/ |
ftmm.h | 44 /* setting design axis coordinates. */ 61 /* A simple structure used to model a given axis in design space for */ 67 /* name :: The axis's name. */ 69 /* minimum :: The axis's minimum design coordinate. */ 71 /* maximum :: The axis's maximum design coordinate. */ 101 /* axis :: A table of axis descriptors. */ 107 FT_MM_Axis axis[T1_MAX_MM_AXIS]; member in struct:FT_Multi_Master_ 118 /* A simple structure used to model a given axis in design space for */ 122 /* name :: The axis's name. * 215 FT_Var_Axis* axis; member in struct:FT_MM_Var_ [all...] |
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftmm.h | 44 /* setting design axis coordinates. */ 61 /* A simple structure used to model a given axis in design space for */ 67 /* name :: The axis's name. */ 69 /* minimum :: The axis's minimum design coordinate. */ 71 /* maximum :: The axis's maximum design coordinate. */ 101 /* axis :: A table of axis descriptors. */ 107 FT_MM_Axis axis[T1_MAX_MM_AXIS]; member in struct:FT_Multi_Master_ 118 /* A simple structure used to model a given axis in design space for */ 122 /* name :: The axis's name. * 215 FT_Var_Axis* axis; member in struct:FT_MM_Var_ [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testgamecontroller.c | 32 ControllerAxisName(const SDL_GameControllerAxis axis) 34 switch (axis) 140 SDL_Texture *background, *button, *axis; local 178 axis = LoadTexture(screen, "axis.bmp", SDL_TRUE); 180 if (!background || !button || !axis) { 186 SDL_SetTextureColorMod(axis, 10, 255, 21); 230 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, 0); 234 SDL_RenderCopyEx(screen, axis, NULL, &dst, angle, NULL, 0);
|
controllermap.c | 44 int axis, button, hat, hat_value; member in struct:MappingStep 104 SDL_Texture *background, *button, *axis, *marker; local 139 /* Create a window to display joystick axis position */ 157 axis = LoadTexture(screen, "axis.bmp", SDL_TRUE); 190 step->axis = -1; 198 marker = axis; 238 if (steps[_s].axis == event.jaxis.axis) { 243 step->axis = event.jaxis.axis [all...] |
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
AccessibilityEventScrollStepStrategy.java | 31 import io.appium.droiddriver.scroll.Direction.Axis; 119 if (detectEnd(event, direction.axis())) { 136 protected boolean detectEnd(AccessibilityEvent event, Axis axis) { 145 if (axis == Axis.VERTICAL) { 147 } else if (axis == Axis.HORIZONTAL) { 216 protected boolean detectEnd(AccessibilityEvent event, Axis axis) { [all...] |
StepBasedScroller.java | 29 import io.appium.droiddriver.scroll.Direction.Axis; 44 private final Axis axis; field in class:StepBasedScroller 54 * @param axis the axis this scroller can scroll 61 public StepBasedScroller(int maxScrolls, long perScrollTimeoutMillis, Axis axis, 65 this.axis = axis; 72 * perScrollTimeoutMillis, vertical axis, not startFromBegining [all...] |
/frameworks/native/libs/input/ |
InputDevice.cpp | 170 int32_t axis, uint32_t source) const { 174 if (range.axis == axis && range.source == source) { 185 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, 187 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
|
/hardware/libhardware/modules/input/evdev/ |
InputHub.cpp | 107 virtual bool hasRelativeAxis(int32_t axis) const override; 108 virtual bool hasAbsoluteAxis(int32_t axis) const override; 115 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const override; 116 virtual status_t getAbsoluteAxisValue(int32_t axis, int32_t* outValue) const override; 253 for (int32_t axis = 0; axis < ABS_MAX; ++axis) { 254 if (testBit(axis, mAbsBitmask)) { 256 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { 258 axis, mPath.c_str(), mFd, errno) [all...] |
/frameworks/native/include/input/ |
InputDevice.h | 66 int32_t axis; member in struct:android::InputDeviceInfo::MotionRange 91 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; 94 void addMotionRange(int32_t axis, uint32_t source,
|
/external/autotest/client/cros/camera/ |
camera_utils.py | 11 return np.expand_dims(x, axis=0)
|
/external/skia/include/core/ |
SkFontArguments.h | 18 SkFourByteTag axis; member in struct:SkFontArguments::VariationPosition::Coordinate 25 struct Axis { 43 SkFontArguments& setAxes(const Axis* axes, int axisCount) { 52 * Any axis not specified will use the default value. 53 * Any specified axis not actually present in the font will be ignored. 67 const Axis* getAxes(int* axisCount) const { 69 return reinterpret_cast<const Axis*>(fVariationDesignPosition.coordinates);
|
/external/skia/src/core/ |
SkFontDescriptor.cpp | 73 SkAutoSTMalloc<4, SkFixed> axis; local 89 axis.reset(axisCount); 91 axis[i] = read_uint(stream); 111 skstd::make_unique<SkMemoryStream>(data), index, axis, axisCount);
|
/external/skia/src/utils/ |
SkCamera.cpp | 215 SkUnit3D axis, zenith, cross; local 217 // construct a orthonormal basis of cross (x), zenith (y), and axis (z) 218 fAxis.normalize(&axis); 221 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); 223 zenith.fX = fZenith.fX - dot * axis.fX; 224 zenith.fY = fZenith.fY - dot * axis.fY; 225 zenith.fZ = fZenith.fZ - dot * axis.fZ; 230 SkUnit3D::Cross(axis, zenith, &cross); 238 // Looking along the view axis we have: 248 // So this does a z-shear along the view axis based on the observer's x and y values [all...] |