/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftpfr.h | 110 * left :: Index of the left glyph. 130 FT_UInt left,
|
/external/libvpx/libvpx/test/ |
vpx_scale_test.cc | 82 uint8_t *left = buf - padding; local 89 memset(left, left[padding], padding); 91 left += stride; 95 left = buf - padding; 96 uint8_t *top = left - (stride * padding); 101 // The first row was already extended to the left and right. Copy it up. 103 memcpy(top, left, extend_width); 107 uint8_t *bottom = left + (crop_height * stride); 109 memcpy(bottom, left + (crop_height - 1) * stride, extend_width) [all...] |
/external/opencv3/modules/viz/src/ |
types.cpp | 126 double left = near * (proj(0,2)-1) / proj(0,0); local 127 double right = 2.0 * near / proj(0,0) + left; 133 principal_point_[0] = fabs(left-right) < epsilon ? window_size.width * 0.5 : (left * window_size.width) / (left - right); 136 focal_[0] = -near * principal_point_[0] / left; 183 double left = -clip_[0] * principal_point_[0] / focal_[0]; local 188 double temp2 = 1.0 / (right - left); 195 proj(0,2) = (right + left) * temp2;
|
/external/pdfium/xfa/src/fwl/src/theme/ |
pushbuttontp.cpp | 44 strokePath.MoveTo(rect.left + PUSHBUTTON_SIZE_Corner, rect.top);
49 strokePath.LineTo(rect.left + PUSHBUTTON_SIZE_Corner, fBottom);
50 strokePath.LineTo(rect.left, fBottom - PUSHBUTTON_SIZE_Corner);
51 strokePath.LineTo(rect.left, rect.top + PUSHBUTTON_SIZE_Corner);
52 strokePath.LineTo(rect.left + PUSHBUTTON_SIZE_Corner, rect.top);
61 fillPath.AddRectangle(rtInner.left, rtInner.top, rtInner.width,
64 DrawAxialShading(pGraphics, rect.left + PUSHBUTTON_SIZE_Corner, rect.top,
65 rect.left + PUSHBUTTON_SIZE_Corner, rect.bottom(),
73 fillPath.AddRectangle(rtInner.left, rtInner.top, rtInner.width,
|
/external/skia/src/core/ |
SkBlitter.cpp | 160 // calculated from a arbitrary bit in that byte, calculate the left most bit. 169 // Calculate left byte and mask 289 void SkRectClipBlitter::blitH(int left, int y, int width) { 296 int right = left + width; 298 if (left < fClipRect.fLeft) { 299 left = fClipRect.fLeft; 305 width = right - left; 307 fBlitter->blitH(left, y, width); 311 void SkRectClipBlitter::blitAntiH(int left, int y, const SkAlpha aa[], 313 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) [all...] |
/external/skia/src/pathops/ |
SkPathOpsLine.cpp | 81 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) { 83 if (xy.fX == left) { 93 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) { 97 if (!AlmostBetweenUlps(left, xy.fX, right)) { 100 double t = (xy.fX - left) / (right - left); 103 double realPtX = (1 - t) * left + t * right; 107 double tiniest = SkTMin(SkTMin(y, left), right); 108 double largest = SkTMax(SkTMax(y, left), right);
|
/frameworks/base/libs/hwui/ |
CanvasState.cpp | 206 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { 207 mSnapshot->clip(Rect(left, top, right, bottom), op); 232 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); 262 bool CanvasState::calculateQuickRejectForScissor(float left, float top, 266 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 270 Rect r(left, top, right, bottom); 292 bool CanvasState::quickRejectConservative(float left, float top, 294 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 298 Rect r(left, top, right, bottom);
|
Snapshot.cpp | 101 void Snapshot::setClip(float left, float top, float right, float bottom) { 103 mClipArea->setClip(left, top, right, bottom); 120 void Snapshot::resetClip(float left, float top, float right, float bottom) { 125 setClip(left, top, right, bottom); 169 outTransform->translate(current->layer->layer.left, current->layer->layer.top); 210 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius; 211 state->dangerRects[1].left = state->dangerRects[3].left = bounds.right - radius; 285 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 65 public int saveLayer(float left, float top, float right, float bottom, Paint paint, 71 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { 86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, 92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { 162 public void drawRect(float left, float top, float right, float bottom, Paint paint) { 170 public void drawOval(float left, float top, float right, float bottom, Paint paint) { 183 public void drawArc(float left, float top, float right, float bottom, float startAngle, 192 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, 213 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) {
|
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 52 short left; member in struct:__anon29079 153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; 154 sine[i].right = sine[i].left; 157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; 158 square[i].right = square[i].left; 161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0; 162 sawtooth[i].right = sawtooth[i].left; 165 half[i].left = sine[i].left;
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
HwcLayer.cpp | 34 x.left == y.left && 47 x.left == y.left && 286 mPlane->setPosition(layer->displayFrame.left, 288 layer->displayFrame.right - layer->displayFrame.left, 290 mPlane->setSourceCrop(layer->sourceCropf.left, 292 layer->sourceCropf.right - layer->sourceCropf.left, 393 mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
HwcLayer.cpp | 33 x.left == y.left && 46 x.left == y.left && 244 mPlane->setPosition(layer->displayFrame.left, 246 layer->displayFrame.right - layer->displayFrame.left, 248 mPlane->setSourceCrop(layer->sourceCropf.left, 250 layer->sourceCropf.right - layer->sourceCropf.left, 331 mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 44 r.left, r.top, 47 r.left, r.bottom 63 return !(x > r.right || x < r.left || y > r.bottom || y < r.top); 79 r.left = (x < r.left) ? x : r.left; 100 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); 203 r.left = r.centerX() - finalW / 2; 204 r.right = r.left + finalW;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 119 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 124 child.layout(childRect.left, childRect.top, childRect.right, 129 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 139 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 149 parentRect.left += sweepMargins.left; 155 parentRect.left += sweepMargins.left + (int) sweep.getPoint(); 156 parentRect.right = parentRect.left;
|
/external/pdfium/xfa/src/fwl/src/basewidget/ |
fwl_pushbuttonimp.cpp | 148 point.x = m_rtClient.left;
153 point.x = m_rtClient.left +
159 point.x = m_rtClient.left + m_rtClient.width - pPicture->GetWidth();
163 point.x = m_rtClient.left;
168 point.x = m_rtClient.left +
174 point.x = m_rtClient.left + m_rtClient.width - pPicture->GetWidth();
179 point.x = m_rtClient.left;
184 point.x = m_rtClient.left +
190 point.x = m_rtClient.left + m_rtClient.width - pPicture->GetWidth();
203 point.x = m_rtClient.left;
[all...] |
/external/v8/src/compiler/arm64/ |
instruction-selector-arm64.cc | 14 kArithmeticImm, // 12 bit unsigned immediate shifted left 0 or 12 bits 212 *right_op = g->UseRegister(mright.left().node()); 219 if (selector->CanCover(mright.node(), mright.left().node()) && 220 mright.left().IsWord32Shl()) { 221 Int32BinopMatcher mleft_of_right(mright.left().node()); 226 *right_op = g->UseRegister(mleft_of_right.left().node()); 243 Node* left = index->InputAt(0); 251 *index_op = g->UseRegister(left); 364 inputs[input_count++] = g.UseRegister(m_shift.left().node()); 371 inputs[input_count++] = g.UseRegister(m_shift.left().node()) 1015 Node* left = m.left().node(); local 1066 Node* left = m.left().node(); local 1894 Node* left = node->InputAt(0); local 2048 Node* const left = m.left().node(); local 2432 Node* left = node->InputAt(0); local 2450 Node* left = node->InputAt(0); local [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.cpp | 136 ctx->mViewFrame[dpy].left = 0; 340 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0; 549 int x = rect.left, y = rect.top; 550 int w = rect.right - rect.left; 603 rect.left = x; 605 rect.right = w + rect.left; 633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, 635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, [all...] |
/external/v8/src/compiler/x64/ |
instruction-selector-x64.cc | 313 g.UseRegister(moffset.left().node()), 368 g.UseRegister(moffset.left().node()), 386 Node* left = m.left().node(); local 394 if (left == right) { 402 InstructionOperand const input = g.UseRegister(left); 406 inputs[input_count++] = g.UseRegister(left); 411 std::swap(left, right); 413 inputs[input_count++] = g.UseRegister(left); 454 Emit(kX64Movzxbl, g.DefineAsRegister(node), g.Use(m.left().node())) 508 Node* left = m.left().node(); local 527 Node* left = m.left().node(); local 828 Node* left = m.left().node(); local 846 Node* left = node->InputAt(0); local 1565 Node* left = node->InputAt(0); local 1651 Node* const left = node->InputAt(0); local 1662 Node* const left = node->InputAt(0); local 2036 Node* left = node->InputAt(0); local 2050 Node* left = node->InputAt(0); local [all...] |
/external/v8/src/compiler/ppc/ |
instruction-selector-ppc.cc | 129 inputs[input_count++] = g.UseRegister(m.left().node()); 435 if ((m->left().IsWord32Xor() || m->left().IsWord64Xor()) && left_can_cover) { 436 Matcher mleft(m->left().node()); 440 g.UseRegister(mleft.left().node())); 452 g.UseRegister(m->left().node()), 453 g.UseRegister(mright.left().node())); 496 Node* left = m.left().node(); local 497 if ((m.left().IsWord32Shr() || m.left().IsWord32Shl()) & 535 Node* left = m.left().node(); local 1478 Node* left = node->InputAt(0); local 1516 Node* left = node->InputAt(0); local 1527 Node* left = node->InputAt(0); local 1915 Node* left = node->InputAt(0); local 1931 Node* left = node->InputAt(0); local [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_utils.cpp | 160 ctx->mViewFrame[dpy].left = 0; 363 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0; 616 int x = rect.left, y = rect.top; 617 int w = rect.right - rect.left; 670 rect.left = x; 672 rect.right = w + rect.left; 700 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, 702 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, [all...] |
/external/v8/src/compiler/ |
node-matchers.h | 206 // For shorter pattern matching code, this struct matches both the left and 208 // if they appear on the left hand side of a commutative operation. 209 template <typename Left, typename Right> 220 typedef Left LeftMatcher; 223 const Left& left() const { return left_; } function in struct:v8::internal::compiler::BinopMatcher 226 bool IsFoldable() const { return left().HasValue() && right().HasValue(); } 227 bool LeftEqualsRight() const { return left().node() == right().node(); } 232 node()->ReplaceInput(0, left().node()); 238 if (left().HasValue() && !right().HasValue()) 436 Node* left = m.left().node(); local [all...] |
/external/opencv3/modules/calib3d/src/opencl/ |
stereobm.cl | 92 __global const uchar * left, * right; 94 left = leftptr + idx; 103 costdiff += abs( left[0] - right[0] ); 104 left += cols; 113 costdiff += abs(left[i] - right[i]); 125 __global const uchar * left, * right; 127 left = leftptr + idx; 131 uchar corrner1 = abs(left[0] - right[0]), 132 corrner2 = abs(left[WSZ] - right[WSZ]), 133 corrner3 = abs(left[idx2] - right[idx2]) [all...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 598 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, 600 return subtract(left, right, observer, cookie, null); 615 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, 617 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime; 620 observer.foundNonMonotonic(left, -1, right, -1, cookie); 628 if (recycle != null && recycle.capacity >= left.size) { 633 result = new NetworkStats(deltaRealtime, left.size); 635 for (int i = 0; i < left.size; i++) { 636 entry.iface = left.iface[i]; 637 entry.uid = left.uid[i] [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
test_tools.hpp | 70 // L - left argument 533 template <class Left, class Right> 534 predicate_result equal_impl( Left const& left, Right const& right ) 536 return left == right; 541 predicate_result BOOST_TEST_DECL equal_impl( char const* left, char const* right ); 542 inline predicate_result equal_impl( char* left, char const* right ) { return equal_impl( static_cast<char const*>(left), static_cast<char const*>(right) ); } 543 inline predicate_result equal_impl( char const* left, char* right ) { return equal_impl( static_cast<char const*>(left), static_cast<char const*>(right) ); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Ordering.java | 276 @Override public int compare(Object left, Object right) { 277 if (left == right) { 279 } else if (left == null) { 284 int leftCode = identityHashCode(left); 291 int result = uids.get(left).compareTo(uids.get(right)); 446 @Override public abstract int compare(@Nullable T left, @Nullable T right); 451 * iterator will be left exhausted: its {@code hasNext()} method will return 527 * iterator will be left exhausted: its {@code hasNext()} method will return 704 int left = 0; local 711 while (left < right) [all...] |