/aosp14/frameworks/base/api/ |
H A D | api.go | 144 props := genruleProps{} 190 props := fgProps{} 198 props := libraryProps{} 210 props := libraryProps{} 220 props := libraryProps{} 231 props := libraryProps{} 248 props := libraryProps{} 259 props := libraryProps{} 262 props.Static_libs = append(props.Static_libs, "updatable-framework-module-impl") 272 props := libraryProps{} [all …]
|
/aosp14/frameworks/base/libs/hwui/tests/unit/ |
H A D | RenderPropertiesTests.cpp | 29 RenderProperties props; in TEST() local 32 props.setLeftTopRightBottom(0, 0, 100, 100); in TEST() 33 ASSERT_TRUE(props.fitsOnLayer()); in TEST() 34 props.setLeftTopRightBottom(100, 2000, 300, 4000); in TEST() 35 ASSERT_TRUE(props.fitsOnLayer()); in TEST() 36 props.setLeftTopRightBottom(-10, -10, 510, 512); in TEST() 37 ASSERT_TRUE(props.fitsOnLayer()); in TEST() 40 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1); in TEST() 41 ASSERT_FALSE(props.fitsOnLayer()); in TEST() 44 props.setLeftTopRightBottom(0, 0, 100, 0); in TEST() [all …]
|
H A D | RenderNodeDrawableTests.cpp | 75 props.setTranslationZ(z); in drawOrderedNode() 88 setup(props, canvas); in drawOrderedNode() 668 props.setClipToBounds(false); in RENDERTHREAD_TEST() 691 props.setClipToBounds(false); in RENDERTHREAD_TEST() 717 props.setClipToBounds(false); in RENDERTHREAD_TEST() 739 props.setClipToBounds(false); in RENDERTHREAD_TEST() 762 props.setClipToBounds(false); in RENDERTHREAD_TEST() 785 props.setProjectBackwards(true); in RENDERTHREAD_TEST() 786 props.setClipToBounds(false); in RENDERTHREAD_TEST() 811 props.setClipToBounds(false); in RENDERTHREAD_TEST() [all …]
|
H A D | RenderNodeTests.cpp | 42 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() argument 46 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument 69 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() argument 73 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument 131 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() argument 135 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument 139 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument 237 auto node = TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in TEST() argument 284 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() argument 308 TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() argument
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 163 applyMatrix(stretch.makeLinearStretch(props.getWidth(), props.getHeight()), &temp); in mapRect() 166 applyMatrix(props.getTransformMatrix(), &temp); in mapRect() 167 if (props.getStaticMatrix()) { in mapRect() 168 applyMatrix(props.getStaticMatrix(), &temp); in mapRect() 169 } else if (props.getAnimationMatrix()) { in mapRect() 170 applyMatrix(props.getAnimationMatrix(), &temp); in mapRect() 172 temp.offset(props.getLeft(), props.getTop()); in mapRect() 215 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform() local 216 if (props.getAlpha() <= 0) { in applyRenderNodeTransform() 222 if (!frame->pendingDirty.intersect(SkRect::MakeIWH(props.getWidth(), props.getHeight()))) { in applyRenderNodeTransform() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/ |
H A D | DeviceConfigProxyFake.java | 99 Properties props = propsForNamespaceAndName(namespace, name); in getBoolean() local 100 if (props != null) { in getBoolean() 101 return props.getBoolean(name, defaultValue); in getBoolean() 109 Properties props = propsForNamespaceAndName(namespace, name); in getInt() local 110 if (props != null) { in getInt() 111 return props.getInt(name, defaultValue); in getInt() 119 Properties props = propsForNamespaceAndName(namespace, name); in getLong() local 120 if (props != null) { in getLong() 121 return props.getLong(name, defaultValue); in getLong() 135 if (props != null) { in getString() [all …]
|
/aosp14/system/core/healthd/ |
H A D | BatteryMonitor_v1.cpp | 418 if (props.batteryPresent) { in doLogValues() 420 props.batteryLevel, props.batteryVoltageMillivolts, in doLogValues() 423 abs(props.batteryTemperatureTenthsCelsius % 10), props.batteryHealth, in doLogValues() 446 props.chargerAcOnline ? "a" : "", props.chargerUsbOnline ? "u" : "", in doLogValues() 447 props.chargerWirelessOnline ? "w" : "", props.chargerDockOnline ? "d" : ""); in doLogValues() 465 return props.chargerAcOnline | props.chargerUsbOnline | props.chargerWirelessOnline | in isChargerOnline() 466 props.chargerDockOnline; in isChargerOnline() 553 props.chargerAcOnline, props.chargerUsbOnline, props.chargerWirelessOnline, in dumpState() 554 props.chargerDockOnline, props.maxChargingCurrentMicroamps, in dumpState() 558 props.batteryStatus, props.batteryHealth, props.batteryPresent); in dumpState() [all …]
|
H A D | BatteryMonitor.cpp | 504 if (props.batteryPresent) { in doLogValues() 506 props.batteryLevel, props.batteryVoltageMillivolts, in doLogValues() 509 abs(props.batteryTemperatureTenthsCelsius % 10), props.batteryHealth, in doLogValues() 532 props.chargerAcOnline ? "a" : "", props.chargerUsbOnline ? "u" : "", in doLogValues() 533 props.chargerWirelessOnline ? "w" : "", props.chargerDockOnline ? "d" : ""); in doLogValues() 551 return props.chargerAcOnline | props.chargerUsbOnline | props.chargerWirelessOnline | in isChargerOnline() 552 props.chargerDockOnline; in isChargerOnline() 700 props.chargerAcOnline, props.chargerUsbOnline, props.chargerWirelessOnline, in dumpState() 701 props.chargerDockOnline, props.maxChargingCurrentMicroamps, in dumpState() 705 props.batteryStatus, props.batteryHealth, props.batteryPresent); in dumpState() [all …]
|
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | MagnifierAnimation.cpp | 78 0, 0, width, height, [&](RenderProperties& props, Canvas& canvas) { in createContent() argument 88 100, 100, 500, 300, [&](RenderProperties& props, Canvas& canvas) { in createContent() argument 89 props.setElevation(dp(16)); in createContent() 90 props.mutableOutline().setRoundRect(0, 0, props.getWidth(), props.getHeight(), in createContent() 92 props.mutableOutline().setShouldClip(true); in createContent() 94 (float)magnifier->height(), 0, 0, (float)props.getWidth(), in createContent() 95 (float)props.getHeight(), nullptr); in createContent()
|
H A D | TvApp.cpp | 103 [this, width, height, color](RenderProperties& props, Canvas& canvas) { in createBitmapNode() argument 114 [bitmap](RenderProperties& props, Canvas& canvas) { in createSharedBitmapNode() argument 122 [text, text2](RenderProperties& props, Canvas& canvas) { in createInfoNode() argument 140 [color](RenderProperties& props, Canvas& canvas) { in createColorNode() argument 154 RenderProperties& props, in createCard() 157 props.setElevation(dp(16)); in createCard() 158 props.setScaleX(1.2); in createCard() 159 props.setScaleY(1.2); in createCard() 161 props.mutableOutline().setRoundRect(0, 0, width, height, roundedCornerRadius(), 1); in createCard() 162 props.mutableOutline().setShouldClip(true); in createCard()
|
H A D | RoundRectClippingAnimation.cpp | 42 x, y, x + mSize, y + mSize, [&](RenderProperties& props, Canvas& canvas) { in createContent() argument 44 props.mutableOutline().setRoundRect(0, 0, props.getWidth(), in createContent() 45 props.getHeight(), mSize * .25, 1); in createContent() 46 props.mutableOutline().setShouldClip(true); in createContent()
|
H A D | ShadowShaderAnimation.cpp | 58 [width, height](RenderProperties& props, Canvas& canvas) { in createCard() argument 59 props.setElevation(1000); in createCard() 66 props.mutableOutline().setRoundRect(0, 0, width, height, 0, in createCard() 68 props.mutableOutline().setShouldClip(false); in createCard()
|
H A D | ShadowGrid2Animation.cpp | 58 [width, height](RenderProperties& props, Canvas& canvas) { in createCard() argument 59 props.setElevation(dp(16)); in createCard() 60 props.mutableOutline().setRoundRect(0, 0, width, height, in createCard() 62 props.mutableOutline().setShouldClip(true); in createCard()
|
H A D | ShadowGridAnimation.cpp | 58 [width, height](RenderProperties& props, Canvas& canvas) { in createCard() argument 59 props.setElevation(dp(16)); in createCard() 60 props.mutableOutline().setRoundRect(0, 0, width, height, in createCard() 62 props.mutableOutline().setShouldClip(true); in createCard()
|
H A D | StretchyListViewAnimation.cpp | 131 void createListItem(RenderProperties& props, Canvas& canvas, int cardId, int itemWidth, in createListItem() argument 179 [this, id](RenderProperties& props, Canvas& canvas) { in createContent() argument 180 createListItem(props, canvas, id, mItemWidth, in createContent() 186 [this](RenderProperties& props, Canvas& canvas) { in createContent() argument 204 auto& props = mListView->mutateStagingProperties(); in doFrame() local 205 auto& stretch = props.mutateLayerProperties().mutableStretchEffect(); in doFrame() 211 static_cast<float>(props.getWidth()), in doFrame() 212 static_cast<float>(props.getHeight())}); in doFrame()
|
/aosp14/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 179 RenderProperties& props = node->mutateStagingProperties(); in createNode() local 180 props.setLeftTopRightBottom(left, top, right, bottom); in createNode() 183 Canvas::create_recording_canvas(props.getWidth(), props.getHeight())); in createNode() 184 setup(props, *canvas.get()); in createNode() 196 RenderProperties& props = node->mutateStagingProperties(); in createNode() local 197 props.setLeftTopRightBottom(left, top, right, bottom); in createNode() 199 RecordingCanvasType canvas(props.getWidth(), props.getHeight()); in createNode() 200 setup(props, canvas); in createNode() 224 RenderProperties& props = node->mutateStagingProperties(); variable 225 props.setLeftTopRightBottom(left, top, right, bottom); [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/ |
H A D | FaceServiceRegistry.java | 55 @NonNull FaceSensorPropertiesInternal props) { in registerService() argument 57 Utils.propertyStrengthToAuthenticatorStrength(props.sensorStrength); in registerService() 59 service.registerAuthenticator(props.sensorId, TYPE_FACE, strength, in registerService() 60 new FaceAuthenticator(mService, props.sensorId)); in registerService() 62 Slog.e(TAG, "Remote exception when registering sensorId: " + props.sensorId); in registerService()
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/ |
H A D | FingerprintServiceRegistry.java | 55 @NonNull FingerprintSensorPropertiesInternal props) { in registerService() argument 57 Utils.propertyStrengthToAuthenticatorStrength(props.sensorStrength); in registerService() 59 service.registerAuthenticator(props.sensorId, TYPE_FINGERPRINT, strength, in registerService() 60 new FingerprintAuthenticator(mService, props.sensorId)); in registerService() 62 Slog.e(TAG, "Remote exception when registering sensorId: " + props.sensorId); in registerService()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | PasswordSlotManager.java | 151 final Properties props = new Properties(); in loadSlotMap() local 152 props.load(stream); in loadSlotMap() 153 for (String slotString : props.stringPropertyNames()) { in loadSlotMap() 155 final String owner = props.getProperty(slotString); in loadSlotMap() 189 final Properties props = new Properties(); in saveSlotMap() local 191 props.setProperty(entry.getKey().toString(), entry.getValue()); in saveSlotMap() 193 props.store(stream, ""); in saveSlotMap()
|
/aosp14/frameworks/base/tools/aapt2/tools/ |
H A D | extract_unicode_properties.py | 38 def extract_unicode_properties(f, props, chars_out): argument 46 if prop_type_str in props: 49 prop_type = props[prop_type_str] 91 props = {"XID_Start": 1, "XID_Continue": 2} variable 95 extract_unicode_properties(f, props, char_props)
|
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
H A D | GestureHelper.java | 193 private boolean nonPrimaryPointerDown(@NonNull PointerProperties[] props, in nonPrimaryPointerDown() argument 196 if (props.length != coords.length || coords.length < 2) { in nonPrimaryPointerDown() 203 + (index << MotionEvent.ACTION_POINTER_INDEX_SHIFT), coords.length, props, coords); in nonPrimaryPointerDown() 208 private boolean movePointers(@NonNull PointerProperties[] props, in movePointers() argument 211 if (props.length != coords.length || coords.length != endPoints.length) { in movePointers() 243 coords.length, props, coords); in movePointers() 265 private boolean nonPrimaryPointerUp(@NonNull PointerProperties[] props, in nonPrimaryPointerUp() argument 268 if (props.length != coords.length || coords.length < 2) { in nonPrimaryPointerUp() 275 + (index << MotionEvent.ACTION_POINTER_INDEX_SHIFT), coords.length, props, coords); in nonPrimaryPointerUp()
|
/aosp14/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | ViewDumpParser.java | 56 Map<Short, Object> props = mViews.get(0); in getFirstView() local 57 Object name = getProperty(props, "__name__"); in getFirstView() 58 Object hash = getProperty(props, "__hash__"); in getFirstView() 67 private Object getProperty(Map<Short, Object> props, String key) { in getProperty() argument 68 return props.get(mIds.get(key)); in getProperty()
|
/aosp14/system/core/healthd/include/healthd/ |
H A D | healthd.h | 84 bool (*screen_on)(android::BatteryProperties *props); 101 void (*battery_update)(struct android::BatteryProperties *props); 112 struct android::BatteryProperties *props); 137 int healthd_board_battery_update(struct android::BatteryProperties *props);
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
H A D | FingerprintPropertyRepository.kt | 74 private val props: StateFlow<FingerprintSensorPropertiesInternal> = 105 override val sensorId: Flow<Int> = props.map { it.sensorId } 107 override val strength: Flow<SensorStrength> = props.map { it.sensorStrength.toSensorStrength() } 110 props.map { it.sensorType.toSensorType() } 113 props.map {
|
/aosp14/frameworks/base/services/core/java/com/android/server/health/ |
H A D | HealthHalCallbackHidl.java | 60 public void healthInfoChanged(android.hardware.health.V2_0.HealthInfo props) { in healthInfoChanged() argument 63 propsLatest.legacy = props; in healthInfoChanged() 73 public void healthInfoChanged_2_1(android.hardware.health.V2_1.HealthInfo props) { in healthInfoChanged_2_1() argument 74 mCallback.update(h2aTranslate(props)); in healthInfoChanged_2_1()
|