HomeSort by relevance Sort by last modified time
    Searched refs:targetH (Results 1 - 9 of 9) sorted by null

  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
BitmapHelper.java 51 public static int findScaleFactor(int targetW, int targetH, InputStream is) {
60 return Math.min(actualW/targetW, actualH/targetH);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
BitmapHelper.java 53 public static int findScaleFactor(int targetW, int targetH, InputStream is) {
62 return Math.min(actualW/targetW, actualH/targetH);
  /external/deqp/modules/glshared/
glsInteractionTestUtil.hpp 123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, std::vector<RenderCommand>& dst);
glsInteractionTestUtil.cpp 254 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, vector<RenderCommand>& dst)
261 computeRandomRenderState(rnd, cmd->state, apiType, targetW, targetH);
262 computeRandomQuad(rnd, cmd->quad, targetW, targetH);
glsFragOpInteractionCase.cpp 182 static Quad getRandomQuad (de::Random& rnd, int targetW, int targetH)
190 const int minH = deCeilFloatToInt32(minSize * (float)targetH);
192 const int maxH = targetH + 2*maxOutOfBounds;
197 const int y = rnd.getInt(-maxOutOfBounds, targetH+maxOutOfBounds-height);
217 static void computeRandomRenderCommand (de::Random& rnd, RenderCommand& command, glu::ApiType apiType, int targetW, int targetH)
219 command.quad = getRandomQuad(rnd, targetW, targetH);
221 gls::InteractionTestUtil::computeRandomRenderState(rnd, command.state, apiType, targetW, targetH);
  /external/deqp/modules/gles3/functional/
es3fOcclusionQueryTests.cpp 199 int targetH = renderTarget.getHeight();
252 int scissorBoxY = m_rnd.getInt(-DEPTH_CLEAR_OFFSET, targetH);
254 int scissorBoxH = m_rnd.getInt( DEPTH_CLEAR_OFFSET, targetH+DEPTH_CLEAR_OFFSET);
295 int scissorBoxY = m_rnd.getInt(-STENCIL_CLEAR_OFFSET, targetH);
297 int scissorBoxH = m_rnd.getInt( STENCIL_CLEAR_OFFSET, targetH+STENCIL_CLEAR_OFFSET);
325 int scissorBoxY = m_rnd.getInt(-SCISSOR_OFFSET, targetH-SCISSOR_OFFSET);
327 int scissorBoxH = m_rnd.getInt(SCISSOR_MINSIZE, targetH+SCISSOR_OFFSET);
es3fTextureSpecificationTests.cpp 232 int targetH = getHeight();
235 float h = (float)height / (float)targetH;
    [all...]
  /external/deqp/modules/gles2/functional/
es2fTextureSpecificationTests.cpp 565 int targetH = getHeight();
568 float h = (float)height / (float)targetH;
582 int targetH = getHeight();
585 float h = (float)height / (float)targetH;
    [all...]
  /external/deqp/modules/gles31/functional/
es31fTextureSpecificationTests.cpp 189 int targetH = getHeight();
192 float h = (float)height / (float)targetH;
    [all...]

Completed in 1052 milliseconds