HomeSort by relevance Sort by last modified time
    Searched refs:deltas (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /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_org/chrome/browser/extensions/api/web_request/
web_request_api_helpers.cc 390 const EventResponseDeltas& deltas,
393 for (EventResponseDeltas::const_iterator i = deltas.begin();
394 i != deltas.end(); ++i) {
413 const EventResponseDeltas& deltas,
423 for (delta = deltas.begin(); delta != deltas.end(); ++delta) {
455 const EventResponseDeltas& deltas,
463 deltas, new_url, conflicting_extensions, net_log, true)) {
471 deltas, new_url, conflicting_extensions, net_log, false);
545 // |deltas| to |cookies|. Returns whether any cookie was added
    [all...]
web_request_api_unittest.cc 1310 EventResponseDeltas deltas; local
1336 EventResponseDeltas deltas; local
1417 EventResponseDeltas deltas; local
1486 EventResponseDeltas deltas; local
1527 EventResponseDeltas deltas; local
1623 EventResponseDeltas deltas; local
1707 EventResponseDeltas deltas; local
1942 EventResponseDeltas deltas; local
2024 EventResponseDeltas deltas; local
2066 EventResponseDeltas deltas; local
    [all...]
web_request_api_helpers.h 227 // These functions merge the responses (the |deltas|) of request handlers.
228 // The |deltas| need to be sorted in decreasing order of precedence of
229 // extensions. In case extensions had |deltas| that could not be honored, their
235 const EventResponseDeltas& deltas,
242 const EventResponseDeltas& deltas,
247 // |deltas.request_cookie_modifications|. Conflicts are currently ignored
250 const EventResponseDeltas& deltas,
254 // Modifies the headers in |request_headers| according to |deltas|. Conflicts
257 const EventResponseDeltas& deltas,
262 // |deltas.response_cookie_modifications|. If |override_response_headers| i
    [all...]
  /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
  /external/chromium_org/chrome/browser/safe_browsing/
prefix_set.cc 68 // consecutive deltas have been encoded.
73 // Continue the run of deltas.
95 std::vector<uint16> *deltas) {
96 DCHECK(index && deltas);
98 deltas_.swap(*deltas);
117 // Capture the upper bound of our target entry's deltas.
128 // Scan forward accumulating deltas while a match is possible.
140 // The deltas for this |index_| entry run to the next index entry,
141 // or the end of the deltas.
178 std::vector<uint16> deltas; local
    [all...]
prefix_set.h 6 // sorted and stored as 16-bit deltas from the previous prefix. An
79 // Maximum number of consecutive deltas to encode before generating
85 // |deltas| using |swap()|.
87 std::vector<uint16> *deltas);
90 // indicates a base prefix and where the deltas from that prefix
91 // begin in |deltas_|. The deltas for a pair end at the next pair's
95 // Deltas which are added to the prefix in |index_| to generate
96 // prefixes. Deltas are only valid between consecutive items from
  /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/chromium_org/base/test/
trace_event_analyzer.cc 835 std::vector<double> deltas; local
843 deltas.push_back(delta);
846 std::sort(deltas.begin(), deltas.end());
853 deltas.erase(deltas.begin(), deltas.begin() + options->trim_min);
854 deltas.erase(deltas.end() - options->trim_max, deltas.end())
    [all...]
  /external/chromium_org/third_party/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,
  /external/freetype/src/truetype/
ttgxvar.c 109 /* Read a set of points to which the following deltas will apply. */
197 /* Read a set of deltas. These are packed slightly differently than */
206 /* An array of FT_Short containing the deltas for the affected */
207 /* points. (This only gets the deltas for one dimension. It will */
215 FT_Short *deltas = NULL; local
225 if ( FT_NEW_ARRAY( deltas, delta_cnt ) )
238 deltas[i++] = 0;
246 deltas[i++] = FT_GET_SHORT();
254 deltas[i++] = FT_GET_CHAR();
260 FT_FREE( deltas );
1116 FT_Short* deltas; local
    [all...]
ttgxvar.h 167 FT_Vector* *deltas,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
punycode.py 108 def generate_integers(baselen, deltas):
113 for points, delta in enumerate(deltas):
122 deltas = insertion_unsort(text, extended)
123 extended = generate_integers(len(base), deltas)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
punycode.py 108 def generate_integers(baselen, deltas):
113 for points, delta in enumerate(deltas):
122 deltas = insertion_unsort(text, extended)
123 extended = generate_integers(len(base), deltas)

Completed in 923 milliseconds

1 2 3 4