/external/trappy/trappy/wa/ |
results.py | 36 """Make sure that the axis don't clobber some of the data""" 38 (_, _, plot_y_min, plot_y_max) = plt.axis() 146 return Result(pd.concat(bench_dfrs.values(), axis=1, 162 res_dict[benchmark] = pd.concat(concat_objs, axis=1) 164 combined = pd.concat(res_dict.values(), axis=1, keys=res_dict.keys())
|
/hardware/libhardware/modules/input/evdev/ |
InputHub.h | 41 /** Describes an absolute axis. */ 82 /** Returns true if the device has the relative axis. */ 83 virtual bool hasRelativeAxis(int32_t axis) const = 0; 84 /** Returns true if the device has the absolute axis. */ 85 virtual bool hasAbsoluteAxis(int32_t axis) const = 0; 97 /** Returns information about the absolute axis. */ 98 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const = 0; 99 /** Returns the value of the absolute axis. */ 100 virtual status_t getAbsoluteAxisValue(int32_t axis, int32_t* outValue) const = 0;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 21 public Layer(int axis) { 23 mAxis = axis; 95 // which axis do we rotate around?
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
ReverseAxesWalker.java | 40 ReverseAxesWalker(LocPathIterator locPathIterator, int axis) 42 super(locPathIterator, axis); 245 /** The DTM inner traversal class, that corresponds to the super axis. */
|
WalkerFactory.java | 24 import org.apache.xml.dtm.Axis; 310 return Axis.FOLLOWING; 312 return Axis.FOLLOWINGSIBLING; 314 return Axis.PRECEDING; 316 return Axis.PRECEDINGSIBLING; 318 return Axis.PARENT; 320 return Axis.NAMESPACE; 322 return Axis.ANCESTOR; 324 return Axis.ANCESTORORSELF; 326 return Axis.ATTRIBUTE 857 int axis = Axis.SELF; local 990 int axis, predicateAxis; local [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorScan.h | 60 const XprType& expr, const Index& axis, bool exclusive = false, const Op& op = Op()) 61 : m_expr(expr), m_axis(axis), m_accumulator(op), m_exclusive(exclusive) {} 64 const Index axis() const { return m_axis; } function in class:Eigen::TensorScanOp 110 m_size(m_impl.dimensions()[op.axis()]), 116 eigen_assert(op.axis() >= 0 && op.axis() < NumDims); 118 // Compute stride of scan axis 121 for (int i = 0; i < op.axis(); ++i) { 125 for (int i = NumDims - 1; i > op.axis(); --i) { 218 // We fix the index along the scan axis to 0 and perform [all...] |
/external/freetype/include/freetype/ |
ftmm.h | 44 /* setting design axis coordinates. */ 60 /* A structure to model a given axis in design space for Multiple */ 67 /* name :: The axis's name. */ 69 /* minimum :: The axis's minimum design coordinate. */ 71 /* maximum :: The axis's maximum design coordinate. */ 102 /* axis :: A table of axis descriptors. */ 108 FT_MM_Axis axis[T1_MAX_MM_AXIS]; member in struct:FT_Multi_Master_ 119 /* A structure to model a given axis in design space for Multiple */ 123 /* name :: The axis's name. * 240 FT_Var_Axis* axis; member in struct:FT_MM_Var_ [all...] |
/external/skia/src/core/ |
SkFontDescriptor.h | 18 /** Makes a copy of the data in 'axis'. */ 19 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed axis[],int axisCount) 23 fAxis[i] = axis[i];
|
/frameworks/native/include/input/ |
KeyLayoutMap.h | 30 // Axis value is reported directly. 32 // Axis value should be inverted before reporting. 34 // Axis value should be split into two axes 38 // Axis mode. 41 // Axis id. 42 // When split, this is the axis used for values smaller than the split position. 43 int32_t axis; member in struct:android::AxisInfo 45 // When split, this is the axis used for values after higher than the split position. 54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {
|
Input.h | 225 // Values of axes that are stored in this structure packed in order by axis id 226 // for each axis that is present in the structure according to 'bits'. 237 float getAxisValue(int32_t axis) const; 238 status_t setAxisValue(int32_t axis, float value); 264 void tooManyAxes(int axis); 437 float getRawAxisValue(int32_t axis, size_t pointerIndex) const; 447 float getAxisValue(int32_t axis, size_t pointerIndex) const; 494 float getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex, 507 float getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const; 608 static const char* getLabel(int32_t axis); [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
Quaternion.java | 56 double[] axis = normal(cross(vec1, vec2));
local 58 set(angle, axis);
73 public void set(double angle, double[] axis) {
76 x[1] = axis[0] * sin;
77 x[2] = axis[1] * sin;
78 x[3] = axis[2] * sin;
|
/frameworks/base/core/java/android/view/ |
MotionEvent.java | 36 * Motion events describe movements in terms of an action code and a set of axis values. 38 * down or up. The axis values describe the position and other movement properties. 42 * and a set of axis values that include the X and Y coordinates of the touch and 146 * The joystick axis values are normalized to a range of -1.0 to 1.0 where 0.0 corresponds 511 * Axis constant: X axis of a motion event. 536 * Axis constant: Y axis of a motion event. 561 * Axis constant: Pressure axis of a motion event 3332 int axis = nativeAxisFromString(symbolicName); local [all...] |
InputDevice.java | 682 * Gets information about the range of values for a particular {@link MotionEvent} axis. 683 * If the device supports multiple sources, the same axis may have different meanings 684 * for each source. Returns information about the first axis found for any source. 685 * To obtain information about the axis for a specific source, use 688 * @param axis The axis constant. 689 * @return The range of values, or null if the requested axis is not 695 public MotionRange getMotionRange(int axis) { 699 if (range.mAxis == axis) { 707 * Gets information about the range of values for a particular {@link MotionEvent} axis [all...] |
/external/pdfium/core/fxge/ |
fx_freetype.h | 136 #define FXFT_Get_MM_Axis(var, index) &static_cast<FT_MM_Var*>(var)->axis[index] 137 #define FXFT_Get_MM_Axis_Min(axis) ((FT_Var_Axis*)axis)->minimum 138 #define FXFT_Get_MM_Axis_Max(axis) ((FT_Var_Axis*)axis)->maximum 139 #define FXFT_Get_MM_Axis_Def(axis) ((FT_Var_Axis*)axis)->def
|
/external/eigen/Eigen/src/Geometry/ |
AngleAxis.h | 19 * \brief Represents a 3D rotation as a rotation angle around an arbitrary 3D axis 23 * \warning When setting up an AngleAxis object, the axis vector \b must \b be \b normalized. 73 /** Constructs and initialize the angle-axis rotation from an \a angle in radian 74 * and an \a axis which \b must \b be \b normalized. 76 * \warning If the \a axis vector is not normalized, then the angle-axis object 80 inline AngleAxis(const Scalar& angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {} 81 /** Constructs and initialize the angle-axis rotation from a quaternion \a q. 86 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. * 96 EIGEN_DEVICE_FUNC const Vector3& axis() const { return m_axis; } function in class:Eigen::AngleAxis 101 EIGEN_DEVICE_FUNC Vector3& axis() { return m_axis; } function in class:Eigen::AngleAxis [all...] |
/frameworks/native/services/inputflinger/ |
InputReader.cpp | 7084 const Axis& axis = mAxes.valueAt(i); local 7127 const Axis& axis = mAxes.valueAt(i); local 7231 Axis& axis = mAxes.editValueAt(i); local 7256 const Axis& axis = mAxes.valueAt(i); local 7301 Axis& axis = mAxes.editValueAt(i); local 7313 Axis& axis = mAxes.editValueAt(index); local 7374 const Axis& axis = mAxes.valueAt(i); local 7411 Axis& axis = mAxes.editValueAt(i); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTM.java | 194 * XPath axis, though not in document order. 196 * @param axis One of Axes.ANCESTORORSELF, etc. 198 * @return A DTMAxisIterator, or null if the givin axis isn't supported. 200 public DTMAxisTraverser getAxisTraverser(final int axis); 208 * @param axis One of Axes.ANCESTORORSELF, etc. 210 * @return A DTMAxisIterator, or null if the givin axis isn't supported. 212 public DTMAxisIterator getAxisIterator(final int axis); 215 * Get an iterator that can navigate over an XPath Axis, predicated by 218 * @param axis 221 * @return A DTMAxisIterator, or null if the givin axis isn't supported [all...] |
/external/trappy/tests/ |
test_results.py | 77 res1.drop('step_wise', axis=1, level=1, inplace=True) 78 res2.drop('power_allocator', axis=1, level=1, inplace=True) 100 (_, _, y_min, y_max) = matplotlib.pyplot.axis()
|
test_plot_utils.py | 83 axis = plot_utils.pre_plot_setup(ncols=2) 84 self.assertEquals(len(axis), 2) 86 axis = plot_utils.pre_plot_setup(nrows=2, ncols=3) 87 self.assertEquals(len(axis), 2) 88 self.assertEquals(len(axis[0]), 3) 89 self.assertEquals(len(axis[1]), 3)
|
/external/lisa/tests/eas/ |
generic.py | 175 cpu_df = cpu_df[(cpu_df.shift(+1) != cpu_df).any(axis=1)] 214 axis=1, keys=['utils', 'cpus']) 229 return self._sort_power_df_columns(df.apply(est_power, axis=1)) 256 task_utils_df.apply(exp_power, axis=1)) 294 exp_energy = area_under_curve(exp_power.sum(axis=1), method='rect') 295 est_energy = area_under_curve(est_power.sum(axis=1), method='rect')
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
FunctionPattern.java | 46 public FunctionPattern(Expression expr, int axis, int predaxis) 49 super(0, null, null, axis, predaxis);
|
/external/autotest/client/bin/input/ |
input_device.py | 48 properties of the corresponding absolute axis. 118 and absolute axis, respectively. 247 def _ioctl_absinfo(self, axis): 249 Queries device file for absinfo structure for given absolute axis. 253 fcntl.ioctl(self.f, EVIOCGABS(axis), a, 1) 335 mt_abs_info = dict((axis, ev_abs[axis]) 336 for axis in ev_abs 337 if axis in ABS_MT_RANGE) 425 axis = self._get_valuator(type, code [all...] |
/external/jsoncpp/devtools/ |
batchbuild.py | 116 for axis in variants: 117 axis_name = axis["name"] 119 if "generators" in axis: 120 for generator_data in axis["generators"]: 125 elif "variables" in axis: 126 for variables in axis["variables"]: 129 elif "build_types" in axis: 130 for build_type in axis["build_types"]: 137 """Returns a list of BuildDesc generated for the partial BuildDesc for each axis.""" 142 # for each existing build_desc and each axis build desc, create a new build_des [all...] |
/frameworks/native/libs/input/ |
KeyLayoutMap.cpp | 145 ALOGD("mapAxis: scanCode=%d ~ Result mode=%d, axis=%d, highAxis=%d, " 148 outAxisInfo->mode, outAxisInfo->axis, outAxisInfo->highAxis, 213 } else if (keywordToken == "axis") { 309 ALOGE("%s: Expected axis scan code number, got '%s'.", mTokenizer->getLocation().string(), 314 ALOGE("%s: Duplicate entry for axis scan code '%s'.", mTokenizer->getLocation().string(), 328 axisInfo.axis = getAxisByLabel(axisToken.string()); 329 if (axisInfo.axis < 0) { 330 ALOGE("%s: Expected inverted axis label, got '%s'.", 348 axisInfo.axis = getAxisByLabel(lowAxisToken.string()); 349 if (axisInfo.axis < 0) [all...] |
/external/pdfium/third_party/freetype/src/type1/ |
t1load.c | 157 /* allocate axis data if needed */ 208 FT_MM_Axis* axis = master->axis + n; local 212 axis->name = blend->axis_names[n]; 213 axis->minimum = map->design_points[0]; 214 axis->maximum = map->design_points[map->num_points - 1]; 256 /* normalized axis coordinates which gave rise to those weights. */ 324 mmvar->axis = (FT_Var_Axis*)&mmvar[1]; 330 mmvar->axis[i].name = mmaster.axis[i].name 683 FT_Int axis, n_axis; local [all...] |