/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarInflaterView.java | 261 String sizeStr = extractSize(buttonSpec); in applySize() local 262 if (sizeStr == null) return v; in applySize() 264 if (sizeStr.contains(WEIGHT_SUFFIX) || sizeStr.contains(ABSOLUTE_SUFFIX)) { in applySize() 273 if (sizeStr.endsWith(WEIGHT_CENTERED_SUFFIX)) { in applySize() 275 } else if (sizeStr.endsWith(ABSOLUTE_VERTICAL_CENTERED_SUFFIX)) { in applySize() 285 if (sizeStr.contains(WEIGHT_SUFFIX)) { in applySize() 288 sizeStr.substring(0, sizeStr.indexOf(WEIGHT_SUFFIX))); in applySize() 292 Float.parseFloat(sizeStr.substring(0, sizeStr.indexOf(ABSOLUTE_SUFFIX)))); in applySize() 303 float size = Float.parseFloat(sizeStr); in applySize()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetXmlUtilTest.kt | 34 private val sizeStr = "1.0x2.1,-9.91x6291.134,0.0x0.0" constant in com.android.server.appwidget.AppWidgetXmlUtilTest 47 assertThat(serializedSizeStr).isEqualTo(sizeStr) in serializeWidgetSizes() 52 val deserializedSizes = deserializeWidgetSizesStr(sizeStr) in deserializeWidgetSizesStr()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarInflaterView.java | 333 String sizeStr = extractSize(buttonSpec); in applySize() local 334 if (sizeStr == null) return v; in applySize() 336 if (sizeStr.contains(WEIGHT_SUFFIX) || sizeStr.contains(ABSOLUTE_SUFFIX)) { in applySize() 345 if (sizeStr.endsWith(WEIGHT_CENTERED_SUFFIX)) { in applySize() 347 } else if (sizeStr.endsWith(ABSOLUTE_VERTICAL_CENTERED_SUFFIX)) { in applySize() 357 if (sizeStr.contains(WEIGHT_SUFFIX)) { in applySize() 360 sizeStr.substring(0, sizeStr.indexOf(WEIGHT_SUFFIX))); in applySize() 364 Float.parseFloat(sizeStr.substring(0, sizeStr.indexOf(ABSOLUTE_SUFFIX)))); in applySize() 375 float size = Float.parseFloat(sizeStr); in applySize()
|
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/ |
D | PersistLogSection.java | 138 String sizeStr = iter.next().toLowerCase(); in parseArgs() local 139 if (sizeStr.endsWith("mb")) { in parseArgs() 140 mMaxBytes = Long.parseLong(sizeStr.replace("mb", "")) * 1024 * 1024; in parseArgs() 141 } else if (sizeStr.endsWith("kb")) { in parseArgs() 142 mMaxBytes = Long.parseLong(sizeStr.replace("kb", "")) * 1024; in parseArgs() 144 mMaxBytes = Long.parseLong(sizeStr); in parseArgs()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 96 std::string sizeStr = (rec.size) in dump() local 100 list.keyAt(i), sizeStr.c_str(), rec.width, rec.stride, rec.height, in dump()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 642 char sizeStr[32]; // big enough for a 64-bit unsigned value in decimal in write_tarfile() local 650 snprintf(sizeStr, sizeof(sizeStr), "%lld", (long long)s.st_size); in write_tarfile() 651 paxLen += write_pax_header_entry(paxData, PAXDATA_SIZE, "size", sizeStr); in write_tarfile()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 1481 entry.sizeStr = getSizeStr(entry.size); 1488 + ": " + entry.sizeStr); 1684 public String sizeStr; field in ApplicationsState.AppEntry
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 2682 String sizeStr = temp[2]; in getPerformancePoints() local 2683 Size size = Utils.parseSize(sizeStr, null); in getPerformancePoints() 2734 String sizeStr = temp[3]; 2735 Size size = Utils.parseSize(sizeStr, null);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 6076 String sizeStr = Settings.Global.getString(mContext.getContentResolver(), in applyForcedPropertiesForDefaultDisplay() local 6078 if (sizeStr == null || sizeStr.length() == 0) { in applyForcedPropertiesForDefaultDisplay() 6079 sizeStr = SystemProperties.get(SIZE_OVERRIDE, null); in applyForcedPropertiesForDefaultDisplay() 6081 if (sizeStr != null && sizeStr.length() > 0) { in applyForcedPropertiesForDefaultDisplay() 6082 final int pos = sizeStr.indexOf(','); in applyForcedPropertiesForDefaultDisplay() 6083 if (pos > 0 && sizeStr.lastIndexOf(',') == pos) { in applyForcedPropertiesForDefaultDisplay() 6086 Integer.parseInt(sizeStr.substring(0, pos)), in applyForcedPropertiesForDefaultDisplay() 6087 Integer.parseInt(sizeStr.substring(pos + 1))); in applyForcedPropertiesForDefaultDisplay()
|