/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallTypeIconsView.java | 104 int left = 0; local 107 final int right = left + drawable.getIntrinsicWidth(); 108 drawable.setBounds(left, 0, right, drawable.getIntrinsicHeight()); 110 left = right + mResources.iconMargin;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLView.java | 192 return mBounds.right - mBounds.left; 271 int xoffset = component.mBounds.left - mScrollX; 298 int left = rect.left; local 301 event.offsetLocation(-left, -top); 303 event.offsetLocation(left, top); 306 event.offsetLocation(left, top); 348 public void layout(int left, int top, int right, int bottom) { 349 boolean sizeChanged = setBounds(left, top, right, bottom); 355 onLayout(sizeChanged, left, top, right, bottom) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnClause.java | 67 new WnnPOS(stem.partOfSpeech.left, fzk.partOfSpeech.right),
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
resourcesPanel.css | 35 padding-left: 0; 50 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177))); 56 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(92, 147, 213)), to(rgb(21, 83, 170))); 61 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(180, 180, 180)), to(rgb(138, 138, 138))); 68 float: left; 75 padding-left: 2px; 83 left: 0 [all...] |
timelinePanel.css | 85 left: 0; 109 padding-left: 5px; 128 border-left: 1px solid rgb(163, 163, 163); 132 .timeline-expandable-left { 136 left: 0; 153 left: -1px; 178 left: 2px; 196 padding-left: 5px; 206 left: 1px; 243 padding-left: 4px [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
rbtree.py | 44 __slots__ = ['key', 'value', 'red', 'left', 'right'] 50 self.left = None 54 self.left = None 60 """ x.__getitem__(key) <==> x[key], where key is 0 (left) or 1 (right) """ 61 return self.left if key == 0 else self.right 64 """ x.__setitem__(key, value) <==> x[key]=value, where key is 0 (left) or 1 (right) """ 66 self.left = value 129 _clear(node.left) 173 elif is_red(node.left) and is_red(node.right): # Color flip 175 node.left.red = Fals [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter.cpp | 270 void SkRectClipBlitter::blitH(int left, int y, int width) { 277 int right = left + width; 279 if (left < fClipRect.fLeft) { 280 left = fClipRect.fLeft; 286 width = right - left; 288 fBlitter->blitH(left, y, width); 292 void SkRectClipBlitter::blitAntiH(int left, int y, const SkAlpha aa[], 294 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { 298 int x0 = left; 299 int x1 = left + compute_anti_width(runs) [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsLine.cpp | 31 // isLeft(): tests if a point is Left|On|Right of an infinite line. 33 // Return: >0 for P2 left of the line through P0 and P1 123 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) { 125 if (xy.fX == left) { 135 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) { 139 if (!AlmostBetweenUlps(left, xy.fX, right)) { 142 double t = (xy.fX - left) / (right - left); 145 double realPtX = (1 - t) * left + t * right; 149 double tiniest = SkTMin(SkTMin(y, left), right) [all...] |
SkIntersections.h | 70 int cubicHorizontal(const SkPoint a[4], SkScalar left, SkScalar right, SkScalar y, 75 return horizontal(cubic, left, right, y, flipped); 120 int lineHorizontal(const SkPoint a[2], SkScalar left, SkScalar right, SkScalar y, 125 return horizontal(line, left, right, y, flipped); 147 int quadHorizontal(const SkPoint a[3], SkScalar left, SkScalar right, SkScalar y, 152 return horizontal(quad, left, right, y, flipped); 219 int horizontal(const SkDLine&, double left, double right, double y, bool flipped); 220 int horizontal(const SkDQuad&, double left, double right, double y, bool flipped); 221 int horizontal(const SkDQuad&, double left, double right, double y, double tRange[2]); 223 int horizontal(const SkDCubic&, double left, double right, double y, bool flipped) [all...] |
/external/skia/src/core/ |
SkBlitter.cpp | 270 void SkRectClipBlitter::blitH(int left, int y, int width) { 277 int right = left + width; 279 if (left < fClipRect.fLeft) { 280 left = fClipRect.fLeft; 286 width = right - left; 288 fBlitter->blitH(left, y, width); 292 void SkRectClipBlitter::blitAntiH(int left, int y, const SkAlpha aa[], 294 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { 298 int x0 = left; 299 int x1 = left + compute_anti_width(runs) [all...] |
/external/skia/src/pathops/ |
SkPathOpsLine.cpp | 31 // isLeft(): tests if a point is Left|On|Right of an infinite line. 33 // Return: >0 for P2 left of the line through P0 and P1 123 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) { 125 if (xy.fX == left) { 135 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) { 139 if (!AlmostBetweenUlps(left, xy.fX, right)) { 142 double t = (xy.fX - left) / (right - left); 145 double realPtX = (1 - t) * left + t * right; 149 double tiniest = SkTMin(SkTMin(y, left), right) [all...] |
SkIntersections.h | 70 int cubicHorizontal(const SkPoint a[4], SkScalar left, SkScalar right, SkScalar y, 75 return horizontal(cubic, left, right, y, flipped); 120 int lineHorizontal(const SkPoint a[2], SkScalar left, SkScalar right, SkScalar y, 125 return horizontal(line, left, right, y, flipped); 147 int quadHorizontal(const SkPoint a[3], SkScalar left, SkScalar right, SkScalar y, 152 return horizontal(quad, left, right, y, flipped); 219 int horizontal(const SkDLine&, double left, double right, double y, bool flipped); 220 int horizontal(const SkDQuad&, double left, double right, double y, bool flipped); 221 int horizontal(const SkDQuad&, double left, double right, double y, double tRange[2]); 223 int horizontal(const SkDCubic&, double left, double right, double y, bool flipped) [all...] |
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 52 short left; member in struct:__anon30805 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;
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropMath.java | 42 r.left, r.top, 45 r.left, r.bottom 61 return !(x > r.right || x < r.left || y > r.bottom || y < r.top); 77 r.left = (x < r.left) ? x : r.left; 98 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); 201 r.left = r.centerX() - finalW / 2; 202 r.right = r.left + finalW;
|
/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;
|
/external/pixman/pixman/ |
pixman-trap.c | 383 pixman_line_fixed_edge_init (&l, bpp, t, &trap->left, x_off, y_off); 459 EXTEND(trap->left.p1.x); 460 EXTEND(trap->left.p2.x); 581 const pixman_point_fixed_t *top, *left, *right, *tmp; local 584 left = &tri->p2; 587 if (greater_y (top, left)) 589 tmp = left; 590 left = top; 601 if (clockwise (top, right, left)) 604 right = left; [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s3_pkt.c | 35 * The word 'cryptographic' can be left out if the rouines from the library 133 int i,len,left; local 145 left = rb->left; 154 if (left == 0) 156 else if (align != 0 && left >= SSL3_RT_HEADER_LENGTH) 171 memmove (rb->buf+align,pkt,left); 185 if (left > 0 && n > left) 186 n = left; [all...] |
/external/openssl/ssl/ |
s3_pkt.c | 35 * The word 'cryptographic' can be left out if the rouines from the library 133 int i,len,left; local 145 left = rb->left; 154 if (left == 0) 156 else if (align != 0 && left >= SSL3_RT_HEADER_LENGTH) 171 memmove (rb->buf+align,pkt,left); 185 if (left > 0 && n > left) 186 n = left; [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/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
PopupZoomer.java | 85 // The time that was left for the outwards animation to finish. 326 float l = mTouch.x - mScale * (mTouch.x - mTargetBounds.left); 348 // to the left instead of right. 349 if (mClipRect.left < ZOOM_BOUNDS_MARGIN) { 350 mShiftX = ZOOM_BOUNDS_MARGIN - mClipRect.left; 351 mClipRect.left += mShiftX; 356 mClipRect.left += mShiftX; 374 if (mViewClipRect.left + mShiftX > mClipRect.left) { 375 mMaxScrollX = mViewClipRect.left - mClipRect.left [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 297 int left, int top, int right, int bottom) { 303 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 338 rect.left = rect.top = rect.right = rect.bottom = 0 [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
AccelerometerTestRenderer.java | 110 // left face 170 * @param left the left operand of the cross product 175 public static void crossProduct(float[] left, float[] right, float[] out) { 176 out[0] = left[1] * right[2] - left[2] * right[1]; 177 out[1] = left[2] * right[0] - left[0] * right[2]; 178 out[2] = left[0] * right[1] - left[1] * right[0] [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
LayoutRect.h | 97 m_location.move(-box.left(), -box.top()); 98 m_size.expand(box.left() + box.right(), box.top() + box.bottom()); 104 m_location.move(box.left(), box.top()); 105 m_size.shrink(box.left() + box.right(), box.top() + box.bottom()); 213 inline IntRect pixelSnappedIntRect(LayoutUnit left, LayoutUnit top, LayoutUnit width, LayoutUnit height) 215 return IntRect(left.round(), top.round(), snapSizeToPixel(width, left), snapSizeToPixel(height, top)); 218 inline IntRect pixelSnappedIntRectFromEdges(LayoutUnit left, LayoutUnit top, LayoutUnit right, LayoutUnit bottom) 220 return IntRect(left.round(), top.round(), snapSizeToPixel(right - left, left), snapSizeToPixel(bottom - top, top)) [all...] |
/external/opencv/cv/src/ |
cvstereogc.cpp | 399 cvReleaseMat( &state->left ); 441 static void icvInitGraySubpix( const CvMat* left, const CvMat* right, 444 int k, x, y, rows = left->rows, cols = left->cols; 448 const CvMat* src = k == 0 ? left : right; 489 int x, y, x1, d, i, j, rows = state->left->rows, cols = state->left->cols, n = 0; 496 const uchar* lptr = state->left->data.ptr + state->left->step*y; 528 int x, y, rows = state->left->rows, cols = state->left->cols 534 const uchar* left = state->left->data.ptr; local 699 const uchar* left = left0 + step*y; local 852 CvMat lstub, *left = cvGetMat( _left, &lstub ); local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
random.c | 158 size_t left; local 169 left = len; 170 while (left) { 176 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; 179 left -= siz; 184 left = len; 185 while (left) { 195 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; [all...] |