Lines Matching refs:query_value
163 int query_value; in InitializeWindowInfoStruct() local
164 err = window->query(window, NATIVE_WINDOW_TRANSFORM_HINT, &query_value); in InitializeWindowInfoStruct()
165 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
166 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
169 outWindowInfo->transform = query_value; in InitializeWindowInfoStruct()
179 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in InitializeWindowInfoStruct()
180 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
181 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
185 static_cast<uint32_t>(query_value) + sTargetBufferCount + extraBuffers; in InitializeWindowInfoStruct()
187 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in InitializeWindowInfoStruct()
188 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
189 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
192 if (outWindowInfo->bufferCount > static_cast<uint32_t>(query_value)) { in InitializeWindowInfoStruct()
194 outWindowInfo->bufferCount = static_cast<uint32_t>(query_value); in InitializeWindowInfoStruct()