/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlBar.java | 102 int delta = mSliderPosition - pos; local 103 if ((delta > THRESHOLD_FIRST_MOVE) || 104 (delta < -THRESHOLD_FIRST_MOVE)) {
|
/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 111 double delta = recalculate_kernel(freqs, num, code_book, code_idx); local 115 iter_num, changed, delta); 120 (delta == 0 || fabs(delta_last - delta)/fabs(delta) < 0.000000001)) 122 delta_last = delta;
|
/art/compiler/dex/quick/x86/ |
assemble_x86.cc | 1185 int delta = 0; local 1218 int delta = target - pc; local 1232 int delta = 0; local 1264 int delta = target - pc; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationVerifier.java | 86 long delta = timestamp - mLastActiveTimestamp; local 90 mCb.log("(ignored) active " + mProvider + " update (" + delta + "ms)"); 99 mActiveDeltas.add(delta); 100 mCb.log("active " + mProvider + " update (" + delta + "ms)"); 173 long delta = timestamp - mLastPassiveTimestamp; local 177 mCb.log("(ignored) passive " + mProvider + " update (" + delta + "ms)"); 186 mPassiveDeltas.add(delta); 187 mCb.log("passive " + mProvider + " update (" + delta + "ms)");
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 109 double delta = (relPos - positions[i1]) / (positions[i2] - positions[i1]); local 110 int alpha = (int) ((1d - delta) * Color.alpha(colors[i1]) + 111 delta * Color.alpha(colors[i2])); 112 int red = (int) ((1d - delta) * Color.red(colors[i1]) + 113 delta * Color.red(colors[i2])); 114 int green = (int) ((1d - delta) * Color.green(colors[i1]) + 115 delta * Color.green(colors[i2])); 116 int blue = (int) ((1d - delta) * Color.blue(colors[i1]) + 117 delta * Color.blue(colors[i2]));
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlVboPerfTest.java | 70 float delta = minMaxVbo[1] - (1f - FPS_COMPARISON_MARGIN) local 72 assertTrue("VBO performance worse than non-VBO " + msgVbo + msgNonVbo, delta > 0f); 130 float delta = fpsVbo - (1f - FPS_COMPARISON_MARGIN) * mFps; local 134 assertTrue(testMsg.toString(), delta > 0f);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
Matrix2fTest.java | 22 final float delta = 0.00001f; field in class:Matrix2fTest 28 void checkIdentity(Matrix2f m, float delta) { 32 assertEquals(1.0f, m.getArray()[i*2 + j], delta); 34 assertEquals(0.0f, m.getArray()[i*2 + j], delta); 53 void checkData(Matrix2f m, float[] data, float delta) { 55 assertEquals(data[i], m.getArray()[i], delta);
|
Matrix3fTest.java | 22 final float delta = 0.00001f; field in class:Matrix3fTest 29 void checkIdentity(Matrix3f m, float delta) { 33 assertEquals(1.0f, m.getArray()[i*3 + j], delta); 35 assertEquals(0.0f, m.getArray()[i*3 + j], delta); 54 void checkData(Matrix3f m, float[] data, float delta) { 56 assertEquals(data[i], m.getArray()[i], delta);
|
Matrix4fTest.java | 22 final float delta = 0.00001f; field in class:Matrix4fTest 30 void checkIdentity(Matrix4f m, float delta) { 34 assertEquals(1.0f, m.getArray()[i*4 + j], delta); 36 assertEquals(0.0f, m.getArray()[i*4 + j], delta); 55 void checkData(Matrix4f m, float[] data, float delta) { 57 assertEquals(data[i], m.getArray()[i], delta); 222 checkIdentity(m, delta); 231 checkIdentity(m, 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...] |
/cts/tools/signature-tools/test/signature/comparator/ |
ClassCompareTest.java | 67 IApiDelta delta = compare(fromApi, toApi); local 68 IClassDefinitionDelta classDelta = getSingleClassDelta(delta); 83 IApiDelta delta = compare(fromApi, toApi); local 84 IClassDefinitionDelta classDelta = getSingleClassDelta(delta); 100 IApiDelta delta = compare(fromApi, toApi); local 101 IClassDefinitionDelta classDelta = getSingleClassDelta(delta);
|
MethodCompareTests.java | 62 IApiDelta delta = compare(fromApi, toApi); local 63 assertNotNull(delta); 64 IClassDefinitionDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); 82 IApiDelta delta = compare(fromApi, toApi); local 83 assertNotNull(delta); 84 IClassDefinitionDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); 103 IApiDelta delta = compare(fromApi, toApi); local 104 assertNotNull(delta); 105 IClassDefinitionDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); 124 IApiDelta delta = compare(fromApi, toApi) local [all...] |
/external/aac/libSBRenc/src/ |
bit_sbr.cpp | 883 INT payloadBits = 0, j, i, delta; local [all...] |
/external/blktrace/btt/ |
seek.c | 104 double delta = sps->t_last - sps->t_start; local 106 if ((sps->nseeks == 1) || (delta < DBL_EPSILON)) { 111 s_p_s = (double)(sps->nseeks) / delta; 112 tstamp = sps->t_start + (delta / 2);
|
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 61 // Calculate the delta. |unsigned| is mandatory, because the 64 const unsigned delta = sorted_prefixes[i] - prev_prefix; local 65 const uint16 delta16 = static_cast<uint16>(delta); 67 // New index ref if the delta doesn't fit, or if too many 69 if (delta != static_cast<unsigned>(delta16) || run_length >= kMaxRun) { 78 DCHECK_EQ(static_cast<unsigned>(deltas_.back()), delta); local 322 // Exactly on the |index_| entry means no delta. 325 // -i backs out the |index_| entries, -1 gets the delta that lead to
|
/external/chromium/webkit/glue/media/ |
buffered_data_source.cc | 342 base::TimeDelta delta = base::Time::Now() - read_submitted_time_; local 343 if (delta < GetTimeoutMilliseconds())
|
/external/chromium_org/ash/wm/ |
window_resizer.cc | 217 int delta = work_area.x() + kMinimumOnScreenArea - new_bounds.right(); local 218 new_bounds.set_width(new_bounds.width() + delta); 245 int delta = new_bounds.y(); local 247 new_bounds.set_height(new_bounds.height() + delta);
|
/external/chromium_org/base/time/ |
time_unittest.cc | 140 // can only make sure that the delta is within one second. 573 TimeDelta delta = ticks_stop - ticks_start; local 589 EXPECT_GE(delta.InMilliseconds(), 9); 590 EXPECT_GE(delta.InMicroseconds(), 9000); 591 EXPECT_EQ(delta.InSeconds(), 0); 615 TimeDelta delta; local 622 delta = GetTicks() - ticks_start; 623 } while (delta.InMilliseconds() == 0); 625 if (delta.InMicroseconds() <= kTargetGranularityUs) 648 TimeDelta delta = end - begin local [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_perftest.cc | 229 static const gfx::Vector2d delta = gfx::Vector2d(0, 10); variable 230 scrollable_->SetScrollOffset(scrollable_->scroll_offset() + delta);
|
/external/chromium_org/chrome/browser/chromeos/login/ |
screen_locker.cc | 203 base::TimeDelta delta = base::Time::Now() - authentication_start_time_; local 204 VLOG(1) << "Authentication failure: " << delta.InSecondsF() << " second(s)"; 205 UMA_HISTOGRAM_TIMES("ScreenLocker.AuthenticationFailureTime", delta); 227 base::TimeDelta delta = base::Time::Now() - authentication_start_time_; local 228 VLOG(1) << "Authentication success: " << delta.InSecondsF() << " second(s)"; 229 UMA_HISTOGRAM_TIMES("ScreenLocker.AuthenticationSuccessTime", delta); 447 base::TimeDelta delta = base::Time::Now() - start_time_; local 449 << delta.InSecondsF() << " second(s)"; 450 UMA_HISTOGRAM_TIMES("ScreenLocker.ScreenLockTime", delta);
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
auto_enrollment_client.cc | 369 base::TimeDelta delta = now - time_start_; local 370 UMA_HISTOGRAM_CUSTOM_TIMES(kUMAProtocolTime, delta, kMin, kMax, kBuckets); 372 base::TimeDelta delta = kZero; local 374 delta = now - time_extra_start_; 378 UMA_HISTOGRAM_CUSTOM_TIMES(kUMAExtraTime, delta, kMin, kMax, kBuckets);
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
stacked_tab_strip_layout.cc | 74 void StackedTabStripLayout::DragActiveTab(int delta) { 75 if (delta == 0 || !requires_stacking()) 80 if (delta > 0 && initial_x == GetMinX(active_index())) { 83 } else if (delta < 0 && initial_x == GetMaxX(active_index())) { 87 int x = delta > 0 ? 88 std::min(initial_x + delta, GetMaxDragX(active_index())) : 89 std::max(initial_x + delta, GetMinDragX(active_index())); 92 if (delta > 0) { 99 delta -= (x - initial_x); 101 if (delta > 0 102 ExpandTabsBefore(active_index(), delta); local 120 int delta = ideal_x(0) - first_tab_x_; local 433 const int delta = (mini_tab_count_ > 1) ? ideal_x(1) - ideal_x(0) : 0; local [all...] |
stacked_tab_strip_layout_unittest.cc | 180 const int delta; member in struct:TestData 257 layout_->DragActiveTab(test_data[i].delta);
|
/external/chromium_org/chrome/browser/ |
upgrade_detector_impl.cc | 370 base::TimeDelta delta = base::Time::Now() - upgrade_detected_time(); local 375 int64 time_passed = is_testing ? delta.InSeconds() : delta.InHours();
|
/external/chromium_org/chrome_frame/ |
bho.cc | 109 base::TimeDelta delta = base::TimeTicks::Now() - start; local 110 UMA_HISTOGRAM_TIMES("ChromeFrame.BhoLoadSetSite", delta);
|