/packages/apps/Camera2/src/com/android/camera/crop/ |
CropObject.java | 203 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left; 209 dx = Math.max(crop.right + dX, crop.left + minWidthHeight) 210 - crop.right; 222 crop.right, crop.top 249 crop.right += dx; 266 float right = Math.abs(x - cropped.right); local 271 // Check left or right. 273 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) { 276 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropObject.java | 205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left; 211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight) 212 - crop.right; 224 crop.right, crop.top 251 crop.right += dx; 268 float right = Math.abs(x - cropped.right); local 273 // Check left or right. 275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) { 278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
partition.h | 69 _GLIBCXX_VOLATILE difference_type left = 0, right = n - 1; local 81 if(right - left + 1 >= 2 * num_threads * chunk_size) 98 while (right - left + 1 >= 2 * num_threads * chunk_size) 102 difference_type num_chunks = (right - left + 1) / chunk_size; 129 if (left + (chunk_size - 1) > right) 143 if (left > right - (chunk_size - 1)) 147 thread_right = right; 148 thread_right_border = right - (chunk_size - 1); 149 right -= chunk_size; 178 // Now swap the leftover chunks to the right places [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkRect.h | 61 int right() const { return fRight; } function in struct:SkIRect 70 * (i.e. left <= right) so the result may be negative. 82 * method is defined to return (right + left) >> 1. 85 * (right + left) / 2 when the sum is negative. 125 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { 128 fRight = right; 132 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { 133 this->set(left, top, right, bottom); 153 * be max 32bit and right will be min 32bit). 160 /** Offset set the rectangle by adding dx to its left and right, [all...] |
/external/skia/include/core/ |
SkRect.h | 61 int right() const { return fRight; } function in struct:SkIRect 70 * (i.e. left <= right) so the result may be negative. 82 * method is defined to return (right + left) >> 1. 85 * (right + left) / 2 when the sum is negative. 125 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { 128 fRight = right; 132 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { 133 this->set(left, top, right, bottom); 153 * be max 32bit and right will be min 32bit). 160 /** Offset set the rectangle by adding dx to its left and right, [all...] |
/cts/suite/pts/deviceTests/browserbench/assets/octane/ |
splay.js | 58 right: GeneratePayloadTree(depth - 1, tag) 97 // Verify that the splay tree has the right size. 174 node.right = this.root_.right; 175 this.root_.right = null; 177 node.right = this.root_; 203 this.root_ = this.root_.right; 205 var right = this.root_.right; 207 // Splay to make sure that the new root has an empty right child [all...] |
/external/chromium_org/cc/layers/ |
tiled_layer.h | 89 int right, 95 int right, 102 int right, 107 int right, 113 int right,
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-splay.js | 53 right: GeneratePayloadTree(depth - 1, tag) 92 // Verify that the splay tree has the right size. 169 node.right = this.root_.right; 170 this.root_.right = null; 172 node.right = this.root_; 198 this.root_ = this.root_.right; 200 var right = this.root_.right; 202 // Splay to make sure that the new root has an empty right child [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
OverviewGrid.js | 112 * @param {number} right 114 setWindow: function(left, right) 116 this._window._setWindow(left, right); 182 this._rightResizeElement = parentElement.createChild("div", "overview-grid-window-resizer overview-grid-window-resizer-right"); 183 this._rightResizeElement.style.right = 0; 201 this._overviewWindowBordersElement.style.right = "0%"; 358 var right = windowRight; 367 right = ((windowRight + windowLeft) + width * factor) / 2; 373 this._rightResizeElement.style.left = right * 100 + "%"; 377 this._overviewWindowElement.style.width = (right - left) * 100 + "%" [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
closebrackets.js | 40 for (var i = 0; i < pairs.length; i += 2) (function(left, right) { 41 if (left != right) closingBrackets += right; 44 cm.replaceSelection(left + selection + right); 48 if (ahead != right || cm.somethingSelected()) return CodeMirror.Pass; 55 if (left == right && maybeOverwrite(cm) != CodeMirror.Pass) return; 58 if (left == right && CodeMirror.isWordChar(curChar)) 61 cm.replaceSelection(left + right, {head: ahead, anchor: ahead}); 65 if (left != right) map["'" + right + "'"] = maybeOverwrite [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
tztrans.cpp | 55 TimeZoneTransition::operator=(const TimeZoneTransition& right) { 56 if (this != &right) { 57 fTime = right.fTime; 58 setFrom(*right.fFrom); 59 setTo(*right.fTo);
|
/external/chromium_org/v8/benchmarks/ |
splay.js | 58 right: GeneratePayloadTree(depth - 1, tag) 97 // Verify that the splay tree has the right size. 174 node.right = this.root_.right; 175 this.root_.right = null; 177 node.right = this.root_; 203 this.root_ = this.root_.right; 205 var right = this.root_.right; 207 // Splay to make sure that the new root has an empty right child [all...] |
/external/clang/include/clang/Basic/ |
ObjCRuntime.h | 183 // Right now, this is always equivalent to whether the runtime 297 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) { 298 return left.getKind() == right.getKind() && 299 left.getVersion() == right.getVersion(); 302 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) { 303 return !(left == right);
|
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedInts.java | 128 // For pre-sizing a builder, just get the right order of magnitude 157 public int compare(int[] left, int[] right) { 158 int minLength = Math.min(left.length, right.length); 160 if (left[i] != right[i]) { 161 return UnsignedInts.compare(left[i], right[i]); 164 return left.length - right.length;
|
/external/icu4c/i18n/ |
tztrans.cpp | 55 TimeZoneTransition::operator=(const TimeZoneTransition& right) { 56 if (this != &right) { 57 fTime = right.fTime; 58 setFrom(*right.fFrom); 59 setTo(*right.fTo);
|
/external/llvm/docs/_static/ |
llvm.css | 11 address img { float: right; width: 88px; height: 31px; } 12 address { clear: right; } 16 margin-right: 1em; margin-bottom: 1em; } 54 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt } 81 h2+div, h2+p {text-align: left; padding-left: 20pt; padding-right: 10pt;} 82 h3+div, h3+p {text-align: left; padding-left: 20pt; padding-right: 10pt;} 83 h4+div, h4+p {text-align: left; padding-left: 20pt; padding-right: 10pt;} 98 tr.layout, td.layout, td.left, td.right 101 td.right { text-align: right } [all...] |
/external/openfst/src/lib/ |
symbol-table-ops.cc | 21 SymbolTable *MergeSymbolTable(const SymbolTable &left, const SymbolTable &right, 24 // copied version of SymbolTable of left or right if either symbol table is 27 right.Name()); 34 int64 key = right.Find(liter.Symbol()); 47 return right.Copy(); 49 // add all symbols we can from right symbol table 51 SymbolTableIterator riter(right);
|
/external/v8/benchmarks/ |
splay.js | 58 right: GeneratePayloadTree(depth - 1, tag) 97 // Verify that the splay tree has the right size. 174 node.right = this.root_.right; 175 this.root_.right = null; 177 node.right = this.root_; 203 this.root_ = this.root_.right; 205 var right = this.root_.right; 207 // Splay to make sure that the new root has an empty right child [all...] |
/frameworks/rs/scriptc/ |
rs_math.rsh | 95 * @param right plane 103 float4 *left, float4 *right, 112 right->x = viewProj->m[3] - viewProj->m[0]; 113 right->y = viewProj->m[7] - viewProj->m[4]; 114 right->z = viewProj->m[11] - viewProj->m[8]; 115 right->w = viewProj->m[15] - viewProj->m[12]; 139 len = length(right->xyz); 140 *right /= len; 155 * @param right plane 163 float4 *left, float4 *right, [all...] |
/prebuilts/sdk/renderscript/include/ |
rs_math.rsh | 95 * @param right plane 103 float4 *left, float4 *right, 112 right->x = viewProj->m[3] - viewProj->m[0]; 113 right->y = viewProj->m[7] - viewProj->m[4]; 114 right->z = viewProj->m[11] - viewProj->m[8]; 115 right->w = viewProj->m[15] - viewProj->m[12]; 139 len = length(right->xyz); 140 *right /= len; 155 * @param right plane 163 float4 *left, float4 *right, [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
BstTesting.java | 19 import static com.google.common.collect.BstSide.RIGHT; 39 SimpleNode(Character key, @Nullable SimpleNode left, @Nullable SimpleNode right) { 40 super(key, left, right); 54 && Objects.equal(childOrNull(RIGHT), node.childOrNull(RIGHT)); 61 return Objects.hashCode(getKey(), childOrNull(LEFT), childOrNull(RIGHT)); 68 SimpleNode source, @Nullable SimpleNode left, @Nullable SimpleNode right) { 69 return new SimpleNode(source.getKey(), left, right); 76 @Nullable SimpleNode left, @Nullable SimpleNode right) { 77 return checkNotNull(nodeFactory).createNode(source, left, right); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilter.java | 88 int right = (tempRect.right+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; local 105 if (right > dims[0]) { 106 right = dims[0]; 107 } else if (right < 0) { 108 right = 0; 122 // Right edge 123 if (right > 0 && top > 0) { 124 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + right) + 126 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + right) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilterTest.java | 77 // ensure the output image has the rectangle in the right place 90 int right = (faceRect.right+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE; local 107 if (right > bitmap.getWidth()) { 108 right = bitmap.getWidth(); 109 } else if (right < 0) { 110 right = 0; 124 // Right edge 125 if (right > 0 && top > 0) { 126 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) [all...] |
/hardware/ti/omap4xxx/camera/ |
CameraHalUtilClasses.cpp | 133 hRange = CameraArea::RIGHT - CameraArea::LEFT; 153 ssize_t right, 158 if ( ( 0 == top ) && ( 0 == left ) && ( 0 == bottom ) && ( 0 == right ) && ( 0 == weight ) ) { 177 if ( ( CameraArea::LEFT > left ) || ( CameraArea::RIGHT < left ) ) { 182 if ( ( CameraArea::LEFT > right ) || ( CameraArea::RIGHT < right ) ) { 183 CAMHAL_LOGEB("Camera area right coordinate is invalid %d", right ); 187 if ( left >= right ) { 212 ssize_t top, left, bottom, right, weight; local [all...] |
/bionic/libc/netbsd/resolv/ |
res_random.c | 142 u_int left, right, tmp; local 148 right = in & 0xff; 151 * Each round swaps the width of left and right. Even rounds have 157 tmp = ru_prf->prf8[(i << (8 - 1)) | right] & 0x7f; 159 tmp = ru_prf->prf7[((i - 1) << (7 - 1)) | right]; 161 left = right; 162 right = tmp; 165 return (right << 8) | left;
|