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 testOnSensorChanged_normalCase2()130 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_rotationResolverServiceIsNull_useSensorResult()142 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_screenLocked_doNotCallRotationResolverReturnDefaultRotation()193 this.mOrientationJudge = new OrientationSensorJudge(); in TestableWindowOrientationListener()
81 OrientationJudge mOrientationJudge; field in WindowOrientationListener150 mOrientationJudge = new OrientationSensorJudge(); in WindowOrientationListener()153 if (mOrientationJudge == null) { in WindowOrientationListener()158 mOrientationJudge = new AccelSensorJudge(context); in WindowOrientationListener()191 mOrientationJudge.resetLocked(clearCurrentRotation); in enable()215 mSensorManager.unregisterListener(mOrientationJudge); in disable()223 if (mOrientationJudge != null) { in onTouchStart()224 mOrientationJudge.onTouchStartLocked(); in onTouchStart()233 if (mOrientationJudge != null) { in onTouchEnd()328 if (mOrientationJudge != null) { in dump()[all …]