/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 1106 androidRect.top = y + height;
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
H A D | gl.h | 512 GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 513 GLAPI void APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 545 GLAPI void APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 546 GLAPI void APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 357 layer->sourceCrop.top = 0; 361 layer->displayFrame.top = 0; 371 layer->sourceCrop.top = 0; 375 layer->displayFrame.top = refHeight; 377 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight;
|
H A D | hwcCommit.cpp | 651 rect.displayFrame.top = y; 1295 foreground.displayFrame.top += 5;
|
H A D | hwcRects.cpp | 37 * [left, top, right, bottom] 45 * sourceCrop: [left, top, right, bottom] 73 * [left, top, right, bottom] 396 - rect.displayFrame.top); 398 rect.sourceCrop.top = 0; 489 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height()) 496 || (rect.displayFrame.top >= height) 555 testPrintE(" [left, top, right, bottom]"); 564 testPrintE(" sourceCrop: [left, top, right, bottom]");
|
H A D | hwcStress.cpp | 442 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); 445 layer->sourceCrop.bottom = layer->sourceCrop.top 446 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; 448 layer->displayFrame.top = testRandMod(height); 451 layer->displayFrame.bottom = layer->displayFrame.top 452 + testRandMod(height - layer->displayFrame.top) + 1; 465 - layer->sourceCrop.top; 467 && ((layer->displayFrame.top + sourceHeight) <= height)) { 470 layer->displayFrame.bottom = layer->displayFrame.top
|
H A D | hwcTestLib.cpp | 186 rect.left = rect.top = 0; 201 out << rect.top << ", "; 209 // Parse HWC rectangle description of form [left, top, right, bottom] 230 in >> rect.top; 251 // Validate right and bottom are greater than left and top 252 if ((rect.right <= rect.left) || (rect.bottom <= rect.top)) { return rect; } 487 - list->hwLayers[layer].sourceCrop.top) 489 - list->hwLayers[layer].displayFrame.top));
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES10.spec | 40 void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 73 void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 74 void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
|
H A D | GLES11Ext.spec | 22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 194 dump.appendFormat("[%d,%d][%d,%d]", cur->left, cur->top, cur->right, cur->bottom);
|
H A D | InputReader.cpp | 4053 &mCurrentRawState : &mRawStatesPending.top(); 4840 float left, top, right, bottom; local 4849 top = float(mRawPointerAxes.x.maxValue - rawRight) * mXScale + mXTranslate; 4861 top = float(mRawPointerAxes.y.maxValue - rawBottom) * mYScale + mYTranslate; 4873 top = float(rawLeft - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; 4885 top = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; 4903 out.setAxisValue(AMOTION_EVENT_AXIS_GENERIC_2, top); 6299 "left=%d, top=%d, right=%d, bottom=%d",
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 239 b.left, b.top, b.width(), b.height()); 534 float src_y = viewport.top; 536 float dst_y = frame.top; 594 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom, 595 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom, 596 mScissor.left, mScissor.top, mScissor.right, mScissor.bottom,
|
H A D | Layer.cpp | 483 float insetT = winCrop.top * yScale; 488 crop.top += insetT; 570 activeTransparentRegion.orSelf(Rect(0, 0, s.active.w, activeCrop.top)); 573 activeTransparentRegion.orSelf(Rect(0, activeCrop.top, 575 activeTransparentRegion.orSelf(Rect(activeCrop.right, activeCrop.top, 593 transformedFrame.top, transformedFrame.right, 601 sourceCrop.left, sourceCrop.top, sourceCrop.right, 805 position.top); 808 position.top, to_string(error).c_str(), 1020 float top local [all...] |
H A D | SurfaceFlinger.cpp | 3341 if (sourceCrop.top < 0) { 3342 ALOGE("Invalid crop rect: t = %d (< 0)", sourceCrop.top);
|
H A D | SurfaceFlinger_hwc1.cpp | 3355 if (sourceCrop.top < 0) { 3356 ALOGE("Invalid crop rect: t = %d (< 0)", sourceCrop.top);
|
H A D | Transform.cpp | 202 vec2 lt( bounds.left, bounds.top ); 203 vec2 rt( bounds.right, bounds.top ); 213 r.top = floorf(min(lt[1], rt[1], lb[1], rb[1]) + 0.5f);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FloatRect.h | 29 float top; member in class:android::FloatRect 34 : left(0), top(0), right(0), bottom(0) { } 36 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { } 39 inline float getHeight() const { return bottom - top; }
|
H A D | HWC2.cpp | 981 hwcRects.push_back({rectArray[rect].left, rectArray[rect].top, 1029 hwc_rect_t hwcRect{frame.left, frame.top, frame.right, frame.bottom}; 1056 hwc_frect_t hwcRect{crop.left, crop.top, crop.right, crop.bottom}; 1077 hwcRects.push_back({rectArray[rect].left, rectArray[rect].top,
|
H A D | HWC2On1Adapter.cpp | 45 lhs.top == rhs.top && 52 lhs.top == rhs.top && 1480 output << "[" << rect.left << ", " << rect.top << ", "; 1503 output << approximateFloatString(frect.top) << ", "; 1951 rects[0].top = 0; 2219 hwc1Layer.sourceCropi.top = 2220 static_cast<int32_t>(std::ceil(pending.top));
|
H A D | HWComposer_hwc1.cpp | 607 disp.framebufferTarget->sourceCropf.top = 0; 912 return (status_t)mHwc->setCursorPositionAsync(mHwc, id, pos.left, pos.top); 1040 r.top = int(ceilf(crop.top)); 1238 l.sourceCropf.left, l.sourceCropf.top, l.sourceCropf.right, l.sourceCropf.bottom, 1239 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, 1246 l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom, 1247 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom,
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES11RenderEngine.cpp | 82 size_t t = hwh - sourceCrop.top;
|
H A D | GLES20RenderEngine.cpp | 86 size_t t = hwh - sourceCrop.top;
|
H A D | RenderEngine.cpp | 206 position[i*6 + 0].y = height - r->top; 212 position[i*6 + 3].y = height - r->top; 216 position[i*6 + 5].y = height - r->top; 232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) { 233 glScissor(left, bottom, right, top); 231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
|
H A D | RenderEngine.h | 76 void setScissor(uint32_t left, uint32_t bottom, uint32_t right, uint32_t top);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 324 // Center the decode on the top 1/3. 410 (srcRect.bottom - srcRect.top) / mOpts.inSampleSize); 566 * Value from 0f for top-most crop to 1f for bottom-most crop.
|