Home
last modified time | relevance | path

Searched refs:sizeStr (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java323 String sizeStr = extractSize(buttonSpec); in applySize() local
324 if (sizeStr == null) return v; in applySize()
326 if (sizeStr.contains(WEIGHT_SUFFIX) || sizeStr.contains(ABSOLUTE_SUFFIX)) { in applySize()
335 if (sizeStr.endsWith(WEIGHT_CENTERED_SUFFIX)) { in applySize()
337 } else if (sizeStr.endsWith(ABSOLUTE_VERTICAL_CENTERED_SUFFIX)) { in applySize()
347 if (sizeStr.contains(WEIGHT_SUFFIX)) { in applySize()
350 sizeStr.substring(0, sizeStr.indexOf(WEIGHT_SUFFIX))); in applySize()
354 Float.parseFloat(sizeStr.substring(0, sizeStr.indexOf(ABSOLUTE_SUFFIX)))); in applySize()
365 float size = Float.parseFloat(sizeStr); in applySize()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp637 char sizeStr[32]; // big enough for a 64-bit unsigned value in decimal in write_tarfile() local
645 snprintf(sizeStr, sizeof(sizeStr), "%lld", (long long)s.st_size); in write_tarfile()
646 paxLen += write_pax_header_entry(paxData, PAXDATA_SIZE, "size", sizeStr); in write_tarfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1374 entry.sizeStr = getSizeStr(entry.size);
1381 + ": " + entry.sizeStr);
1553 public String sizeStr; field in ApplicationsState.AppEntry
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java5062 String sizeStr = Settings.Global.getString(mContext.getContentResolver(), in applyForcedPropertiesForDefaultDisplay() local
5064 if (sizeStr == null || sizeStr.length() == 0) { in applyForcedPropertiesForDefaultDisplay()
5065 sizeStr = SystemProperties.get(SIZE_OVERRIDE, null); in applyForcedPropertiesForDefaultDisplay()
5067 if (sizeStr != null && sizeStr.length() > 0) { in applyForcedPropertiesForDefaultDisplay()
5068 final int pos = sizeStr.indexOf(','); in applyForcedPropertiesForDefaultDisplay()
5069 if (pos > 0 && sizeStr.lastIndexOf(',') == pos) { in applyForcedPropertiesForDefaultDisplay()
5072 width = Integer.parseInt(sizeStr.substring(0, pos)); in applyForcedPropertiesForDefaultDisplay()
5073 height = Integer.parseInt(sizeStr.substring(pos+1)); in applyForcedPropertiesForDefaultDisplay()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2122 String sizeStr = temp[2]; in getPerformancePoints() local
2123 Size size = Utils.parseSize(sizeStr, null); in getPerformancePoints()
2173 String sizeStr = temp[3];
2174 Size size = Utils.parseSize(sizeStr, null);