Searched refs:screenWidthDp (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp43 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 Dandroid_util_AssetManager.cpp353 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 DActionBarPolicy.java49 final int width = config.screenWidthDp;
82 final int width = configuration.screenWidthDp;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java698 * 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 DAssetManager.java1233 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 DCompatibilityInfo.java473 inoutConfig.screenWidthDp = inoutConfig.compatScreenWidthDp;
H A DResourcesImpl.java444 mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
H A DTestUtils.java46 overrideConfig.screenWidthDp = 40;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java365 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 DActionBarPolicy.java57 final int widthDp = configuration.screenWidthDp;
/frameworks/base/native/android/
H A Dconfiguration.cpp124 return config->screenWidthDp;
221 config->screenWidthDp = value;
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp578 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 DResourcesManager.java216 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 DStackWindowController.java304 // For calculating screenWidthDp, screenWidthDp, we use the stable inset screen
316 parentConfig.screenWidthDp);
326 config.screenWidthDp = width;
H A DDockedStackDividerController.java297 config.screenWidthDp = (int) (mService.mPolicy.getConfigDisplayWidth(dw, dh,
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java101 final int width = configuration.screenWidthDp;
/frameworks/base/libs/androidfw/tests/
H A DAttributeResolution_bench.cpp107 device_config.screenWidthDp = 700;
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DActionMenuItemView.java104 final int widthDp = config.screenWidthDp;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1908 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 DConfigurationContainerTests.java156 childOverrideConfig2.screenWidthDp = 150;
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp278 || 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 Datoms.proto883 // 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 DResourceTypes.h1138 uint16_t screenWidthDp; member in struct:android::ResTable_config::__anon984::__anon985
/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize.cpp75 out_pb_config->set_screen_width_dp(config.screenWidthDp);
/frameworks/base/core/java/android/widget/
H A DSearchView.java2009 final int width = configuration.screenWidthDp;

Completed in 472 milliseconds

12