Searched refs:toInt (Results 1 – 20 of 20) sorted by relevance
27 val p = Paint().apply { color = 0xffffffff.toInt() } in xfermode()40 val p = Paint().apply { color = 0xffffffff.toInt() } in colorFilter()43 p.color = 0xff000000.toInt() in colorFilter()44 p.colorFilter = PorterDuff.Mode.SRC.toColorFilter(0xff00ff00.toInt()) in colorFilter()48 assertEquals(0xff00ff00.toInt(), p) in colorFilter()
57 @Test fun luminance() = assertEquals(0.212f, 0xff7f7f7f.toInt().luminance, 1e-3f) in intToColor()90 assertEquals(0.212f, Color.pack(0xff7f7f7f.toInt()).luminance, 1e-3f) in alphaLong()
32 assertEquals(0xffff0000.toInt(), v) in record()
48 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()90 … proto.write(PageTypeInfoProto::MigrateType::FREE_PAGES_COUNT, toInt(pageCounts[i])); in Parse()98 proto.write(PageTypeInfoProto::Block::NODE, toInt(record[0])); in Parse()
45 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()
53 int freq = toInt(record[0]); in Parse()
35 proto->write(ids[j], toInt(record[i])); in writeSuffixLine()
164 inline fun PointF.toPoint() = Point(x.toInt(), y.toInt())
39 val edge = (108.0f * density + 0.5f).toInt() in fromBitmapAdaptive()46 val masked = (72.0f * density + 0.5f).toInt() in fromBitmapAdaptive()
32 fun toInt(langs: Set<Lang>): Int { in <lambda>() method
38 onConflictValue.toString().toInt() in extractFrom()
99 .getAsInt(1)!!.toInt() in <lambda>()
224 int toInt(const std::string& s) { in toInt() function350 proto->write(found, toInt(value)); in insertField()360 proto->write(found, toInt(value)); in insertField()366 proto->write(found, toInt(repeats[i])); in insertField()
101 int toInt(const std::string& s);
67 uint2 __attribute__((kernel)) toInt(float2 in) {158 rsForEach(toInt, pointsXY, mBorderCoords);
94 int2 __attribute__((kernel)) toInt(float2 in) {
45 val hexString = Integer.toHexString(byte.toInt() and 0xFF) in <lambda>()
538 mMhlController.setOption(OPTION_MHL_POWER_CHARGE, toInt(enabled)); in onChange()544 private static int toInt(boolean enabled) { in toInt() method in HdmiControlService550 return Global.getInt(cr, key, toInt(defVal)) == ENABLED; in readBooleanSetting()555 Global.putInt(cr, key, toInt(value)); in writeBooleanSetting()2381 mMhlController.setOption(OPTION_MHL_INPUT_SWITCHING, toInt(enabled)); in setMhlInputChangeEnabled()
479 (Math.random() * 200).toInt().toString() + " fake st.") in <lambda>()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...