Searched refs:mGravity (Results 1 – 3 of 3) sorted by relevance
41 private final float[] mGravity = {0.0f, 0.0f, 0.0f}; field in MovementDetectorHelper86 if (mGravity[0] == 0f && mGravity[2] == 0f) { in onSensorChanged()87 mGravity[0] = event.values[0]; in onSensorChanged()88 mGravity[1] = event.values[1]; in onSensorChanged()89 mGravity[2] = event.values[2]; in onSensorChanged()92 mGravity[0] = ALPHA * mGravity[0] + (1 - ALPHA) * event.values[0]; in onSensorChanged()93 mGravity[1] = ALPHA * mGravity[1] + (1 - ALPHA) * event.values[1]; in onSensorChanged()94 mGravity[2] = ALPHA * mGravity[2] + (1 - ALPHA) * event.values[2]; in onSensorChanged()98 linearAcceleration[0] = event.values[0] - mGravity[0]; in onSensorChanged()99 linearAcceleration[1] = event.values[1] - mGravity[1]; in onSensorChanged()[all …]
452 private int mGravity = Gravity.NO_GRAVITY; field in PopupMenuTest.Builder491 mGravity = gravity; in withGravity()515 mPopupMenu = new PopupMenu(mActivity, mAnchor, mGravity); in configure()
280 private final int mGravity; field in PlatformInspectableProcessorTest.ValueTypeTest285 mGravity = seed.nextInt(); in ValueTypeTest()296 return mGravity; in getGravity()