Home
last modified time | relevance | path

Searched refs:toInt (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/cmds/incident_helper/src/parsers/
DPageTypeInfoParser.cpp48 pageBlockOrder = toInt(line); in Parse()
53 proto.write(PageTypeInfoProto::PAGES_PER_BLOCK, toInt(line)); in Parse()
70 proto.write(PageTypeInfoProto::MigrateType::NODE, toInt(record[0])); in Parse()
85 … proto.write(PageTypeInfoProto::MigrateType::FREE_PAGES_COUNT, toInt(pageCounts[i])); in Parse()
93 proto.write(PageTypeInfoProto::Block::NODE, toInt(record[0])); in Parse()
DEventLogTagsParser.cpp45 proto.write(EventLogTag::TAG_NUMBER, toInt(tagNumber)); in Parse()
57 proto.write(EventLogTag::ValueDescriptor::TYPE, toInt(valueDescriptor[1])); in Parse()
64 unit = toInt(valueDescriptor[2]); in Parse()
DCpuFreqParser.cpp53 int freq = toInt(record[0]); in Parse()
DCpuInfoParser.cpp35 proto->write(ids[j], toInt(record[i])); in writeSuffixLine()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunkHash.java78 int result = toInt(left[i]) - toInt(right[i]); in lexicographicalCompareUnsignedBytes()
86 private static int toInt(byte value) { in toInt() method in ChunkHash
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt140 it.setBounds(0, 0, (32 * dp).toInt(), (32 * dp).toInt()) in checkVictory()
177 val size = (minSide / (q.height + 0.5) * dp).toInt() in loadPuzzle()
219 params.height = (96 * dp).toInt() in loadPuzzle()
230 params.width = (96 * dp).toInt() in loadPuzzle()
DQuare.kt43 data[i] = (round(f) * s).toInt() shl 24 in <lambda>()
55 drawable.setTint(0xFF000000.toInt()) in <lambda>()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt87 var paperColor: Int = 0xFFFFFFFF.toInt()
193 val N = (2 * d / Math.min(4f, r + newR)).toInt() in plot()
283 val localX = (x - left).toInt() in sampleAt()
284 val localY = (y - top).toInt() in sampleAt()
DBrushPropertyDrawable.kt36 _size = (24 * context.resources.displayMetrics.density).toInt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/util/
DBurnInHelper.kt35 if (xAxis) BURN_IN_PREVENTION_PERIOD_X else BURN_IN_PREVENTION_PERIOD_Y).toInt() in getBurnInOffset()
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp224 int toInt(const std::string& s) { in toInt() function
350 proto->write(found, toInt(value)); in insertField()
360 proto->write(found, toInt(value)); in insertField()
366 proto->write(found, toInt(repeats[i])); in insertField()
Dih_util.h101 int toInt(const std::string& s);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript38 foreach(toInt, poly , border_coords);
94 int2 __attribute__((kernel)) toInt(float2 in) {
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript67 uint2 __attribute__((kernel)) toInt(float2 in) {
158 rsForEach(toInt, pointsXY, mBorderCoords);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaArtworkProcessor.kt37 private const val COLOR_ALPHA = (255 * 0.7f).toInt()
DPulseExpansionHandler.kt238 val newHeight = Math.min((child.collapsedHeight + expansionHeight).toInt(), in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt156 intrinsicHeight = (Companion.HEIGHT * density).toInt() in <lambda>()
157 intrinsicWidth = (Companion.WIDTH * density).toInt() in <lambda>()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DConcurrentInterpreter.kt187 fun MatchResult.intArg(index: Int) = strArg(index).toInt()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java656 mMhlController.setOption(OPTION_MHL_POWER_CHARGE, toInt(enabled)); in onChange()
666 private static int toInt(boolean enabled) { in toInt() method in HdmiControlService
673 return Global.getInt(cr, key, toInt(defVal)) == ENABLED; in readBooleanSetting()
678 Global.putInt(cr, key, toInt(value)); in writeBooleanSetting()
3036 mMhlController.setOption(OPTION_MHL_INPUT_SWITCHING, toInt(enabled)); in setMhlInputChangeEnabled()