Searched refs:newOrientation (Results 1 – 5 of 5) sorted by relevance
165 private fun getNewOrientationConfig(@Configuration.Orientation newOrientation: Int) =166 context.resources.configuration.apply { orientation = newOrientation }
584 int newOrientation = getResources().getConfiguration().orientation; in updateResources() local585 if (newOrientation != mLastOrientation) { in updateResources()586 mLastOrientation = newOrientation; in updateResources()
271 final int newOrientation = originalOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT in getOrientations() local274 return new int[]{originalOrientation, newOrientation}; in getOrientations()
372 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation() argument373 if (newOrientation == mLastOrientation && !forceUpdate) { in updateOrientation()376 mLastOrientation = newOrientation; in updateOrientation()377 if (newOrientation != mCurrentAppOrientation) { in updateOrientation()378 mCurrentAppOrientation = newOrientation; in updateOrientation()
987 final int newOrientation = getRotatedOrientation(dc); in testOnDescendantOrientationRequestChanged() local994 activity.setRequestedOrientation(newOrientation); in testOnDescendantOrientationRequestChanged()1006 final int newOrientation = getRotatedOrientation(dc); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() local1013 activity.setRequestedOrientation(newOrientation); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()1027 final int newOrientation = getRotatedOrientation(dc); in testFixedToUserRotationChanged() local1034 activity.setRequestedOrientation(newOrientation); in testFixedToUserRotationChanged()1337 final int newOrientation = getRotatedOrientation(mDisplayContent); in testApplyTopFixedRotationTransform() local1338 app.setRequestedOrientation(newOrientation); in testApplyTopFixedRotationTransform()1404 app2.setRequestedOrientation(newOrientation); in testApplyTopFixedRotationTransform()1543 final int newOrientation = getRotatedOrientation(mDisplayContent); in testNoFixedRotationOnResumedScheduledApp() local[all …]