Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java315 String sizeStr = extractSize(buttonSpec); in applySize() local
316 if (sizeStr == null) return v; in applySize()
318 if (sizeStr.contains(WEIGHT_SUFFIX) || sizeStr.contains(ABSOLUTE_SUFFIX)) { in applySize()
327 if (sizeStr.endsWith(WEIGHT_CENTERED_SUFFIX)) { in applySize()
329 } else if (sizeStr.endsWith(ABSOLUTE_VERTICAL_CENTERED_SUFFIX)) { in applySize()
339 if (sizeStr.contains(WEIGHT_SUFFIX)) { in applySize()
342 sizeStr.substring(0, sizeStr.indexOf(WEIGHT_SUFFIX))); in applySize()
346 Float.parseFloat(sizeStr.substring(0, sizeStr.indexOf(ABSOLUTE_SUFFIX)))); in applySize()
357 float size = Float.parseFloat(sizeStr); in applySize()
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/
DPersistLogSection.java138 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/
DGraphicBufferAllocator.cpp91 std::string sizeStr = (rec.size) in dump() local
95 list.keyAt(i), sizeStr.c_str(), rec.width, rec.stride, rec.height, in dump()
/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.java1393 entry.sizeStr = getSizeStr(entry.size);
1400 + ": " + entry.sizeStr);
1580 public String sizeStr; field in ApplicationsState.AppEntry
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java5398 String sizeStr = Settings.Global.getString(mContext.getContentResolver(), in applyForcedPropertiesForDefaultDisplay() local
5400 if (sizeStr == null || sizeStr.length() == 0) { in applyForcedPropertiesForDefaultDisplay()
5401 sizeStr = SystemProperties.get(SIZE_OVERRIDE, null); in applyForcedPropertiesForDefaultDisplay()
5403 if (sizeStr != null && sizeStr.length() > 0) { in applyForcedPropertiesForDefaultDisplay()
5404 final int pos = sizeStr.indexOf(','); in applyForcedPropertiesForDefaultDisplay()
5405 if (pos > 0 && sizeStr.lastIndexOf(',') == pos) { in applyForcedPropertiesForDefaultDisplay()
5408 width = Integer.parseInt(sizeStr.substring(0, pos)); in applyForcedPropertiesForDefaultDisplay()
5409 height = Integer.parseInt(sizeStr.substring(pos + 1)); in applyForcedPropertiesForDefaultDisplay()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2279 String sizeStr = temp[2]; in getPerformancePoints() local
2280 Size size = Utils.parseSize(sizeStr, null); in getPerformancePoints()
2337 String sizeStr = temp[3];
2338 Size size = Utils.parseSize(sizeStr, null);