/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/e2fsck/ |
dict.c | 51 #define left dict_left macro 69 #define dict_root(D) ((D)->nilnode.left) 77 * Perform a ``left rotation'' adjustment on the tree. The given node P and 78 * its right child C are rearranged so that the P instead becomes the left 79 * 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 861 dnode_t *nil = dict_nil(dict), *root = dict_root(dict), *left; local 895 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 | 52 assertEquals(19, mOutRect.left); 57 assertEquals(24, mOutRect.left); 62 assertEquals(19, mOutRect.left); 67 assertEquals(19, mOutRect.left); 73 assertEquals(19, mOutRect.left); 78 assertEquals(24, mOutRect.left); 83 assertEquals(19, mOutRect.left); 88 assertEquals(19, mOutRect.left); 93 Gravity.apply(Gravity.LEFT, 2, 10, mInRect, mOutRect); 94 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...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_Utils.cpp | 75 rcRet.left = PWL_MIN(rect1.left, rect2.left); 86 return CPDF_Rect(rect.left + x, rect.bottom + y, rect.right + x, 92 return rcChild.left >= rcParent.left && rcChild.bottom >= rcParent.bottom && 98 FX_FLOAT left = rect1.left > rect2.left ? rect1.left : rect2.left local [all...] |
/cts/apps/CameraITS/tests/scene5/ |
test_lens_shading_and_color_uniformity.py | 93 left = int((0.5-spb_r)*w) 95 center_y = numpy.mean(img_y[top:bottom, left:right]) 96 center_r_g = numpy.mean(r_g[top:bottom, left:right]) 97 center_b_g = numpy.mean(b_g[top:bottom, left:right]) 99 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), GREEN, 102 [left+text_offset, bottom-text_offset], 105 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), GREEN, 110 [left+text_offset, bottom-text_offset*2], 140 left = int((spb_ctx-spb_r)*w) 148 block_y = numpy.mean(img_y[top:bottom, left:right] [all...] |
/external/aac/libAACenc/src/ |
chaosmeasure.cpp | 110 FIXP_DBL left,center; /* left, center tap of filter */ local 112 left = (FIXP_DBL)((LONG)paMDCTDataNM0[i]^((LONG)paMDCTDataNM0[i]>>(DFRACT_BITS-1))); 117 FIXP_DBL tmp = (left>>1)+(right>>1); 128 left = center;
|
/external/avahi/man/ |
xmltoman.css | 22 p { margin-left:1cm; margin-right:1cm; } 28 .option .optdesc { margin-left:2cm; }
|
/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/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
gesture_common.js | 17 var bound = { left: client_rect.left, 27 bound.left += frame_bound.left; 59 if (rect.left < 0) { 60 rect.width += rect.left; 61 rect.left = 0; 67 var outsideWidth = (rect.left + rect.width) - windowWidth;
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
common.css | 30 border-left: 1px solid #3366CC; 36 text-align: left;
|
/external/chromium-trace/catapult/third_party/polymer/components/core-tooltip/ |
core-tooltip.css | 68 margin-left: 10px; /* TODO: not specified in spec */ 69 left: 100%; 77 .left { 84 left: calc(50% - 4px); 88 .core-tooltip.left::after { 89 left: 100%; 91 border-left-color: rgba(0,0,0,0.8); 96 left: calc(50% - 4px);
|
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/ |
track.css | 24 left: 2px; 30 left: 3px;
|
/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:__anon7133
|
/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);
|
NullsLastOrdering.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);
|
/external/lzma/CPP/7zip/Common/ |
FilePathAutoRename.cpp | 45 unsigned left = 1, right = (1 << 30);
local 46 while (left != right)
48 unsigned mid = (left + right) / 2;
50 left = mid + 1;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/ |
HasCompoundDrawablesMatcher.java | 16 public HasCompoundDrawablesMatcher(int left, int top, int right, int bottom) { 17 expectedCompoundDrawables = new ShadowTextView.CompoundDrawables(left, top, right, bottom); 42 public static Matcher<TextView> hasCompoundDrawables(int left, int top, int right, int bottom) { 43 return new HasCompoundDrawablesMatcher(left, top, right, bottom);
|
/external/skia/src/core/ |
SkBlitter_Sprite.cpp | 13 void SkSpriteBlitter::setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) { 15 fLeft = left; 44 const SkPixmap& source, int left, int top, SkTBlitterAllocator* allocator) { 48 a bit of a hack, since we "could" pass in the fractional left/top for the bitmap, 78 blitter->setup(dst, left, top, paint);
|
/external/webrtc/webrtc/modules/video_render/ios/ |
video_render_ios_channel.h | 31 const float left,
|