Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A 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()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
H A DApplicationListItemManagerTest.java95 appEntry.sizeStr = SIZE_STR; in onRebuildComplete_shouldNotifyRegisteredListener()
117 appEntry.sizeStr = SIZE_STR; in onRebuildComplete_unRegisterOneListener_shouldNotifyRegisteredListener()
141 appEntry.sizeStr = SIZE_STR; in onRebuildComplete_calledAgainImmediately_shouldNotRunSecondCallImmediately()
163 appEntry.sizeStr = SIZE_STR; in onRebuildComplete_calledAgainImmediately_shouldRunSecondCallAfterUpdateInterval()
/aosp12/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/
H A 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()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
H A DStoragePreferenceControllerTest.java122 mMockAppEntry.sizeStr = SIZE_STR; in onCreate_validApp_sizeSummary()
145 mMockAppEntry.sizeStr = SIZE_STR; in onCreate_lateAppLoad_updateSummary()
163 mMockAppEntry.sizeStr = SIZE_STR; in onCreate_packageSizeChange_updateSummary()
181 mMockAppEntry.sizeStr = SIZE_STR; in onCreate_otherPackageSizeChange_doesNotUpdateSummary()
H A DApplicationsSettingsPreferenceControllerTest.java102 appEntry.sizeStr = SIZE_STR; in onDataLoaded_addPreference_hasOnePreference()
124 appEntry.sizeStr = SIZE_STR; in preferenceClick_launchesDetailFragment()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
H A DStorageApplicationListPreferenceControllerTest.java101 appEntry.sizeStr = SIZE_STR; in onDataLoaded_addPreference_hasOnePreference()
123 appEntry.sizeStr = SIZE_STR; in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
133 appEntry.sizeStr = UPDATED_SIZE_STR; in onDataLoaded_updatePreference_hasOnePreferenceWithUpdatedValues()
H A DStorageMediaCategoryDetailPreferenceControllerTest.java101 appEntry.sizeStr = SIZE_STR; in onDataLoaded_addPreference_hasTwoPreferences()
H A DStorageApplicationActionButtonsPreferenceControllerTest.java109 appEntry.sizeStr = SIZE_STR; in setUp()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
H A DAppStoragePreference.java56 final String size = mEntry.sizeStr; in refresh()
61 mEntry.sizeStr, volumeDesc)); in refresh()
H A DAllAppsFragment.java291 preference.setSummary(entry.sizeStr); in bindPreference()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
H A DApplicationViewHolder.java139 + entry.label + " " + entry + ": " + entry.sizeStr); in updateSizeText()
141 if (entry.sizeStr != null) { in updateSizeText()
150 setSummary(entry.sizeStr); in updateSizeText()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningProcessesView.java378 String sizeStr = bidiFormatter.unicodeWrap( in refreshUi() local
381 R.string.running_processes_header_ram, sizeStr)); in refreshUi()
382 sizeStr = bidiFormatter.unicodeWrap( in refreshUi()
385 R.string.running_processes_header_ram, sizeStr)); in refreshUi()
386 sizeStr = bidiFormatter.unicodeWrap( in refreshUi()
389 R.string.running_processes_header_ram, sizeStr)); in refreshUi()
H A DRunningState.java560 String sizeStr = Formatter.formatShortFileSize( in updateSize() local
562 if (!sizeStr.equals(mSizeStr)) { in updateSize()
563 mSizeStr = sizeStr; in updateSize()
703 String sizeStr = Formatter.formatShortFileSize( in updateSize() local
705 if (!sizeStr.equals(mSizeStr)) { in updateSize()
706 mSizeStr = sizeStr; in updateSize()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/applications/
H A DStoragePreferenceController.java142 } else if (mAppEntry.sizeStr == null) { in updateState()
147 getContext().getString(R.string.storage_type_internal, mAppEntry.sizeStr)); in updateState()
H A DApplicationsSettingsPreferenceController.java53 createPreference(appEntry.label, appEntry.sizeStr, appEntry.icon, in onDataLoaded()
H A DApplicationListItemManager.java222 return app.label != null && app.sizeStr != null && app.icon != null; in isLoaded()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
H A DApplicationViewHolderTest.java96 entry.sizeStr = entry.internalSizeStr; in updateSize()
104 entry.sizeStr = null; in updateSize()
/aosp12/frameworks/native/libs/ui/
H A 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()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/storage/
H A DStorageApplicationListPreferenceController.java56 createPreference(appEntry.label, appEntry.sizeStr, appEntry.icon, in onDataLoaded()
/aosp12/packages/apps/Camera2/src/com/android/camera/settings/
H A DResolutionUtil.java468 String sizeStr = size.getWidth() + "x" + size.getHeight(); in isDisallowedListed() local
469 return disallowedlistedSizes.contains(sizeStr); in isDisallowedListed()
/aosp12/frameworks/base/libs/androidfw/
H A 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()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DBackupAppsStepFragment.java183 .description(entry.sizeStr) in getAppActions()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java1393 entry.sizeStr = getSizeStr(entry.size);
1400 + ": " + entry.sizeStr);
1580 public String sizeStr; field in ApplicationsState.AppEntry
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java5563 String sizeStr = Settings.Global.getString(mContext.getContentResolver(), in applyForcedPropertiesForDefaultDisplay() local
5565 if (sizeStr == null || sizeStr.length() == 0) { in applyForcedPropertiesForDefaultDisplay()
5566 sizeStr = SystemProperties.get(SIZE_OVERRIDE, null); in applyForcedPropertiesForDefaultDisplay()
5568 if (sizeStr != null && sizeStr.length() > 0) { in applyForcedPropertiesForDefaultDisplay()
5569 final int pos = sizeStr.indexOf(','); in applyForcedPropertiesForDefaultDisplay()
5570 if (pos > 0 && sizeStr.lastIndexOf(',') == pos) { in applyForcedPropertiesForDefaultDisplay()
5573 width = Integer.parseInt(sizeStr.substring(0, pos)); in applyForcedPropertiesForDefaultDisplay()
5574 height = Integer.parseInt(sizeStr.substring(pos + 1)); in applyForcedPropertiesForDefaultDisplay()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java2279 String sizeStr = temp[2]; in getPerformancePoints() local
2280 Size size = Utils.parseSize(sizeStr, null); in getPerformancePoints()
2337 String sizeStr = temp[3]; in getMeasuredFrameRates() local
2338 Size size = Utils.parseSize(sizeStr, null); in getMeasuredFrameRates()