Home
last modified time | relevance | path

Searched refs:mLights (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/light/2.0/default/
DLight.cpp47 : mLights(std::move(lights)) {} in Light()
51 auto it = mLights.find(type); in setLight()
53 if (it == mLights.end()) { in setLight()
80 Type *types = new Type[mLights.size()]; in getSupportedTypes()
83 for(auto const &pair : mLights) { in getSupportedTypes()
91 hidl_types.setToExternal(types, mLights.size()); in getSupportedTypes()
125 for (auto const& pair : mLights) { in debug()
DLight.h51 std::map<Type, light_device_t*> mLights;
/hardware/google/interfaces/light/1.0/default/
DLight.cpp47 : mLights(std::move(lights)) {} in Light()
51 auto it = mLights.find(type); in setLight()
53 if (it == mLights.end()) return Status::LIGHT_NOT_SUPPORTED; in setLight()
78 std::vector<Type> types(mLights.size()); in getSupportedTypes()
81 for (const auto& pair : mLights) { in getSupportedTypes()
117 for (const auto& pair : mLights) { in debug()
DLight.h50 std::map<Type, light_device_t*> mLights;
/hardware/google/interfaces/light/1.1/default/
DLight.cpp47 : mLights(std::move(lights)) {} in Light()
51 auto it = mLights.find(type); in setLight()
53 if (it == mLights.end()) return Status::LIGHT_NOT_SUPPORTED; in setLight()
78 std::vector<Type> types(mLights.size()); in getSupportedTypes()
81 for (const auto& pair : mLights) { in getSupportedTypes()
117 for (const auto& pair : mLights) { in debug()
DLight.h50 std::map<Type, light_device_t*> mLights;
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmContext.cpp154 android::base::loadBufferPtr<Light>(stream, mLights); in GLEScmContext()
182 mLights[0].diffuse[0] = 1.0f; in GLEScmContext()
183 mLights[0].diffuse[1] = 1.0f; in GLEScmContext()
184 mLights[0].diffuse[2] = 1.0f; in GLEScmContext()
185 mLights[0].diffuse[3] = 1.0f; in GLEScmContext()
186 mLights[0].specular[0] = 1.0f; in GLEScmContext()
187 mLights[0].specular[1] = 1.0f; in GLEScmContext()
188 mLights[0].specular[2] = 1.0f; in GLEScmContext()
189 mLights[0].specular[3] = 1.0f; in GLEScmContext()
231 return mLights[lightIndex]; in getLightInfo()
[all …]
DGLEScmContext.h252 Light mLights[kMaxLights] = {}; variable