/frameworks/base/core/java/android/content/res/ |
Configuration.aidl | 20 parcelable Configuration;
|
/frameworks/base/core/java/android/content/ |
ComponentCallbacks.java | 19 import android.content.res.Configuration; 28 * Called by the system when the device configuration changes while your 30 * are never restarted when a configuration changes: they must always deal 35 * new configuration. 37 * @param newConfig The new device configuration. 39 void onConfigurationChanged(Configuration newConfig);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
Configuration.java | 19 public class Configuration { 20 // Bundle key for Exchange configuration (boolean value)
|
/frameworks/base/tools/localize/ |
Configuration.h | 8 struct Configuration 20 int Compare(const Configuration& that) const; 22 inline bool operator<(const Configuration& that) const { return Compare(that) < 0; } 23 inline bool operator<=(const Configuration& that) const { return Compare(that) <= 0; } 24 inline bool operator==(const Configuration& that) const { return Compare(that) == 0; } 25 inline bool operator!=(const Configuration& that) const { return Compare(that) != 0; } 26 inline bool operator>=(const Configuration& that) const { return Compare(that) >= 0; } 27 inline bool operator>(const Configuration& that) const { return Compare(that) > 0; }
|
ValuesFile.h | 5 #include "Configuration.h" 19 ValuesFile(const Configuration& config); 21 static ValuesFile* ParseFile(const string& filename, const Configuration& config, 24 const Configuration& config, 28 const Configuration& GetConfiguration() const; 47 Configuration m_config;
|
XLIFFFile.h | 6 #include "Configuration.h" 38 static XLIFFFile* Create(const Configuration& sourceConfig, const Configuration& targetConfig, 42 inline const Configuration& SourceConfig() const { return m_sourceConfig; } 43 inline const Configuration& TargetConfig() const { return m_targetConfig; } 86 Configuration m_sourceConfig; 87 Configuration m_targetConfig;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
Configuration.java | 19 public class Configuration {
|
/libcore/luni/src/test/java/dalvik/system/ |
DexClassLoaderTest.java | 45 private static enum Configuration { 60 Configuration(int expectedFiles) { 104 private static DexClassLoader createInstance(Configuration config) { 134 Configuration config, String className, String methodName) 154 private static void test_init(Configuration config) { 167 private static void test_simpleUse(Configuration config) throws Exception { 179 private static void test_constructor(Configuration config) 185 private static void test_callStaticMethod(Configuration config) 191 private static void test_getStaticVariable(Configuration config) 197 private static void test_callInstanceMethod(Configuration config [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ViewContact.java | 21 import android.content.res.Configuration; 30 Configuration config = getResources().getConfiguration(); 31 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 32 if (screenLayoutSize == Configuration.SCREENLAYOUT_SIZE_LARGE) {
|
FrontDoor.java | 21 import android.content.res.Configuration; 43 Configuration config = getResources().getConfiguration(); 44 int screenLayoutSize = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 45 if (screenLayoutSize == Configuration.SCREENLAYOUT_SIZE_XLARGE) {
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoActivity.java | 20 import android.content.res.Configuration; 55 Configuration con = getResources().getConfiguration(); 57 if (con.touchscreen == Configuration.TOUCHSCREEN_UNDEFINED) { 59 } else if (con.touchscreen == Configuration.TOUCHSCREEN_NOTOUCH) { 61 } else if (con.touchscreen == Configuration.TOUCHSCREEN_STYLUS) { 63 } else if (con.touchscreen == Configuration.TOUCHSCREEN_FINGER) { 72 if (con.navigation == Configuration.NAVIGATION_UNDEFINED) { 74 } else if (con.navigation == Configuration.NAVIGATION_NONAV) { 76 } else if (con.navigation == Configuration.NAVIGATION_DPAD) { 78 } else if (con.navigation == Configuration.NAVIGATION_TRACKBALL) [all...] |
/external/proguard/src/proguard/ant/ |
ConfigurationElement.java | 25 import proguard.Configuration; 28 * This DataType represents a reference to a ProGuard configuration in Ant. 35 * Adds the contents of this configuration task to the given configuration. 36 * @param configuration the configuration to be extended. 38 public void appendTo(Configuration configuration) 43 throw new BuildException("Nested element <configuration> must have a refid attribute"); 50 // Append the referenced configuration entries to the given configuration [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SystemUI.java | 23 import android.content.res.Configuration; 30 protected void onConfigurationChanged(Configuration newConfig) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardScreenCallback.java | 19 import android.content.res.Configuration; 60 void recreateMe(Configuration config);
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockApplication.java | 20 import android.content.res.Configuration; 43 public void onConfigurationChanged(Configuration newConfig) {
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/ |
ConfigurationTest.java | 36 import javax.security.auth.login.Configuration; 47 * Tests Configuration class 51 // system property to specify another login configuration file 54 // security property to specify default configuration implementation 55 private static final String LOGIN_CONFIG_PROVIDER = "login.configuration.provider"; 62 * Ease the configuration class 64 public static class ConfTestProvider extends Configuration { 77 // default implementation of Configuration class 78 Configuration defaultConfig; 90 defaultConfig = Configuration.getConfiguration() [all...] |
/external/proguard/src/proguard/preverify/ |
Preverifier.java | 23 import proguard.Configuration; 30 * configuration. 36 private final Configuration configuration; field in class:Preverifier 42 public Preverifier(Configuration configuration) 44 this.configuration = configuration; 60 new CodePreverifier(configuration.microEdition))); 64 if (!configuration.microEdition [all...] |
SubroutineInliner.java | 23 import proguard.Configuration; 36 private final Configuration configuration; field in class:SubroutineInliner 42 public SubroutineInliner(Configuration configuration) 44 this.configuration = configuration; 64 if (!configuration.microEdition)
|
/packages/apps/Settings/src/com/android/settings/applications/ |
InterestingConfigChanges.java | 20 import android.content.res.Configuration; 24 final Configuration mLastConfiguration = new Configuration();
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigurationTest.java | 22 import android.content.res.Configuration; 30 @TestTargetClass(Configuration.class) 33 private Configuration mConfigDefault; 34 private Configuration mConfig; 39 mConfigDefault = new Configuration(); 44 mConfig = new Configuration(); 48 mConfig.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH; 49 mConfig.keyboard = Configuration.KEYBOARD_NOKEYS; 50 mConfig.keyboardHidden = Configuration.KEYBOARDHIDDEN_NO; 51 mConfig.navigation = Configuration.NAVIGATION_NONAV [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationTest.java | 20 import android.content.res.Configuration; 30 * Test for verifying a device's screen configuration. 69 Configuration mConfig = mContext.getResources().getConfiguration(); 70 int screenLayout = mConfig.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 71 int screenLayoutLong = mConfig.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK; 78 assertEquals(Configuration.SCREENLAYOUT_SIZE_SMALL, screenLayout); 79 assertEquals(Configuration.SCREENLAYOUT_LONG_NO, screenLayoutLong); 82 assertEquals(Configuration.SCREENLAYOUT_SIZE_XLARGE, screenLayout); 84 assertEquals(Configuration.SCREENLAYOUT_SIZE_LARGE, screenLayout); 86 assertEquals(Configuration.SCREENLAYOUT_SIZE_NORMAL, screenLayout) [all...] |
/cts/tests/src/android/app/cts/ |
MockApplication.java | 20 import android.content.res.Configuration; 49 public void onConfigurationChanged(Configuration newConfig) {
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
Environment.java | 20 import android.content.res.Configuration; 104 private Configuration mConfig = new Configuration(); 117 public void onConfigurationChanged(Configuration newConfig, Context context) { 146 public Configuration getConfiguration() { 167 if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) { 186 if (Configuration.ORIENTATION_PORTRAIT == mConfig.orientation) { 188 } else if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) { 211 if (mConfig.keyboard == Configuration.KEYBOARD_NOKEYS 212 || mConfig.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES) [all...] |
/frameworks/base/core/java/android/app/ |
UiModeManager.java | 20 import android.content.res.Configuration; 34 * the UiModeManager switches the system {@link android.content.res.Configuration} 99 public static final int MODE_NIGHT_AUTO = Configuration.UI_MODE_NIGHT_UNDEFINED >> 4; 104 public static final int MODE_NIGHT_NO = Configuration.UI_MODE_NIGHT_NO >> 4; 109 public static final int MODE_NIGHT_YES = Configuration.UI_MODE_NIGHT_YES >> 4; 168 * {@link Configuration#UI_MODE_TYPE_NORMAL Configuration.UI_MODE_TYPE_NORMAL}, 169 * {@link Configuration#UI_MODE_TYPE_DESK Configuration.UI_MODE_TYPE_DESK}, or 170 * {@link Configuration#UI_MODE_TYPE_CAR Configuration.UI_MODE_TYPE_CAR}, o [all...] |
/development/tools/idegen/src/ |
Main.java | 37 Configuration configuration = new Configuration(); local 38 IntelliJ.generateFrom(configuration); 39 Eclipse.generateFrom(configuration);
|