Home | History | Annotate | Download | only in base

Lines Matching refs:content

147     hwc_display_contents_1_t *content = NULL;
149 content = mCachedDisplays[i];
150 if (content == NULL) {
154 if (content->flags & HWC_GEOMETRY_CHANGED) {
176 content = mCachedDisplays[0];
177 if (content == NULL) {
187 for (int j = 0; j < (int)content->numHwLayers - 1; j++) {
188 videoLayerExist = isVideoLayer(content->hwLayers[j]);
190 if ((content->hwLayers[j].flags & HWC_SKIP_LAYER)) {
193 videoHandle = content->hwLayers[j].handle;
194 videoFullScreenOnPrimary = isVideoFullScreen(0, content->hwLayers[j]);
208 content = mCachedDisplays[i];
209 if (content == NULL) {
214 for (int j = 0; j < (int)content->numHwLayers - 1; j++) {
215 if (content->hwLayers[j].handle == videoHandle) {
216 isVideoLayerSkipped |= (content->hwLayers[j].flags & HWC_SKIP_LAYER);
223 mVideoExtModeEligible = isVideoFullScreen(i, content->hwLayers[j]);
336 hwc_display_contents_1_t *content = NULL;
558 hwc_display_contents_1_t *content = NULL;
586 hwc_display_contents_1_t *content = NULL;
592 content = mCachedDisplays[i];
593 if (content == NULL) {
597 for (int j = 0; j < (int)content->numHwLayers - 1; j++) {
598 layer = &content->hwLayers[j];
722 hwc_display_contents_1_t *content = mCachedDisplays[i];
723 if (content == NULL) {
726 for (int j = 0; j < (int)content->numHwLayers - 1; j++) {
727 if (isVideoLayer(content->hwLayers[j])) {
728 videoHandles[i] = (intptr_t)content->hwLayers[j].handle;
730 mIgnoreVideoSkipFlag = !(content->hwLayers[j].flags & HWC_SKIP_LAYER);
801 hwc_display_contents_1_t *content = mCachedDisplays[0];
802 if (content == NULL) {
805 for (size_t i = 0; i < content->numHwLayers - 1; i++) {
806 if (content->hwLayers[i].handle == layer.handle) {
817 hwc_display_contents_1_t *content = NULL;
829 content = mCachedDisplays[index];
830 if (content == NULL) {
834 for (size_t i = 0; i < content->numHwLayers - 1; i++) {
835 if (isProtectedLayer(content->hwLayers[i]))
875 hwc_display_contents_1_t *content = mCachedDisplays[device];
876 if (content == NULL) {
883 content->flags |= HWC_GEOMETRY_CHANGED;
886 setCompositionType(content, type);