/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModuleUtil.java | 21 import android.content.res.Configuration; 38 Configuration config = context.getResources().getConfiguration(); in getDeviceNaturalOrientation() 42 config.orientation == Configuration.ORIENTATION_LANDSCAPE) || in getDeviceNaturalOrientation() 44 config.orientation == Configuration.ORIENTATION_PORTRAIT)) { in getDeviceNaturalOrientation() 45 return Configuration.ORIENTATION_LANDSCAPE; in getDeviceNaturalOrientation() 47 return Configuration.ORIENTATION_PORTRAIT; in getDeviceNaturalOrientation() 116 == Configuration.ORIENTATION_PORTRAIT) { in pickBufferDimensions()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | PictureSizeCalculator.java | 54 public static final class Configuration { class in PictureSizeCalculator 58 private Configuration(Size size, Rect postCrop) { in Configuration() method in PictureSizeCalculator.Configuration 90 } else if (!(o instanceof Configuration)) { in equals() 94 Configuration that = (Configuration) o; in equals() 146 public Configuration computeConfiguration(Size targetSize, int imageFormat) in computeConfiguration() 156 return new Configuration(size, cropRegion); in computeConfiguration()
|
/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/ |
D | ConfigurationTest.java | 57 private final TestDrive.Configuration mConfiguration = new TestDrive.Configuration(); 62 assertFalse(TestDrive.Configuration.isPulledAtom(atom)); in testOnePushed() 93 assertTrue(TestDrive.Configuration.isPulledAtom(atom)); in testOnePulled() 143 assertTrue(TestDrive.Configuration.isPulledAtom(pulledAtom)); in testOnePulledTwoPushed() 148 assertFalse(TestDrive.Configuration.isPulledAtom(atom)); in testOnePulledTwoPushed() 232 assertTrue(TestDrive.Configuration.isPulledAtom(pulledAtom)); in testOnePulledTwoPushedTogether() 237 assertFalse(TestDrive.Configuration.isPulledAtom(atom)); in testOnePulledTwoPushedTogether()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeActivationPreferenceControllerTest.java | 32 import android.content.res.Configuration; 71 private Configuration mConfigNightYes = new Configuration(); 72 private Configuration mConfigNightNo = new Configuration(); 110 mConfigNightNo.uiMode = Configuration.UI_MODE_NIGHT_NO; in setUp() 111 mConfigNightYes.uiMode = Configuration.UI_MODE_NIGHT_YES; in setUp()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenZoomSettings.java | 22 import android.content.res.Configuration; 84 protected Configuration createConfig(Configuration origConfig, int index) { in createConfig() 86 final Configuration config = new Configuration(origConfig); in createConfig()
|
D | ToggleFontSizePreferenceFragment.java | 23 import android.content.res.Configuration; 70 protected Configuration createConfig(Configuration origConfig, int index) { in createConfig() 72 final Configuration config = new Configuration(origConfig); in createConfig()
|
D | PreviewSeekBarPreferenceFragment.java | 20 import android.content.res.Configuration; 176 final Configuration origConfig = context.getResources().getConfiguration(); in onCreateView() 178 Configuration[] configurations = new Configuration[mEntries.length]; in onCreateView() 228 protected abstract Configuration createConfig(Configuration origConfig, int index); in createConfig()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 152 nullable(VolumeShaper.Configuration.class), anyBoolean())).thenReturn(mFuture); in setUp() 195 any(VolumeShaper.Configuration.class), anyBoolean()); in testNoActionWithExternalRinger() 211 any(VolumeShaper.Configuration.class), anyBoolean()); in testNoActionWhenDialerRings() 228 any(VolumeShaper.Configuration.class), anyBoolean()); in testAudioFocusStillAcquiredWhenDialerRings() 244 any(VolumeShaper.Configuration.class), anyBoolean()); in testNoActionWhenCallIsSelfManaged() 263 any(VolumeShaper.Configuration.class), anyBoolean()); in testCallWaitingButNoRingForSpecificContacts() 297 any(VolumeShaper.Configuration.class), anyBoolean()); in testVibrateButNoRingForNullRingtone() 316 any(VolumeShaper.Configuration.class), anyBoolean()); in testVibrateButNoRingForSilentRingtone() 332 nullable(VolumeShaper.Configuration.class), anyBoolean()); in testStopRingingBeforeHapticsLookupComplete() 393 any(RingtoneFactory.class), any(Call.class), any(VolumeShaper.Configuration.class), in testRingWithRampingRinger() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 23 import android.content.res.Configuration; 45 protected Configuration mConfiguration; 74 final Configuration nightConfig = new Configuration( in getThemeByUiMode() 76 nightConfig.uiMode &= ~Configuration.UI_MODE_NIGHT_MASK; in getThemeByUiMode()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | GazeAttentionProcessor.java | 29 private final Configuration mConfig; 38 GazeAttentionProcessor(Configuration configuration) { in GazeAttentionProcessor() 109 public static class Configuration { class in GazeAttentionProcessor 135 Configuration(float initialValue, float decayRate, float growthRate) { in Configuration() method in GazeAttentionProcessor.Configuration
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | StickyBottomCaptureLayout.java | 20 import android.content.res.Configuration; 58 if (orientation == Configuration.ORIENTATION_PORTRAIT) { 72 if (orientation == Configuration.ORIENTATION_PORTRAIT) { 159 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in getRoundedThumbnailPosition() 171 if (orientation == Configuration.ORIENTATION_LANDSCAPE) { in getRoundedThumbnailPosition()
|
D | TopRightWeightedLayout.java | 20 import android.content.res.Configuration; 42 Configuration configuration = getContext().getResources().getConfiguration(); in onFinishInflate() 47 public void onConfigurationChanged(Configuration configuration) { in onConfigurationChanged() 58 final boolean isPortrait = Configuration.ORIENTATION_PORTRAIT == orientation; in checkOrientation()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeActivationPreferenceController.java | 20 import android.content.res.Configuration; 65 & Configuration.UI_MODE_NIGHT_YES) != 0; in updateState() 72 & Configuration.UI_MODE_NIGHT_YES) != 0; in getSummary() 98 & Configuration.UI_MODE_NIGHT_YES) != 0; in onSwitchChanged()
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | LruPool.java | 49 public static class Configuration<TKey, TValue> { class in LruPool 99 private final Configuration<TKey, TValue> mConfiguration; 117 this(maxSize, new Configuration<TKey, TValue>()); in LruPool() 120 public LruPool(int maxSize, Configuration<TKey, TValue> configuration) { in LruPool()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ |
D | DeviceUtils.java | 21 import android.content.res.Configuration; 26 return (uiMode & Configuration.UI_MODE_TYPE_MASK) == Configuration.UI_MODE_TYPE_TELEVISION; in isTelevision()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 20 import android.content.res.Configuration; 166 final Configuration subConfig = new Configuration(); in getSubDepContext() 168 Configuration config = context.getResources().getConfiguration(); in getSubDepContext()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | OrientationManager.java | 3 import android.content.res.Configuration; 10 PORTRAIT(Configuration.ORIENTATION_PORTRAIT), 11 LANDSCAPE(Configuration.ORIENTATION_LANDSCAPE);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | LocaleTestUtils.java | 20 import android.content.res.Configuration; 115 Configuration contextConfiguration = new Configuration(resources.getConfiguration()); in setResourcesLocale()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DisplayMetricsRetriever.java | 18 import android.content.res.Configuration; 58 case Configuration.ORIENTATION_PORTRAIT: in getDisplayMetrics() 60 case Configuration.ORIENTATION_LANDSCAPE: in getDisplayMetrics()
|
D | ScreenSizeCalculator.java | 19 import android.content.res.Configuration; 64 case Configuration.ORIENTATION_PORTRAIT: in getScreenSize() 66 case Configuration.ORIENTATION_LANDSCAPE: in getScreenSize()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | PhoneGlobalsTest.java | 22 import android.content.res.Configuration; 65 Configuration config = new Configuration(); in getResourcesForLocale()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastInternalReceiverTest.java | 28 import android.content.res.Configuration; 42 private Configuration mConfiguration = new Configuration();
|
D | CellBroadcastAlertDialogTest.java | 30 import android.content.res.Configuration; 266 Configuration newConfig = new Configuration(); in testOnConfigurationChanged() 272 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testOnConfigurationChanged() 276 newConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in testOnConfigurationChanged()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ThemeHelper.java | 19 import static android.content.res.Configuration.UI_MODE_NIGHT_MASK; 20 import static android.content.res.Configuration.UI_MODE_NIGHT_NO; 21 import static android.content.res.Configuration.UI_MODE_NIGHT_UNDEFINED; 22 import static android.content.res.Configuration.UI_MODE_NIGHT_YES;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 23 import android.content.res.Configuration; 173 == Configuration.ORIENTATION_LANDSCAPE; in isLandscapeMode() 276 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in lockOrientation() 278 } else if (orientation == Configuration.ORIENTATION_LANDSCAPE) { in lockOrientation() 282 if (orientation == Configuration.ORIENTATION_PORTRAIT) { in lockOrientation() 284 } else if (orientation == Configuration.ORIENTATION_LANDSCAPE) { in lockOrientation()
|