HomeSort by relevance Sort by last modified time
    Searched full:delta (Results 26 - 50 of 1042) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/libs/rs/java/Fountain/res/raw/
fountain2.rs 21 float2 delta;
45 np->delta = vec2Rand(rMax);
59 float dy = p->delta.y + 0.15f;
64 p->delta.y = dy;
65 p->position.x += p->delta.x;
  /cts/tests/tests/location/src/android/location/cts/
LocationTest.java 34 private static final float DELTA = 0.1f;
108 assertEquals(-128.66, location.bearingTo(dest), DELTA);
120 assertEquals(0.0f, bearing, DELTA);
123 assertEquals(90.0f, bearing, DELTA);
128 assertEquals(0.0f, bearing, DELTA);
261 assertEquals(0.0, result[0], DELTA);
262 assertEquals(0.0, result[1], DELTA);
263 assertEquals(0.0, result[2], DELTA);
267 assertEquals(125.4538, result[1], DELTA);
268 assertEquals(93.3971, result[2], DELTA);
    [all...]
  /external/freetype/src/pshinter/
pshglob.c 155 FT_Int reference, delta; local
166 delta = read[0] - reference;
175 delta = read[1] - reference;
196 if ( delta < 0 )
198 if ( delta < delta0 )
199 zone->org_delta = delta;
203 if ( delta > delta0 )
204 zone->org_delta = delta;
214 zone->org_delta = delta;
279 FT_Int delta; local
302 FT_Int delta; local
319 FT_Int dim, top, bot, delta; local
533 FT_Pos delta; local
    [all...]
  /external/icu4c/test/intltest/
