/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 139 int[] deltas = new int[2]; local 140 View view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_DOWN, deltas); 142 assertEquals(0, deltas[0]); 143 assertEquals(0, deltas[1]); 146 deltas = new int[2]; 149 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_LEFT, deltas); 151 assertEquals(-1, deltas[0]); 152 assertEquals(0, deltas[1]); 155 deltas = new int[2]; 158 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_RIGHT, deltas); [all...] |
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
SigDelta.java | 56 private static <T extends IDelta<?>> Set<T> getDeltas(Set<T> deltas, 59 for (T delta : deltas) { 67 public static <T extends IDelta<?>> Set<T> getAdded(Set<T> deltas) { 68 return getDeltas(deltas, DeltaType.ADDED); 71 public static <T extends IDelta<?>> Set<T> getRemoved(Set<T> deltas) { 72 return getDeltas(deltas, DeltaType.REMOVED); 75 public static <T extends IDelta<?>> Set<T> getChanged(Set<T> deltas) { 76 return getDeltas(deltas, DeltaType.CHANGED);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetBasherTest.java | 38 * do operations at random. Each thread keeps track of the per-key deltas that it's directly 39 * responsible for; after all threads have completed, we sum the per-key deltas and compare to the 77 int[] deltas = new int[3]; local 80 for (int i = 0; i < deltas.length; i++) { 81 deltas[i] += taskDeltas[i]; 91 assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); 115 int[] deltas = new int[nKeys]; local 125 deltas[keyIndex] += delta; 131 deltas[keyIndex] += (newValue - oldValue); 138 deltas[keyIndex] += (newValue - oldValue) [all...] |
/external/opencv/cv/include/ |
cvtypes.h | 104 schar deltas[8][2]; member in struct:CvChainPtReader 109 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ 110 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \ 111 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \ 112 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \ 113 (deltas)[6] = (step), (deltas)[7] = (step) + (nch) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
ThermalErodeFilter.java | 67 float[] deltas = new float[idxrel.length];
local 75 deltas[j] = dj;
85 if (deltas[j] != 0) {
86 float d = this.c * (deltaMax - this.talus) * deltas[j] / deltaTotal;
93 deltas[j] = 0;
|
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 68 // consecutive deltas have been encoded. 76 // Continue the run of deltas. 100 std::vector<uint16> *deltas) { 101 DCHECK(index && deltas); 103 deltas_.swap(*deltas); 122 // Capture the upper bound of our target entry's deltas. 133 // Scan forward accumulating deltas while a match is possible. 143 // The deltas for this |index_| entry run to the next index entry, 144 // or the end of the deltas. 180 std::vector<uint16> deltas; local [all...] |
prefix_set.h | 6 // sorted and stored as 16-bit deltas from the previous prefix. An 98 // Maximum number of consecutive deltas to encode before generating 104 // |deltas| using |swap()|. 106 std::vector<uint16> *deltas); 109 // indicates a base prefix and where the deltas from that prefix 110 // begin in |deltas_|. The deltas for a pair end at the next pair's 114 // Deltas which are added to the prefix in |index_| to generate 115 // prefixes. Deltas are only valid between consecutive items from 119 // For debugging, used to verify that |index_| and |deltas| were not
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationVerifier.java | 38 /* In active mode, the mean computed for the deltas should not be smaller 42 /* In passive mode, the mean computed for the deltas should not be smaller 47 * The standard deviation computed for the deltas should not be bigger 117 private void assertMeanAndStdev(String provider, List<Long> deltas, double minMeanRatio) { 118 double mean = computeMean(deltas); 119 double stdev = computeStdev(mean, deltas); 139 private double computeMean(List<Long> deltas) { 141 for (long d : deltas) { 144 return accumulator / deltas.size(); 147 private double computeStdev(double mean, List<Long> deltas) { [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
lbxdeltastr.h | 47 LBXDeltaElemPtr deltas; member in struct:_LBXDeltas 98 extern int LBXDecodeDelta ( LBXDeltasPtr pcache, xLbxDiffItem *deltas,
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
lbxdeltastr.h | 47 LBXDeltaElemPtr deltas; member in struct:_LBXDeltas 98 extern int LBXDecodeDelta ( LBXDeltasPtr pcache, xLbxDiffItem *deltas,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
lbxdeltastr.h | 47 LBXDeltaElemPtr deltas; member in struct:_LBXDeltas 98 extern int LBXDecodeDelta ( LBXDeltasPtr pcache, xLbxDiffItem *deltas,
|
/external/opencv/cv/src/ |
cvcontours.cpp | 44 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ 45 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \ 46 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \ 47 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \ 48 (deltas)[6] = (step), (deltas)[7] = (step) + (nch)) 75 reader->deltas[i][0] = (schar) icvCodeDeltas[i].x 537 int deltas[16]; local 651 int deltas[16]; local 709 int deltas[16]; local [all...] |
/cts/tools/signature-tools/src/signature/compare/ |
ApiComparator.java | 299 Set<ITypeReferenceDelta<?>> deltas = local 310 deltas.add(new SigTypeDelta<ITypeReference>(type, null)); 323 deltas.add(new SigTypeDelta<ITypeReference>(null, type)); 327 return deltas.isEmpty() ? null : deltas; 470 Set<IMethodDelta> deltas = new HashSet<IMethodDelta>(); 477 deltas.add(new SigMethodDelta(method, null)); 484 deltas.add(delta); 494 deltas.add(new SigMethodDelta(null, method)); 498 return deltas.isEmpty() ? null : deltas [all...] |
/external/freetype/src/truetype/ |
ttgxvar.c | 107 /* Read a set of points to which the following deltas will apply. */ 195 /* Read a set of deltas. These are packed slightly differently than */ 204 /* An array of FT_Short containing the deltas for the affected */ 205 /* points. (This only gets the deltas for one dimension. It will */ 213 FT_Short *deltas = NULL; local 223 if ( FT_NEW_ARRAY( deltas, delta_cnt ) ) 236 deltas[i++] = 0; 244 deltas[i++] = FT_GET_SHORT(); 252 deltas[i++] = FT_GET_CHAR(); 258 FT_FREE( deltas ); 1135 FT_Short* deltas; local [all...] |
ttgxvar.h | 167 FT_Vector* *deltas,
|
ttgload.c | 860 /* Deltas apply to the unscaled data. */ 861 FT_Vector* deltas; local 868 &deltas, 875 outline->points[i].x += deltas[i].x; 876 outline->points[i].y += deltas[i].y; 879 FT_FREE( deltas ); 1224 FT_Vector* deltas = NULL; local [all...] |
/external/opencv/cvaux/src/ |
cvsegment.cpp | 339 int deltas[16]; local 345 CV_INIT_3X3_DELTAS( deltas, step, 1 ); 346 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); 396 i1 = i0 + deltas[s]; 419 i4 = i3 + deltas[++s];
|
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 509 * @param deltas Offset from the <x, y> to the edge of the nearest view. Note that this array 513 public View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) { 564 deltas[0] = -distance; 567 deltas[0] = distance; 570 deltas[1] = -distance; 573 deltas[1] = distance;
|
/external/chromium/base/allocator/ |
allocator_unittests.cc | 397 int deltas[] = { 1, -2, 4, -8, 16, -32, 64, -128 }; local 404 void* new_p = realloc(p, start_sizes[s] + deltas[d]); 409 void* new_p = realloc(p, start_sizes[s] - deltas[d]);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.registry_3.5.0.v20100503.jar | |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RawContactDeltaListTests.java | 115 static RawContactDeltaList buildSet(RawContactDelta... deltas) { 117 Collections.addAll(set, deltas);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintList.java | 462 IMarkerDelta[] deltas = event.findMarkerDeltas(AdtConstants.MARKER_LINT, true); local 463 if (deltas.length > 0) { [all...] |
/external/freetype/src/sfnt/ |
ttcmap.c | 813 FT_Byte *ends, *starts, *offsets, *deltas, *glyph_ids; local 873 deltas = starts + num_segs * 2; 874 offsets = deltas + num_segs * 2; 891 FT_Byte* p_delta = deltas; [all...] |
/external/opencv/cxcore/include/ |
cxtypes.h | [all...] |
/external/regex-re2/lib/codereview/ |
codereview.py | [all...] |