Searched refs:currentMode (Results 1 – 6 of 6) sorted by relevance
107 int currentMode; in start() local108 for (currentMode = ROTATION_STYLE.length - 1; currentMode > 0; --currentMode) { in start()109 if (ROTATION_STYLE[currentMode] == initialMode) { in start()113 mRotationStyleCurrentIndex = currentMode; in start()
186 int currentMode = Settings.Secure.getInt(getActivity().getContentResolver(), in onPreferenceChange() local189 intent.putExtra(CURRENT_MODE_KEY, currentMode); in onPreferenceChange()
273 int currentMode = ImsManager.getWfcMode(context); in onPreferenceChange() local274 if (buttonMode != currentMode) { in onPreferenceChange()
805 private int getNextMode(int currentMode, int[] supportedModes) { in getNextMode() argument811 if (m == currentMode) { in getNextMode()819 return currentMode; in getNextMode()
561 int currentMode = Settings.Secure.getInt(resolver, in requestStateChange() local564 switch (currentMode) { in requestStateChange()
671 final int currentMode = mActivity.getViewMode().getMode(); in onMeasure() local672 if (wSize != mViewWidth || mPreviousMode != currentMode) { in onMeasure()674 mPreviousMode = currentMode; in onMeasure()