/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 43 jfieldID screenWidthDp; member in struct:android::__anon829 69 out->screenWidthDp = env->GetIntField(clazz, gConfigurationClassInfo.screenWidthDp); 92 gConfigurationClassInfo.screenWidthDp = GetFieldIDOrDie(env, clazz, "screenWidthDp", "I");
|
H A D | android_util_AssetManager.cpp | 353 configuration.screenWidthDp = static_cast<uint16_t>(screen_width_dp); 1003 env->SetIntField(result, gConfigurationOffsets.mScreenWidthDpOffset, config.screenWidthDp); 1440 GetFieldIDOrDie(env, configurationClass, "screenWidthDp", "I");
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 49 final int width = config.screenWidthDp; 82 final int width = configuration.screenWidthDp;
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 698 * Default value for {@link #screenWidthDp} indicating that no width 710 public int screenWidthDp; field in class:Configuration 738 * This is the smallest value of both screenWidthDp and screenHeightDp 914 screenWidthDp = o.screenWidthDp; 963 if (screenWidthDp != SCREEN_WIDTH_DP_UNDEFINED) { 964 sb.append(" w"); sb.append(screenWidthDp); sb.append("dp"); 1107 protoOutputStream.write(SCREEN_WIDTH_DP, screenWidthDp); 1191 screenWidthDp = compatScreenWidthDp = SCREEN_WIDTH_DP_UNDEFINED; 1354 if (delta.screenWidthDp ! [all...] |
H A D | AssetManager.java | 1233 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, 1239 smallestScreenWidthDp, screenWidthDp, screenHeightDp, screenLayout, uiMode, 1288 int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, 1231 setConfiguration(int mcc, int mnc, @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument 1285 nativeSetConfiguration(long ptr, int mcc, int mnc, @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument
|
H A D | CompatibilityInfo.java | 473 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp;
|
H A D | ResourcesImpl.java | 444 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
H A D | TestUtils.java | 46 overrideConfig.screenWidthDp = 40;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 365 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue(); 367 if (config.screenHeightDp < config.screenWidthDp) { 371 config.smallestScreenWidthDp = config.screenWidthDp; 376 config.compatScreenWidthDp = config.screenWidthDp;
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
H A D | ActionBarPolicy.java | 57 final int widthDp = configuration.screenWidthDp;
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 124 return config->screenWidthDp; 221 config->screenWidthDp = value;
|
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 578 out->screenWidthDp = out->SCREENWIDTH_ANY; 591 out->screenWidthDp = (uint16_t)atoi(xName.c_str()); 852 config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY || 924 if (screenWidthDp || o.screenWidthDp) return (!o.screenWidthDp);
|
/frameworks/base/core/java/android/app/ |
H A D | ResourcesManager.java | 216 config.screenWidthDp = (int) (dm.widthPixels / dm.density); 222 config.screenWidthDp, config.screenHeightDp); 226 config.screenHeightDp, config.screenWidthDp); 228 config.smallestScreenWidthDp = config.screenWidthDp; // assume screen does not rotate 229 config.compatScreenWidthDp = config.screenWidthDp;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StackWindowController.java | 304 // For calculating screenWidthDp, screenWidthDp, we use the stable inset screen 316 parentConfig.screenWidthDp); 326 config.screenWidthDp = width;
|
H A D | DockedStackDividerController.java | 297 config.screenWidthDp = (int) (mService.mPolicy.getConfigDisplayWidth(dw, dh,
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 101 final int width = configuration.screenWidthDp;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | AttributeResolution_bench.cpp | 107 device_config.screenWidthDp = 700;
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | ActionMenuItemView.java | 104 final int widthDp = config.screenWidthDp;
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1908 screenWidthDp = dtohs(screenWidthDp); 1922 screenWidthDp = htods(screenWidthDp); 2022 if (screenWidthDp != o.screenWidthDp) { 2023 return screenWidthDp < o.screenWidthDp ? -1 : 1; 2166 if (screenWidthDp != o.screenWidthDp) { [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | ConfigurationContainerTests.java | 156 childOverrideConfig2.screenWidthDp = 150;
|
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 278 || config->screenWidthDp != ResTable_config::SCREENWIDTH_ANY 817 out->screenWidthDp = out->SCREENWIDTH_ANY; 830 out->screenWidthDp = (uint16_t)atoi(xName.string());
|
/frameworks/base/cmds/statsd/src/ |
H A D | atoms.proto | 883 // See: https://d.android.com/reference/android/content/res/Configuration.html#screenWidthDp 884 optional int32 screenWidthDp = 14; 887 // This is the smallest value of both screenWidthDp and screenHeightDp
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 1138 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon984::__anon985
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 75 out_pb_config->set_screen_width_dp(config.screenWidthDp);
|
/frameworks/base/core/java/android/widget/ |
H A D | SearchView.java | 2009 final int width = configuration.screenWidthDp;
|