/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/ |
ControllerView.java | 66 private float[] mAxes; 350 if (mAxes[AxesMapping.AXIS_BRAKE.ordinal()] > 0.0f) { 351 mGradientPaint.setAlpha((int) (mAxes[AxesMapping.AXIS_BRAKE.ordinal()] * 100) + 155); 355 if (mAxes[AxesMapping.AXIS_GAS.ordinal()] > 0.0f) { 356 mGradientPaint.setAlpha((int) (mAxes[AxesMapping.AXIS_GAS.ordinal()] * 100) + 155); 387 if (mAxes[AxesMapping.AXIS_X.ordinal()] != 0.0f) { 389 * mAxes[AxesMapping.AXIS_X.ordinal()]; 391 if (mAxes[AxesMapping.AXIS_Y.ordinal()] != 0.0f) { 393 * getHeight() * mAxes[AxesMapping.AXIS_Y.ordinal()]; 396 if (mAxes[AxesMapping.AXIS_Z.ordinal()] != 0.0f) [all...] |
FullscreenActivity.java | 128 private float[] mAxes = new float[AxesMapping.values().length]; 146 for (int i = 0; i < mAxes.length; i++) { 147 mAxes[i] = 0.0f; 149 mControllerView.setButtonsAxes(mButtons, mAxes); 303 mAxes[axesMapping.ordinal()] = getCenteredAxis(ev, device,
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/ |
Win32JoyStick.cpp | 101 mState.mAxes.clear(); 145 mState.mAxes.resize(XINPUT_TRANSLATED_AXIS_COUNT); 157 mState.mAxes.resize(mDIJoyCaps.dwAxes); 190 _this->mState.mAxes.pop_back(); 355 assert( axis >= 0 && axis < (int)mState.mAxes.size() && "Axis out of range!"); 357 if(axis >= 0 && axis < (int)mState.mAxes.size()) 359 mState.mAxes[axis].abs = diBuff[i].dwData; 401 mState.mAxes[0].rel = value - mState.mAxes[0].abs; 402 mState.mAxes[0].abs = value [all...] |
/external/v8/src/ |
register-configuration.h | 24 // Architecture independent maxes.
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/ |
OISJoyStick.h | 76 std::vector<Axis> mAxes; 95 for( std::vector<Axis>::iterator i = mAxes.begin(), e = mAxes.end(); i != e; ++i )
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GameControllerInput.java | 204 private final int[] mAxes; 219 mAxes = new int[numAxes]; 224 mAxes[i++] = range.getAxis(); 236 return mAxes.length; 240 return mAxes[axisIndex]; 291 for (int i = 0; i < mAxes.length; i++) { 292 final int axis = mAxes[i];
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/ |
LinuxJoyStickEvents.cpp | 52 mState.mAxes.clear(); 53 mState.mAxes.resize(js.axes); 76 mState.mAxes.resize(mAxisMap.size()); 147 mState.mAxes[axis].abs = js[i].value; 152 mState.mAxes[axis].abs = (int)(32767.0f - (65535.0f * proportion)); 232 js.axes = (int)mState.mAxes.size();
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/ |
OISWiiMote.cpp | 82 mState.mAxes.clear(); 88 mState.mAxes.resize(2); 89 mState.mAxes[0].absOnly = true; 90 mState.mAxes[1].absOnly = true; 321 mState.mAxes[0].abs = events[i].nunChuckXAxis; 329 mState.mAxes[1].abs = events[i].nunChuckYAxis;
|
/frameworks/native/include/input/ |
KeyLayoutMap.h | 91 KeyedVector<int32_t, AxisInfo> mAxes;
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/demos/ |
OISConsole.cpp | 117 if( arg.state.mAxes[axis].abs > 2500 || arg.state.mAxes[axis].abs < -2500 ) 118 std::cout << std::endl << arg.device->vendor() << ". Axis # " << axis << " Value: " << arg.state.mAxes[axis].abs; 408 for( unsigned int i = 0; i < joy.mAxes.size(); ++i ) 409 std::cout << "\nAxis " << i << " X: " << joy.mAxes[i].abs;
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ |
com.badlogic.gdx.controllers.desktop.ois.OisJoystick.cpp | 55 env->CallVoidMethod(obj, axisMovedId, (jint)axisId, (jint)event.state.mAxes[axisId].abs);
|
/frameworks/native/libs/input/ |
KeyLayoutMap.cpp | 134 ssize_t index = mAxes.indexOfKey(scanCode); 142 *outAxisInfo = mAxes.valueAt(index); 313 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { 401 mMap->mAxes.add(scanCode, axisInfo);
|
/external/chromium-trace/catapult/third_party/graphy/graphy/ |
common.py | 333 maxes = [MaxPoint(series.data) for series in self.data if series.data] 334 if not mins or not maxes: 336 return min(mins), max(maxes)
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/ |
CocoaJoyStick.mm | 63 mState.mAxes.clear(); 73 mState.mAxes.resize(mInfo->numAxes); 127 mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion);
|
MacJoyStick.cpp | 63 mState.mAxes.clear(); 73 mState.mAxes.resize(mInfo->numAxes); 127 mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion);
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
ShortDuration.java | 52 checkArgument(duration <= MAXES.get(unit), 333 private static final Map<TimeUnit, Long> MAXES = createMaxesMap();
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/ |
OISJoyStick.cpp | 43 case OIS_Axis: return (int)mState.mAxes.size();
|
/external/skia/fuzz/ |
fuzz.cpp | 404 SkDebugf("Check mins and maxes (%d, %d)\n", min, max); 416 SkDebugf("Check mins and maxes (%f, %f)\n", min, max);
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/src/com/badlogic/gdx/controllers/desktop/ois/ |
OisJoystick.java | 209 env->CallVoidMethod(obj, axisMovedId, (jint)axisId, (jint)event.state.mAxes[axisId].abs);
|
/frameworks/native/services/inputflinger/ |
InputReader.cpp | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocaleMatcher.java | 519 } else if (!desiredRaw.equals(supportedRaw)) { // maxes are equal, changes are equal [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocaleMatcher.java | 526 } else if (!desiredRaw.equals(supportedRaw)) { // maxes are equal, changes are equal [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_reg.h | 493 * this space. Maximum of 123 instructions. Smaller maxes per insn [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_reg.h | 365 * this space. Maximum of 123 instructions. Smaller maxes per insn
|
/external/opencv3/3rdparty/libtiff/ |
tiffio.h | 58 * 32-bit file offsets, and BigTIFF maxes out at 64-bit
|