/system/media/audio_utils/include/audio_utils/ |
minifloat.h | 41 static inline gain_minifloat_packed_t gain_minifloat_pack(gain_minifloat_t left, 44 return (right << 16) | left;
|
/external/harfbuzz_ng/src/ |
hb-ot-kern-table.hh | 43 hb_codepoint_t left; member in struct:OT::hb_glyph_pair_t 54 int ret = left.cmp (o.left); 66 GlyphID left; member in struct:OT::KernPair 75 inline int get_kerning (hb_codepoint_t left, hb_codepoint_t right) const 77 hb_glyph_pair_t pair = {left, right}; 115 inline int get_kerning (hb_codepoint_t left, hb_codepoint_t right, const char *end) const 117 unsigned int l = (this+leftClassTable).get_class (left); 118 unsigned int r = (this+leftClassTable).get_class (left); 142 * left-hand class table. * [all...] |
/external/webp/src/enc/ |
picture_rescale_enc.c | 38 // Adjust top-left corner to chroma sample position. 40 int* const left, int* const top) { 42 *left &= ~1; 47 // Adjust top-left corner and verify that the sub-rectangle is valid. 49 int* const left, int* const top, 51 SnapTopLeftPosition(pic, left, top); 52 if ((*left) < 0 || (*top) < 0) return 0; 54 if ((*left) + width > pic->width) return 0; 94 int left, int top, int width, int height, 99 if (!AdjustAndCheckRectangle(src, &left, &top, width, height)) return 0 [all...] |
/external/libjpeg-turbo/doc/html/search/ |
search.css | 4 float: left; 19 #MSearchBox .left 23 left:10px; 37 .left #MSearchSelect { 38 left:4px; 52 margin-left:20px; 53 padding-left:4px; 60 margin-left:15px; 71 background-position:left; 85 .left #MSearchClose [all...] |
/external/pdfium/xfa/fxfa/ |
cxfa_imagerenderer.cpp | 63 dest_left = dest_width > 0 ? image_rect.left : image_rect.right; 84 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, 85 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); 89 CompositeDIBitmap(pStretched, dest_rect.left, dest_rect.top); 104 m_pDevice->SetBitMask(pBitmap, m_pTransformer->result().left, 107 m_pDevice->SetDIBitsWithBlend(pBitmap, m_pTransformer->result().left, 121 int left, 127 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) 129 } else if (m_pDevice->SetBitMask(pDIBitmap, left, top, 0)) [all...] |
/external/v8/src/compiler/ |
machine-operator-reducer.cc | 170 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x 173 base::bits::RotateRight32(m.left().Value(), m.right().Value())); 180 return ReplaceBool(m.left().Value() == m.right().Value()); 182 if (m.left().IsInt32Sub() && m.right().Is(0)) { // x - y == 0 => x == y 183 Int32BinopMatcher msub(m.left().node()); 184 node->ReplaceInput(0, msub.left().node()); 195 return ReplaceBool(m.left().Value() == m.right().Value()); 197 if (m.left().IsInt64Sub() && m.right().Is(0)) { // x - y == 0 => x == y 198 Int64BinopMatcher msub(m.left().node()); 199 node->ReplaceInput(0, msub.left().node()) [all...] |
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViESurfaceRenderer.java | 56 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth); 68 " srcRect.left:" + srcRect.left + 72 " dstRect.left:" + dstRect.left + 83 changeDestRect(dst.right - dst.left, dst.bottom - dst.top); 85 " dst.left:" + dst.left + 89 " srcRect.left:" + srcRect.left [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilter.java | 87 int left = (tempRect.left+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; local 95 if (left < 0) { 96 left = 0; 97 } else if (left > dims[0]) { 98 left = dims[0]; 112 // Left edge 113 if (left > 0 && top > 0) { 114 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + left) + 116 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + left) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilterTest.java | 89 int left = (faceRect.left+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE; local 97 if (left < 0) { 98 left = 0; 99 } else if (left > bitmap.getWidth()) { 100 left = bitmap.getWidth(); 114 // Left edge 115 if (left > 0 && top > 0) { 116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) + 118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
LayoutRenderer.java | 70 g.clipRect(insets.left, insets.top, 71 getWidth() - insets.left - insets.right, 83 int x = (getWidth() - insets.left - insets.right - root.width) / 2; 85 g.translate(insets.left + x, insets.top + y); 88 g.drawRect(root.left, root.top, root.width - 1, root.height - 1); 89 g.clipRect(root.left - 1, root.top - 1, root.width + 1, root.height + 1); 99 s.translate(p.left - p.scrollX, p.top - p.scrollY); 103 s.drawImage(node.image, node.left, node.top, null); 105 s.drawRect(node.left, node.top, node.width - 1, node.height - 1); 109 g.translate(-insets.left - x, -insets.top - y) [all...] |
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/ |
FixedTableModelTest.java | 85 assertEquals(0f, cellRect.left);
92 assertEquals(300f, cellRect.left);
99 assertEquals(600f, cellRect.left);
106 assertEquals(0f, cellRect.left);
113 assertEquals(300f, cellRect.left);
124 assertEquals(0f, cellRect.left);
131 assertEquals(300f, cellRect.left);
138 assertEquals(600f, cellRect.left);
145 assertEquals(0f, cellRect.left);
152 assertEquals(300f, cellRect.left);
[all...] |
/external/e2fsprogs/lib/support/ |
dict.c | 57 #define left dict_left macro 75 #define dict_root(D) ((D)->nilnode.left) 83 * Perform a ``left rotation'' adjustment on the tree. The given node P and 84 * its right child C are rearranged so that the P instead becomes the left 85 * child of C. The left subtree of C is inherited as the new right subtree 94 upper->right = lowleft = lower->left; 100 the sentinel nil node, and root->parent->left points back to root */ 102 if (upper == upparent->left) { 103 upparent->left = lower; 109 lower->left = upper 867 dnode_t *nil = dict_nil(dict), *root = dict_root(dict), *left; local 901 dnode_t *nil = dict_nil(dict), *parent, *left; local [all...] |
/external/f2fs-tools/fsck/ |
dict.c | 52 #define left dict_left macro 70 #define dict_root(D) ((D)->nilnode.left) 78 * Perform a ``left rotation'' adjustment on the tree. The given node P and 79 * its right child C are rearranged so that the P instead becomes the left 80 * child of C. The left subtree of C is inherited as the new right subtree 88 upper->right = lowleft = lower->left; 94 the sentinel nil node, and root->parent->left points back to root */ 96 if (upper == upparent->left) { 97 upparent->left = lower; 103 lower->left = upper 840 dnode_t *nil = dict_nil(dict), *root = dict_root(dict), *left; local 872 dnode_t *nil = dict_nil(dict), *parent, *left; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 37 float x = bounds.left + stepX; 44 canvas.drawLine(bounds.left, y, bounds.right, y, p); 67 r.set(0,bounds.top,bounds.left,h); 69 r.set(bounds.left,bounds.bottom,w,h); 77 int left = (int) centerX - indicatorSize / 2; local 79 indicator.setBounds(left, top, left + indicatorSize, top + indicatorSize); 88 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.top); 94 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.bottom); 107 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.centerY()) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
GravityTest.java | 62 assertEquals(19, mOutRect.left); 67 assertEquals(24, mOutRect.left); 72 assertEquals(19, mOutRect.left); 77 assertEquals(19, mOutRect.left); 83 assertEquals(19, mOutRect.left); 88 assertEquals(24, mOutRect.left); 93 assertEquals(19, mOutRect.left); 98 assertEquals(19, mOutRect.left); 103 Gravity.apply(Gravity.LEFT, 2, 10, mInRect, mOutRect); 104 assertEquals(10, mOutRect.left); [all...] |
/external/opencv/cv/src/ |
cvutils.cpp | 113 int top, int left, int cn, const uchar* ) 118 if( srcstep == dststep && dst + dststep*top + left*cn == src && 132 return ifunc( src, srcstep, srcroi, dstroi, top, left ); 147 return func( src, srcstep, srcroi, dst, dststep, dstroi, top, left ); 161 left *= cn; 165 if( idst + left != isrc ) 167 idst[j + left] = isrc[j]; 168 for( j = left - 1; j >= 0; j-- ) 170 for( j = left+srcroi.width; j < dstroi.width; j++ ) 180 left *= cn [all...] |
/cts/apps/CameraITS/tests/scene5/ |
test_lens_shading_and_color_uniformity.py | 96 left = int((0.5-spb_r)*w) 98 center_y = numpy.mean(img_y[top:bottom, left:right]) 99 center_r_g = numpy.mean(r_g[top:bottom, left:right]) 100 center_b_g = numpy.mean(b_g[top:bottom, left:right]) 102 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), GREEN, 105 [left+text_offset, bottom-text_offset], 108 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), GREEN, 113 [left+text_offset, bottom-text_offset*2], 143 left = int((spb_ctx-spb_r)*w) 151 block_y = numpy.mean(img_y[top:bottom, left:right] [all...] |
/external/libnl/lib/route/cls/ematch/ |
meta.c | 35 struct rtnl_meta_value * left; member in struct:meta_data 95 m->left = v; 139 v = meta_alloc(TCF_META_TYPE(hdr->left.kind), 140 TCF_META_ID(hdr->left.kind), 141 hdr->left.shift, vdata, vlen); 145 m->left = v; 157 rtnl_meta_value_put(m->left); 162 m->opnd = hdr->left.op; 273 dump_value(m->left, p); 286 if (!(m->left && m->right) [all...] |
/device/google/marlin/camera/QCamera2/HAL/tsMakeuplib/include/ |
ts_makeup_data.h | 33 long left; member in struct:__tag_tsrect
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
X509NameEntryConverter.java | 69 char left = str.charAt((index * 2) + off); local 72 if (left < 'a') 74 data[index] = (byte)((left - '0') << 4); 78 data[index] = (byte)((left - 'a' + 10) << 4);
|
/external/clang/include/clang/Basic/ |
TargetCXXABI.h | 210 /// Are arguments to a call destroyed left to right in the callee? 343 friend bool operator==(const TargetCXXABI &left, const TargetCXXABI &right) { 344 return left.getKind() == right.getKind(); 347 friend bool operator!=(const TargetCXXABI &left, const TargetCXXABI &right) { 348 return !(left == right);
|
/external/clang/test/CodeGen/ |
2002-02-14-EntryNodePreds.c | 19 QUAD_EDGE left, right; member in struct:__anon15739
|
/external/clang/test/CodeGenCXX/ |
stack-reuse-miscompile.cpp | 13 S left; member in class:T
|
/external/clang/www/ |
menu.css | 7 float:left; 11 margin-left:29ex;
|
/external/guava/guava/src/com/google/common/collect/ |
NullsFirstOrdering.java | 34 @Override public int compare(@Nullable T left, @Nullable T right) { 35 if (left == right) { 38 if (left == null) { 44 return ordering.compare(left, right);
|