/frameworks/base/media/java/android/media/videoeditor/ |
VideoEditor.java | 246 int left, right, top, bottom; local 257 left = 0; 264 left = (overlayCanvas.getWidth() - newWidth) / 2; 266 right = left + newWidth; 270 destRect = new Rect(left, top, right, bottom); 277 int left, right, top, bottom; local 287 left = 0; 294 left = (mOverlayBitmap.getWidth() - newWidth) / 2; 296 right = left + newWidth; 300 srcRect = new Rect(left, top, right, bottom) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
BackgroundCollisionComponent.java | 142 final int left = mHorizontalOffset; local 144 final int right = left + mWidth; 146 final float centerOffsetX = ((mWidth) / 2.0f) + left; 169 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left, 180 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left, 188 if (mCurrentPosition.x + left < 0.0f) { 189 mCurrentPosition.x = (-left + 1); 250 float xStart = left; 254 xEnd = left; 274 mCurrentPosition.x = (mHorizontalHitPoint.x - left); [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tls_common.c | 284 const u8 **pos, size_t *left) 287 const u8 *end = *pos + *left; 290 if (*left < 4) { 299 *left -= 4; 301 if (*left > tls_msg_len) { 304 "bytes)", (int) tls_msg_len, (int) *left); 313 if (*left != 0) { 384 size_t left; local 390 &left); 393 &left); [all...] |
/frameworks/native/include/private/ui/ |
RegionHelper.h | 81 TYPE left, right; local 82 int inside = spannerInner.next(current.left, current.right); 84 if (current.left < current.right && 234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 248 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 252 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 263 inline int next(TYPE& left, TYPE& right) 267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); 279 void advance(region& reg, TYPE& left, TYPE& right) [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 125 // make up a rect at top left or bottom right of root 273 * @param direction the direction (up, down, left, right) 330 // for example, for direction left, if rect1 is to the left of the source 362 * checks whether the dest is at least partially to the direction of (e.g left of) 371 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 372 && srcRect.left > destRect.left; 374 return (srcRect.left < destRect.left || srcRect.right <= destRect.left [all...] |
/external/valgrind/main/coregrind/ |
m_oset.c | 42 // - First is the AVL metadata, which is three words: a left pointer, a 99 AvlNode* left; member in struct:_OSetNode 203 // Swing to the left. Warning: no balance maintainance. 209 a->right = b->left; 210 b->left = a; 217 AvlNode* b = a->left; 219 a->left = b->right; 228 root->left->balance = 0; 232 root->left->balance =-1; 236 root->left->balance = 0 [all...] |
/cts/suite/pts/deviceTests/browserbench/assets/octane/css/ |
docs.css | 25 padding-left: 0; 26 margin-left: 20px; 50 background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 51 background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 52 background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 53 background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 100 margin-left: 5%; 125 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */ 143 border-left: 1px solid #f5f5f5 [all...] |
/external/chromium/chrome/browser/ui/views/bubble/ |
bubble_border.cc | 40 border_size.Enlarge(insets.left() + insets.right(), 119 int left = left_->width(); local 134 left = std::max(left, left_arrow_->width()); 147 insets->Set(top, left, bottom, right); 154 border_size.Enlarge(insets.left() + insets.right(), 217 const int left = insets.left() - l_width; local 220 const int width = right - left; 234 // Left edge [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
timelinePanel.css | 33 left: 0; 55 left: 0; 68 left: 0; 97 left: 0; 105 left: 0; 134 padding-left: 6px; 167 margin-left: 1px; 186 padding-left: 5px; 195 border-left: 1px solid rgb(163, 163, 163); 198 .timeline-expandable-left { [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
BinTree.h | 42 m_Stack.push(m_pNode->left); 58 m_Stack.push(m_pNode->left); 77 m_Queue.push(m_pNode->left); 93 m_Queue.push(m_pNode->left); 274 // | |left | 277 // | Left Right | 291 node.left = node.right = &node; 305 if ((*data).left == &pClient.node) 306 (*data).left = &node; 322 result->left = result->right = &m_Root.node [all...] |
/external/chromium_org/chrome/browser/resources/ |
about_memory.css | 28 margin-left: -38px; 38 padding-left: 0.35em; 63 padding-left: 37px; 73 padding-left: 0.4em; 98 float: left; 99 margin-left: 26px; 107 margin-left: 0; 119 padding-left: 0.1em; 174 text-align: left; 179 text-align: left; [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
search_page.css | 15 left: 0; 40 left: -1px; 59 left: 53px;
|
/external/chromium_org/native_client_sdk/src/examples/resources/ |
index.css | 20 .header, .footer, .left-border, .right-border { 31 .left-border, .right-border { 78 padding-left: 8px;
|
/external/chromium_org/third_party/flot/ |
jquery.flot.crosshair.min.js | 1 (function(b){var a={crosshair:{mode:null,color:"rgba(170, 0, 0, 0.80)",lineWidth:1}};function c(h){var j={x:-1,y:-1,locked:false};h.setCrosshair=function e(l){if(!l){j.x=-1}else{var k=h.p2c(l);j.x=Math.max(0,Math.min(k.left,h.width()));j.y=Math.max(0,Math.min(k.top,h.height()))}h.triggerRedrawOverlay()};h.clearCrosshair=h.setCrosshair;h.lockCrosshair=function f(k){if(k){h.setCrosshair(k)}j.locked=true};h.unlockCrosshair=function g(){j.locked=false};function d(k){if(j.locked){return}if(j.x!=-1){j.x=-1;h.triggerRedrawOverlay()}}function i(k){if(j.locked){return}if(h.getSelection&&h.getSelection()){j.x=-1;return}var l=h.offset();j.x=Math.max(0,Math.min(k.pageX-l.left,h.width()));j.y=Math.max(0,Math.min(k.pageY-l.top,h.height()));h.triggerRedrawOverlay()}h.hooks.bindEvents.push(function(l,k){if(!l.getOptions().crosshair.mode){return}k.mouseout(d);k.mousemove(i)});h.hooks.drawOverlay.push(function(m,k){var n=m.getOptions().crosshair;if(!n.mode){return}var l=m.getPlotOffset();k.save();k.translate(l.left,l.top);if(j.x!=-1){k.strokeStyle=n.color;k.lineWidth=n.lineWidth;k.lineJoin="round";k.beginPath(); (…)
|
/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 96 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) { 98 if (xy.fX == left) { 108 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) { 112 if (!AlmostBetweenUlps(left, xy.fX, right)) { 115 double t = (xy.fX - left) / (right - left);
|
/external/icu4c/layout/ |
KernTable.cpp | 22 le_uint16 left; // left glyph of kern pair member in struct:PairInfo 28 #define SWAP_KEY(p) (((le_uint32) SWAPW((p)->left) << 16) | SWAPW((p)->right)) 138 le_uint16 left = p->left; local 141 if (left < 256 && right < 256) { 142 char c = ids[left];
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
DefaultHdfParser.java | 57 output.setValue(createFullPath(context, split.left), split.right); 63 output.setValue(createFullPath(context, split.left), readToToken(lineReader, split.right)); 67 context.add(split.left); 74 output.setSymlink(createFullPath(context, split.left), split.right); 124 result.left = line.substring(0, position).trim(); 133 String left; field in class:DefaultHdfParser.Split
|
/external/libvpx/libvpx/tools/ |
diff.py | 46 self.left = DiffLines(file_a, start_a, len_a) 53 self.left.Append(line) 57 self.left.Append(line) 65 return self.left.Complete() and self.right.Complete() 69 self.left.filename, self.right.filename, 70 max(self.left.length, self.right.length))
|
/external/libvpx/libvpx/vp8/common/ |
findnearmv.c | 37 const MODE_INFO *left = here - 1; local 61 /* Process left */ 62 if (left->mbmi.ref_frame != INTRA_FRAME) 64 if (left->mbmi.mv.as_int) 68 this_mv.as_int = left->mbmi.mv.as_int; 69 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 83 /* Process above left */ 108 /* See if above-left MV can be merged with NEAREST */ 114 + (left->mbmi.mode == SPLITMV)) * 2
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
ObjectInputStreamInstantiator.java | 133 int left = len; local 136 while(remaining <= left) { 139 left -= remaining; 143 if(left > 0) { 144 System.arraycopy(data, pointer, b, off, left); 145 pointer += left;
|
/external/oprofile/libpopt/ |
popthelp.c | 230 char * left; local 239 left = malloc(nb); 240 if (left == NULL) return; /* XXX can't happen */ 241 left[0] = '\0'; 242 left[maxLeftCol] = '\0'; 245 sprintf(left, "-%c, %s%s", opt->shortName, 249 sprintf(left, "-%c", opt->shortName); 251 sprintf(left, "%s%s", 254 if (!*left) goto out; 257 char * le = left + strlen(left) [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 96 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) { 98 if (xy.fX == left) { 108 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) { 112 if (!AlmostBetweenUlps(left, xy.fX, right)) { 115 double t = (xy.fX - left) / (right - left);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterCropRepresentation.java | 69 || mCrop.left != crop.mCrop.left 97 crop.left *= bitmapWidth; 108 crop.left /= bitmapWidth; 155 writer.name(BOUNDS[0]).value(mCrop.left); 168 mCrop.left = (float) reader.nextDouble();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ButtonDropTarget.java | 134 final int left; local 139 left = right - width; 141 left = to.left + getPaddingLeft(); 142 right = left + width; 148 to.set(left, top, right, bottom);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 138 final int left; local 143 left = right - width; 145 left = to.left + getPaddingLeft(); 146 right = left + width; 152 to.set(left, top, right, bottom);
|