Searched refs:mOrientationJudge (Results 1 – 2 of 2) sorted by relevance
84 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_rotationResolverDisabled_useSensorResult()91 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult()95 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult()109 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_normalCase1()118 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testSensorChanged_normalCase2()164 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_inLockScreen_doNotCallRotationResolver()175 this.mOrientationJudge = new OrientationSensorJudge(); in TestableWindowOrientationListener()
81 OrientationJudge mOrientationJudge; field in WindowOrientationListener144 mOrientationJudge = new OrientationSensorJudge(); in WindowOrientationListener()147 if (mOrientationJudge == null) { in WindowOrientationListener()152 mOrientationJudge = new AccelSensorJudge(context); in WindowOrientationListener()185 mOrientationJudge.resetLocked(clearCurrentRotation); in enable()188 mOrientationJudge, mSensor, mRate, DEFAULT_BATCH_LATENCY, mHandler); in enable()190 mSensorManager.registerListener(mOrientationJudge, mSensor, mRate, mHandler); in enable()209 mSensorManager.unregisterListener(mOrientationJudge); in disable()217 if (mOrientationJudge != null) { in onTouchStart()218 mOrientationJudge.onTouchStartLocked(); in onTouchStart()[all …]