/frameworks/base/libs/hwui/ |
D | Properties.cpp | 45 bool Properties::debugLayersUpdates = false; 46 bool Properties::debugOverdraw = false; 47 bool Properties::showDirtyRegions = false; 48 bool Properties::skipEmptyFrames = true; 49 bool Properties::useBufferAge = true; 50 bool Properties::enablePartialUpdates = true; 52 DebugLevel Properties::debugLevel = kDebugDisabled; 53 OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default; 55 float Properties::overrideLightRadius = -1.0f; 56 float Properties::overrideLightPosY = -1.0f; [all …]
|
D | LightingInfo.h | 29 if (CC_UNLIKELY(Properties::overrideLightRadius > 0)) { in getLightRadius() 30 return Properties::overrideLightRadius; in getLightRadius() 36 if (CC_UNLIKELY(Properties::overrideAmbientShadowStrength >= 0)) { in getAmbientShadowAlpha() 37 return Properties::overrideAmbientShadowStrength; in getAmbientShadowAlpha() 43 if (CC_UNLIKELY(Properties::overrideSpotShadowStrength >= 0)) { in getSpotShadowAlpha() 44 return Properties::overrideSpotShadowStrength; in getSpotShadowAlpha() 50 if (CC_UNLIKELY(Properties::overrideLightPosY > 0 || Properties::overrideLightPosZ > 0)) { in getLightCenter() 52 if (CC_UNLIKELY(Properties::overrideLightPosY > 0)) { in getLightCenter() 54 adjustedLightCenter.y = -Properties::overrideLightPosY; in getLightCenter() 56 if (CC_UNLIKELY(Properties::overrideLightPosZ > 0)) { in getLightCenter() [all …]
|
D | VectorDrawable.h | 102 class Properties { 104 explicit Properties(Node* node) : mNode(node) {} in Properties() function 118 virtual void onPropertyChanged(Properties* properties) = 0; 141 class PathProperties : public Properties { 143 explicit PathProperties(Node* node) : Properties(node) {} in PathProperties() 171 virtual void onPropertyChanged(Properties* prop) override { in onPropertyChanged() 205 class FullPathProperties : public Properties { 221 explicit FullPathProperties(Node* mNode) : Properties(mNode), mTrimDirty(false) {} in FullPathProperties() 340 virtual void onPropertyChanged(Properties* properties) override { in onPropertyChanged() 383 class GroupProperties : public Properties { [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TestUtilsTests.cpp | 25 bool previous = Properties::debugOverdraw; in TEST() 27 ScopedProperty<bool> debugOverdraw(Properties::debugOverdraw, true); in TEST() 28 EXPECT_TRUE(Properties::debugOverdraw); in TEST() 30 EXPECT_EQ(previous, Properties::debugOverdraw); in TEST() 32 ScopedProperty<bool> debugOverdraw(Properties::debugOverdraw, false); in TEST() 33 EXPECT_FALSE(Properties::debugOverdraw); in TEST() 35 EXPECT_EQ(previous, Properties::debugOverdraw); in TEST()
|
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageDrawable.h | 144 struct Properties { struct 149 Properties() = default; argument 150 Properties(Properties&) = default; 151 Properties& operator=(Properties&) = default; argument 154 Properties mStagingProperties; 155 Properties mProperties;
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | VolumeLoader.java | 29 import java.util.Properties; 33 HashMap<String, Properties> map = new HashMap<String, Properties>(); 45 Properties[] prop = getPropertyFiles(baseDir); in VolumeLoader() 65 Properties p = map.get(name); in getVolume() 98 static Properties[] getPropertyFiles(File dir) { in getPropertyFiles() 108 Properties[]ret = new Properties[f.length]; in getPropertyFiles() 110 Properties prop = new Properties(); in getPropertyFiles()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | DeviceConfigProxyFake.java | 22 import android.provider.DeviceConfig.Properties; 72 Properties.Builder propBuilder = new Properties.Builder(namespace); in setProperty() 92 private Properties propsForNamespaceAndName(String namespace, String name) { in propsForNamespaceAndName() 94 return new Properties.Builder(namespace) in propsForNamespaceAndName() 98 return new Properties.Builder(namespace) in propsForNamespaceAndName() 107 Properties props = propsForNamespaceAndName(namespace, name); in getBoolean() 117 Properties props = propsForNamespaceAndName(namespace, name); in getInt() 127 Properties props = propsForNamespaceAndName(namespace, name); in getLong() 142 Properties props = propsForNamespaceAndName(namespace, name); in getString()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DeviceConfigTest.java | 19 import static android.provider.DeviceConfig.Properties; 398 Properties properties = DeviceConfig.getProperties(NAMESPACE); in getProperties_fullNamespace() 427 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2); in getProperties_getString() 439 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2, KEY3); in getProperties_getBoolean() 460 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2); in getProperties_getInt() 474 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2); in getProperties_getFloat() 488 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2); in getProperties_getLong() 500 Properties properties = DeviceConfig.getProperties(NAMESPACE, KEY, KEY2); in getProperties_defaults() 511 Properties properties = new Properties.Builder(NAMESPACE).setString(KEY, VALUE) in setProperties() 520 properties = new Properties.Builder(NAMESPACE).setString(KEY, VALUE2) in setProperties() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | PasswordSlotManager.java | 35 import java.util.Properties; 157 final Properties props = new Properties(); in loadSlotMap() 195 final Properties props = new Properties(); in saveSlotMap()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | Hw2CompatUtil.java | 83 static android.hardware.soundtrigger.V2_3.Properties convertProperties_2_0_to_2_3( in convertProperties_2_0_to_2_3() 84 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.Properties properties) { in convertProperties_2_0_to_2_3() 85 android.hardware.soundtrigger.V2_3.Properties properties_2_3 = in convertProperties_2_0_to_2_3() 86 new android.hardware.soundtrigger.V2_3.Properties(); in convertProperties_2_0_to_2_3()
|
/frameworks/base/core/java/android/provider/ |
D | DeviceConfig.java | 469 public static Properties getProperties(@NonNull String namespace, @NonNull String ... names) { in getProperties() 471 return new Properties(namespace, in getProperties() 638 public static boolean setProperties(@NonNull Properties properties) throws BadConfigException { in setProperties() 788 Properties.Builder propBuilder = new Properties.Builder(namespace); in handleChange() 790 Properties allProperties = getProperties(namespace); in handleChange() 800 Properties properties = propBuilder.build(); in handleChange() 859 void onPropertiesChanged(@NonNull Properties properties); in onPropertiesChanged() 879 public static class Properties { class in DeviceConfig 891 public Properties(@NonNull String namespace, @Nullable Map<String, String> keyValueMap) { in Properties() method in DeviceConfig.Properties 1094 public Properties build() { in build() [all …]
|
/frameworks/base/test-runner/src/junit/runner/ |
D | BaseTestRunner.java | 16 import java.util.Properties; 30 private static Properties fPreferences; 42 protected static void setPreferences(Properties preferences) { in setPreferences() 46 protected static Properties getPreferences() { in getPreferences() 48 fPreferences= new Properties(); in getPreferences() 242 setPreferences(new Properties(getPreferences())); in readPreferences()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 136 Properties::load(); in RenderThread() 149 if (!Properties::isolatedProcess) { in initializeChoreographer() 219 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaGL) { in destroyRenderingContext() 237 auto renderType = Properties::getRenderPipelineType(); in dumpGraphicsMemory() 373 auto renderType = Properties::getRenderPipelineType(); in allocateHardwareBitmap() 390 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaGL) { in preload()
|
D | EglManager.cpp | 119 if (Properties::enablePartialUpdates) { in initialize() 123 if (Properties::useBufferAge && EglExtensions.bufferAge) { in initialize() 276 if (Properties::contextPriority != 0 && EglExtensions.contextPriority) { in createContext() 278 contextAttributes.push_back(Properties::contextPriority); in createContext() 412 if (Properties::disableVsync) { in makeCurrent() 462 if (CC_UNLIKELY(Properties::waitForGpuCompletion)) { in swapBuffers()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/ |
D | TestableDeviceConfig.java | 31 import android.provider.DeviceConfig.Properties; 116 doAnswer((Answer<Properties>) invocationOnMock -> { in setUpMockBehaviors() 156 private Properties getProperties(String namespace, String name, String value) { in getProperties() 160 private Properties getProperties(String namespace, Map<String, String> keyValues) { in getProperties() 161 Properties properties = Mockito.mock(Properties.class); in getProperties()
|
D | TestableDeviceConfigTest.java | 26 import android.provider.DeviceConfig.Properties; 99 Properties properties = DeviceConfig.getProperties(sNamespace); in getProperties_empty() 112 Properties properties = DeviceConfig.getProperties(sNamespace, sKey); in getProperties()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | FakeDeviceConfigInterface.java | 49 DeviceConfig.Properties properties = makeProperties(namespace, key, value); in putPropertyAndNotify() 74 private DeviceConfig.Properties makeProperties(String namespace, String key, String value) { in makeProperties() 76 final Constructor<DeviceConfig.Properties> ctor = in makeProperties() 77 DeviceConfig.Properties.class.getDeclaredConstructor(String.class, Map.class); in makeProperties()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaVulkanPipeline.cpp | 80 if (CC_UNLIKELY(Properties::showDirtyRegions || in draw() 81 ProfileType::None != Properties::getProfileType())) { in draw() 89 if (CC_UNLIKELY(Properties::debugLevel != kDebugDisabled)) { in draw()
|
D | RenderNodeDrawable.cpp | 120 if (CC_UNLIKELY(Properties::skpCaptureEnabled)) { in MarkDraw() 125 if (CC_UNLIKELY(Properties::skpCaptureEnabled)) { in ~MarkDraw() 236 if (CC_UNLIKELY(Properties::skpCaptureEnabled)) { in drawContent() 245 if (CC_UNLIKELY(Properties::debugLayersUpdates)) { in drawContent() 249 } else if (CC_UNLIKELY(Properties::debugOverdraw)) { in drawContent()
|
D | SkiaOpenGLPipeline.cpp | 109 if (CC_UNLIKELY(Properties::showDirtyRegions || in draw() 110 ProfileType::None != Properties::getProfileType())) { in draw() 118 if (CC_UNLIKELY(Properties::debugLevel != kDebugDisabled)) { in draw()
|
D | ShaderCache.cpp | 51 if (CC_UNLIKELY(Properties::debugLevel & kDebugCaches)) { in validateCache() 71 if (CC_UNLIKELY(Properties::debugLevel & kDebugCaches)) { in validateCache() 85 if (!Properties::runningInEmulator && mFilename.length() > 0) { in initShaderDiskCache()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssConfiguration.java | 40 import java.util.Properties; 96 private Properties mProperties; 104 mProperties = new Properties(); in GnssConfiguration() 110 Properties getProperties() { in getProperties() 340 private void loadPropertiesFromGpsDebugConfig(Properties properties) { in loadPropertiesFromGpsDebugConfig()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | RgbPlayerActivity.java | 29 import java.util.Properties; 111 Properties prop = new Properties(); in RgbView()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.h | 43 JavaRef<jobject> ModulePropertiesFromHal(JNIEnv *env, const V1_0::Properties &properties, 45 JavaRef<jobject> ModulePropertiesFromHal(JNIEnv *env, const V1_1::Properties &properties,
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | main.cpp | 151 Properties::overrideRenderPipelineType(RenderPipelineType::SkiaGL); in setRenderer() 153 Properties::overrideRenderPipelineType(RenderPipelineType::SkiaVulkan); in setRenderer() 250 Properties::waitForGpuCompletion = true; in parseOptions()
|