Home
last modified time | relevance | path

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

1234

/frameworks/base/libs/hwui/
DProperties.cpp33 bool Properties::debugLayersUpdates = false;
34 bool Properties::debugOverdraw = false;
35 bool Properties::showDirtyRegions = false;
36 bool Properties::skipEmptyFrames = true;
37 bool Properties::useBufferAge = true;
38 bool Properties::enablePartialUpdates = true;
40 DebugLevel Properties::debugLevel = kDebugDisabled;
41 OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default;
43 float Properties::overrideLightRadius = -1.0f;
44 float Properties::overrideLightPosY = -1.0f;
[all …]
DVectorDrawable.h102 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 …]
DDeviceInfo.cpp54 if (Properties::isolatedProcess) { in QueryDisplayInfo()
69 if (Properties::isolatedProcess) { in QueryMaxRefreshRate()
90 if (Properties::isolatedProcess) { in queryWideColorGamutPreference()
/frameworks/base/libs/hwui/tests/unit/
DTestUtilsTests.cpp25 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/pipeline/skia/
DSkiaPipeline.h64 if (CC_UNLIKELY(Properties::overrideLightRadius > 0)) { in getLightRadius()
65 return Properties::overrideLightRadius; in getLightRadius()
71 if (CC_UNLIKELY(Properties::overrideAmbientShadowStrength >= 0)) { in getAmbientShadowAlpha()
72 return Properties::overrideAmbientShadowStrength; in getAmbientShadowAlpha()
78 if (CC_UNLIKELY(Properties::overrideSpotShadowStrength >= 0)) { in getSpotShadowAlpha()
79 return Properties::overrideSpotShadowStrength; in getSpotShadowAlpha()
85 if (CC_UNLIKELY(Properties::overrideLightPosY > 0 || Properties::overrideLightPosZ > 0)) { in getLightCenter()
87 if (CC_UNLIKELY(Properties::overrideLightPosY > 0)) { in getLightCenter()
89 adjustedLightCenter.y = -Properties::overrideLightPosY; in getLightCenter()
91 if (CC_UNLIKELY(Properties::overrideLightPosZ > 0)) { in getLightCenter()
[all …]
DSkiaVulkanPipeline.cpp79 if (CC_UNLIKELY(Properties::showDirtyRegions || in draw()
80 ProfileType::None != Properties::getProfileType())) { in draw()
88 if (CC_UNLIKELY(Properties::debugLevel != kDebugDisabled)) { in draw()
DSkiaOpenGLPipeline.cpp108 if (CC_UNLIKELY(Properties::showDirtyRegions || in draw()
109 ProfileType::None != Properties::getProfileType())) { in draw()
117 if (CC_UNLIKELY(Properties::debugLevel != kDebugDisabled)) { in draw()
DShaderCache.cpp51 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()
DSkiaPipeline.cpp242 if (CC_UNLIKELY(Properties::skpCaptureEnabled)) { in tryCapture()
296 bool previousSkpEnabled = Properties::skpCaptureEnabled; in renderFrame()
298 Properties::skpCaptureEnabled = true; in renderFrame()
315 if (CC_UNLIKELY(Properties::debugOverdraw)) { in renderFrame()
322 Properties::skpCaptureEnabled = previousSkpEnabled; in renderFrame()
502 const SkPMColor* colors = kOverdrawColors[static_cast<int>(Properties::overdrawColorSet)]; in renderOverdraw()
DRenderNodeDrawable.cpp121 if (CC_UNLIKELY(Properties::skpCaptureEnabled)) { in MarkDraw()
126 if (CC_UNLIKELY(Properties::skpCaptureEnabled)) { in ~MarkDraw()
243 if (CC_UNLIKELY(Properties::debugLayersUpdates)) { in drawContent()
247 } else if (CC_UNLIKELY(Properties::debugOverdraw)) { in drawContent()
DSkiaRecordingCanvas.cpp116 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaVulkan) { in drawRenderNode()
131 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaVulkan) { in callDrawGLFunction()
144 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaVulkan) { in drawWebViewFunctor()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.h144 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/
DVolumeLoader.java29 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/services/core/java/com/android/server/locksettings/
DPasswordSlotManager.java35 import java.util.Properties;
157 final Properties props = new Properties(); in loadSlotMap()
195 final Properties props = new Properties(); in saveSlotMap()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java16 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/
DRenderThread.cpp147 Properties::load(); in RenderThread()
158 if (!Properties::isolatedProcess) { in initializeDisplayEventReceiver()
241 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaGL) { in destroyRenderingContext()
259 auto renderType = Properties::getRenderPipelineType(); in dumpGraphicsMemory()
410 auto renderType = Properties::getRenderPipelineType(); in allocateHardwareBitmap()
427 if (Properties::getRenderPipelineType() == RenderPipelineType::SkiaGL) { in preload()
DEglManager.cpp119 if (Properties::enablePartialUpdates) { in initialize()
123 if (Properties::useBufferAge && EglExtensions.bufferAge) { in initialize()
273 if (Properties::contextPriority != 0 && EglExtensions.contextPriority) { in createContext()
275 contextAttributes.push_back(Properties::contextPriority); in createContext()
405 if (Properties::disableVsync) { in makeCurrent()
455 if (CC_UNLIKELY(Properties::waitForGpuCompletion)) { in swapBuffers()
DCanvasContext.cpp65 auto renderType = Properties::getRenderPipelineType(); in create()
83 auto renderType = Properties::getRenderPipelineType(); in invokeFunctor()
115 setRenderAheadDepth(Properties::defaultRenderAhead); in CanvasContext()
335 if (CC_LIKELY(mSwapHistory.size() && !Properties::forceDrawFrame)) { in prepareTree()
376 if (CC_UNLIKELY(!Properties::enableRTAnimations)) { in prepareTree()
437 if (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw()) { in draw()
/frameworks/base/core/jni/
Dcom_android_internal_os_ZygoteInit.cpp27 using android::uirenderer::Properties;
67 if (Properties::peekRenderPipelineType() == RenderPipelineType::SkiaGL) { in android_internal_os_ZygoteInit_nativePreloadGraphicsDriver()
/frameworks/base/services/core/java/com/android/server/location/
DGnssConfiguration.java39 import java.util.Properties;
95 private Properties mProperties;
103 mProperties = new Properties(); in GnssConfiguration()
109 Properties getProperties() { in getProperties()
339 private void loadPropertiesFromGpsDebugConfig(Properties properties) { in loadPropertiesFromGpsDebugConfig()
DGpsPsdsDownloader.java30 import java.util.Properties;
53 GpsPsdsDownloader(Properties properties) { in GpsPsdsDownloader()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java31 import android.provider.DeviceConfig.Properties;
161 private Properties getProperties(String namespace, String name, String value) {
162 Properties properties = Mockito.mock(Properties.class);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java29 import java.util.Properties;
111 Properties prop = new Properties(); in RgbView()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.h43 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/
Dmain.cpp151 Properties::overrideRenderPipelineType(RenderPipelineType::SkiaGL); in setRenderer()
153 Properties::overrideRenderPipelineType(RenderPipelineType::SkiaVulkan); in setRenderer()
250 Properties::waitForGpuCompletion = true; in parseOptions()

1234