punyref.c 109 punycode_uint delta, punycode_uint numpoints, int firsttime )
113 delta = firsttime ? delta / damp : delta >> 1;
114 /* delta >> 1 is a faster way of doing delta / 2 */
115 delta += delta / numpoints;
117 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) {
118 delta /= base - tmin
133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; local
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorEditable.java 41 String delta = tb.subSequence(tbstart, tbend).toString(); local
42 return internalReplace(start, end, delta);
49 private SpannableStringBuilder internalReplace(int start, int end, String delta) {
50 if (!mLogic.acceptInsert(delta)) {
57 delta = delta.replace(ORIGINALS[i], REPLACEMENTS[i]);
60 int length = delta.length();
62 char text = delta.charAt(0);
96 return super.replace(start, end, delta);
  /cts/tools/signature-tools/src/signature/compare/
ApiComparator.java 100 * {@code ApiComparator} takes two signature models as input and creates a delta
129 SigApiDelta delta = null; local
131 delta = new SigApiDelta(from, to);
132 delta.setPackageDeltas(packageDeltas);
134 return delta;
162 SigPackageDelta delta = null; local
164 delta = new SigPackageDelta(from, to);
165 delta.setClassDeltas(classDeltas);
172 if (delta != null) {
173 delta = new SigPackageDelta(from, to)
    [all...]
  /external/webkit/WebCore/platform/gtk/
WheelEventGtk.cpp 39 static const float delta = 1; local
44 // Docs say an upwards scroll (away from the user) has a positive delta
47 m_deltaY = delta;
50 m_deltaY = -delta;
53 m_deltaX = delta;
56 m_deltaX = -delta;
  /external/opencore/fileformats/mp4/composer/src/
timetosampleatom.cpp 72 // Calculate delta
73 int32 delta = ts - _currentTimestamp; local
77 addDelta(delta);
96 int32 delta = ts - _currentTimestamp; local
97 addDelta(delta);
103 // Add delta to the table - logic contained within if shoudl just update table entries
106 PVA_FF_TimeToSampleAtom::addDelta(int32 delta)
112 // Add first delta entry
113 addEntry(1, delta);
118 if (delta == lastDelta
    [all...]
  /dalvik/dx/src/junit/framework/
Assert.java 90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) {
100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false
104 * Asserts that two doubles are equal concerning a delta. If the expected
105 * value is infinity then the delta value is ignored.
107 static public void assertEquals(double expected, double actual, double delta) {
108 assertEquals(null, expected, actual, delta);
111 * Asserts that two floats are equal concerning a delta. If they are not
113 * value is infinity then the delta value is ignored
    [all...]
  /dalvik/libcore/junit/src/main/java/junit/framework/
Assert.java 90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) {
100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false
104 * Asserts that two doubles are equal concerning a delta. If the expected
105 * value is infinity then the delta value is ignored.
107 static public void assertEquals(double expected, double actual, double delta) {
108 assertEquals(null, expected, actual, delta);
111 * Asserts that two floats are equal concerning a delta. If they are not
113 * value is infinity then the delta value is ignored
    [all...]
  /dalvik/tests/021-string2/src/junit/framework/
Assert.java 90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) {
100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false
104 * Asserts that two doubles are equal concerning a delta. If the expected
105 * value is infinity then the delta value is ignored.
107 static public void assertEquals(double expected, double actual, double delta) {
108 assertEquals(null, expected, actual, delta);
111 * Asserts that two floats are equal concerning a delta. If they are not
113 * value is infinity then the delta value is ignored
    [all...]
  /dalvik/tests/082-inline-execute/src/junit/framework/
Assert.java 90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) {
100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false
104 * Asserts that two doubles are equal concerning a delta. If the expected
105 * value is infinity then the delta value is ignored.
107 static public void assertEquals(double expected, double actual, double delta) {
108 assertEquals(null, expected, actual, delta);
111 * Asserts that two floats are equal concerning a delta. If they are not
113 * value is infinity then the delta value is ignored
    [all...]
  /external/junit/src/junit/framework/
Assert.java 90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) {
97 if (!(Math.abs(expected-actual) <= delta))
101 * Asserts that two doubles are equal concerning a delta. If the expected
102 * value is infinity then the delta value is ignored.
104 static public void assertEquals(double expected, double actual, double delta) {
105 assertEquals(null, expected, actual, delta);
108 * Asserts that two floats are equal concerning a delta. If they are not
110 * value is infinity then the delta value is ignored
    [all...]
  /external/icu4c/common/
uchriter.cpp 293 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) {
296 pos = begin + delta;
299 pos += delta;
302 pos = end + delta;
318 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) {
324 if(delta > 0) {
325 UTF_FWD_N(text, pos, end, delta);
329 if(delta > 0) {
330 UTF_FWD_N(text, pos, end, delta);
332 UTF_BACK_N(text, begin, pos, -delta);
    [all...]
  /external/proguard/src/proguard/optimize/peephole/
GotoCommonCodeReplacer.java 121 for (int delta = 0; delta <= commonCount; delta++)
123 int deleteOffset = offset - delta;
167 for (int delta = 1;
168 delta <= offset1 &&
169 delta <= offset2 &&
170 offset2 - delta != offset1;
171 delta++)
173 int newOffset1 = offset1 - delta;
    [all...]
  /external/icu4c/test/perf/perldriver/
Format.pm 45 # Format a number, optionally with a +/- delta, to n significant
51 # @optional delta in seconds
59 my $delta = shift; # may be undef
62 if (defined($delta)) {
63 my $d = formatSigDig($sigdig, $delta*$mult);
64 # restrict PRECISION of delta to that of main number
70 # isn't rounding the $delta properly. Have to put
81 # Format a time, optionally with a +/- delta, to n significant
86 # @optional delta in seconds
93 my $delta = shift; # may be unde
    [all...]
  /external/webkit/WebCore/platform/qt/
WheelEventQt.cpp 32 void PlatformWheelEvent::applyDelta(int delta, Qt::Orientation orientation)
35 m_deltaX = (delta / 120.0f);
39 m_deltaY = (delta / 120.0f);
69 applyDelta(e->delta(), e->orientation());
88 applyDelta(e->delta(), e->orientation());
  /frameworks/base/awt/java/awt/image/
PixelGrabber.java 95 int delta = Y - srcY; local
96 if(delta >= height) {
99 srcY += delta;
100 srcH -= delta;
101 srcOff += srcScan * delta;
112 int delta = X - srcX; local
113 if(delta >= width) {
116 srcW -= delta;
117 srcX += delta;
118 srcOff += delta;
170 int delta = Y - srcY; local
187 int delta = X - srcX; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
LibraryDeltaVisitor.java 28 * Delta visitor specifically for Library resources.
46 public boolean visit(IResourceDelta delta) throws CoreException {
48 // Since the delta visitor goes through the main
53 IResource resource = delta.getResource();
57 // since the delta visitor also visits the root we return true if
  /external/webkit/WebCore/platform/win/
WheelEventWin.cpp 68 PlatformWheelEvent::PlatformWheelEvent(HWND hWnd, const FloatSize& delta, const FloatPoint& location)
75 m_deltaX = delta.width();
76 m_deltaY = delta.height();
107 float delta = GET_WHEEL_DELTA_WPARAM(wParam) / static_cast<float>(WHEEL_DELTA); local
110 // |delta| after saving the original value on the wheel tick member.
111 m_wheelTicksX = delta;
113 delta = -delta;
120 m_wheelTicksY = delta;
123 m_deltaX = delta * static_cast<float>(horizontalScrollChars()) * cScrollbarPixelsPerLine
    [all...]
  /external/icu4c/i18n/
casetrn.cpp 153 int32_t textPos, delta, result, locCache=0; local
175 delta=result-U16_LENGTH(c);
179 delta=tmp.length()-U16_LENGTH(c);
182 if(delta!=0) {
183 textPos+=delta;
184 csc.limit=offsets.contextLimit+=delta;
185 offsets.limit+=delta;
titletrn.cpp 118 int32_t textPos, delta, result, locCache=0; local
147 delta=result-U16_LENGTH(c);
151 delta=tmp.length()-U16_LENGTH(c);
154 if(delta!=0) {
155 textPos+=delta;
156 csc.limit=offsets.contextLimit+=delta;
157 offsets.limit+=delta;
nortrans.cpp 107 int32_t length, delta; local
148 int32_t delta = output.length() - length;
149 offsets.contextLimit += delta;
150 offsets.limit += delta;
151 offsets.start = limit + delta;
215 delta = length - (limit - start); // length change in the text object
216 start = limit += delta; // the next chunk starts where this one ends, with adjustment
217 limit = offsets.limit += delta; // set the iteration limit to the adjusted end of the input range
218 offsets.contextLimit += delta;
220 // delta ==
    [all...]
  /cts/tests/tests/view/src/android/view/animation/cts/
GridLayoutAnimationControllerTest.java 54 private static final float DELTA = 0.1f;
182 assertEquals(0.0f, transformation2.getAlpha(), DELTA);
183 assertEquals(0.0f, transformation3.getAlpha(), DELTA);
189 assertEquals(1.0f, transformation1.getAlpha(), DELTA);
190 assertEquals(0.0f, transformation2.getAlpha(), DELTA);
191 assertEquals(0.0f, transformation3.getAlpha(), DELTA);
197 assertEquals(1.0f, transformation1.getAlpha(), DELTA);
199 assertEquals(0.0f, transformation3.getAlpha(), DELTA);
205 assertEquals(1.0f, transformation1.getAlpha(), DELTA);
206 assertEquals(1.0f, transformation2.getAlpha(), DELTA);
    [all...]
  /external/opencore/oscl/oscl/oscllib/src/
oscl_shared_library.cpp 104 DIFF_TICK(starttime, delta);
105 iLibLoadTime += delta;
107 (0, "OsclSharedLibrary - Loading library %s took %d ticks ...", debugPath.get_cstr(), delta));
116 DIFF_TICK(starttime, delta);
117 iLibLoadTime += delta;
119 (0, "OsclSharedLibrary - Loading library %s took %d ticks ...", aPath.get_cstr(), delta));
137 DIFF_TICK(starttime, delta);
138 iLibLoadTime += delta;
140 (0, "OsclSharedLibrary - Loading library %s took %d ticks ...", debugPath.get_cstr(), delta));
151 DIFF_TICK(starttime, delta);
    [all...]

Completed in 100 milliseconds

12 3 4 5 6 7 8 91011>>