Searched refs:delta (Results 51 - 70 of 70) sorted by relevance

123

/frameworks/base/tools/orientationplot/
H A Dorientationplot.py281 delta = timestamp - self.timebase
282 timeindex = delta.seconds + delta.microseconds * 0.000001
/frameworks/base/core/java/android/widget/
H A DAbsListView.java3639 final int delta = (int) (vscroll * getVerticalScrollFactor());
3640 if (!trackMotionScroll(delta, delta)) {
3978 void edgeReached(int delta) { argument
3985 if (delta > 0) {
4056 int delta = mLastFlingY - y;
4059 if (delta > 0) {
4066 delta = Math.min(getHeight() - mPaddingBottom - mPaddingTop - 1, delta);
4076 delta
[all...]
H A DSpinner.java466 * @param delta Change in the selected position. +1 means selection is moving to the right,
470 void layout(int delta, boolean animate) { argument
H A DTextView.java8086 final int delta = mText.length() - originalLength;
8087 min += delta;
8088 max += delta;
8095 final int delta = mText.length() - originalLength;
8096 min += delta;
8097 max += delta;
H A DEditor.java1066 int partialStartOffset, int partialEndOffset, int delta,
1077 // Now use the delta to determine the actual amount of text
1079 partialEndOffset += delta;
1095 outText.partialEndOffset = partialEndOffset - delta;
1149 " delta=" + ims.mChangedDelta);
1065 extractTextInternal(ExtractedTextRequest request, int partialStartOffset, int partialEndOffset, int delta, ExtractedText outText) argument
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java133 final int delta = newLength - oldLength;
134 if (delta == 0) return;
142 mGapLength += delta;
147 if (mSpanStarts[i] > mGapStart) mSpanStarts[i] += delta;
148 if (mSpanEnds[i] > mGapStart) mSpanEnds[i] += delta;
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp495 uint32_t delta = mTimeToSample[2 * i + 1]; local
514 sampleTime += delta;
/frameworks/base/location/java/android/location/
H A DLocation.java363 double delta = (lambda - lambdaOrig) / lambda;
364 if (Math.abs(delta) < 1.0e-12) {
/frameworks/base/core/java/android/os/
H A DBatteryStats.java450 // of a delta change; they should be ones that change relatively
515 // Part of initial delta int that specifies the time delta.
518 static final int DELTA_TIME_INT = 0x3fffe; // The delta is a following int
519 static final int DELTA_TIME_LONG = 0x3ffff; // The delta is a following long
520 // Part of initial delta int holding the command code.
523 // Flag in delta int: a new battery level int follows.
525 // Flag in delta int: a new full state and battery status int follows.
620 int delta = src.readInt();
621 time += delta;
[all...]
/frameworks/base/media/java/android/media/
H A DAudioService.java896 int delta = 0;
900 delta = findVolumeDelta(direction, volume);
901 volume += delta;
1011 int delta = 0;
1017 delta = mMasterVolumeRamp[1];
1019 // find the volume we're above and use that groups delta.
1022 delta = mMasterVolumeRamp[i];
1032 delta = -mMasterVolumeRamp[length - 1];
1034 // find the volume we're below and use the group below it's delta
1037 delta
[all...]
H A DMediaScanner.java474 long delta = (entry != null) ? (lastModified - entry.mLastModified) : 0;
475 boolean wasModified = delta > 1 || delta < -1;
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp1472 int64_t delta = now - (mClient_LastGoodSyncRX local
1475 int64_t deltaUsec = mCommonClock.localDurationToCommonDuration(delta);
/frameworks/base/core/java/android/content/
H A DSyncManager.java1493 int delta = today-ds.day;
1494 if (delta > 6) break;
1496 pw.print(" Day-"); pw.print(delta); pw.print(": ");
1511 int delta = weekDay-ds.day;
1512 if (delta > 6) break;
/frameworks/base/services/input/
H A DInputReader.cpp2430 // Rotate delta according to orientation if needed.
4929 // Add delta for all fingers and calculate a common movement delta.
4938 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; local
4939 delta.dx += cpd.x - lpd.x;
4940 delta.dy += cpd.y - lpd.y;
4943 commonDeltaX = delta.dx;
4944 commonDeltaY = delta.dy;
4946 commonDeltaX = calculateCommonVector(commonDeltaX, delta.dx);
4947 commonDeltaY = calculateCommonVector(commonDeltaY, delta
4957 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; local
5059 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; local
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1414 final int delta = Math.max(marginStart, hCenter - iconWidth / 2);
1416 iconRight = width - upOffset - delta;
1419 iconLeft = upOffset + delta;
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs1107 // If we didn't hit anything or drag model wasn't plane or cylinder, we use screen delta
1240 const float2 delta = (float2) { x, y } - touchPosition;
1241 float distance = sqrt(dot(delta, delta));
1622 if (debugRendering) rsDebug("Time delta was <= 0", dt);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp2639 delta = (Int)(frameInterval / 4); /* empirical number */
2640 if (video->nextModTime - modTime < (ULong)delta) /* need to move nextModTime further. */
2642 video->nextModTime += ((delta - video->nextModTime + modTime)); /* empirical formula */
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java5057 long delta = time - lastMoveTime;
5060 if (delta < normTime) {
5062 float scale = (normTime-delta) * ACCEL_MOVE_SCALING_FACTOR;
5065 + off + " normTime=" + normTime + " delta=" + delta
5070 float scale = (delta-normTime) * ACCEL_MOVE_SCALING_FACTOR;
5073 + off + " normTime=" + normTime + " delta=" + delta
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java1557 long delta = (loc.getElapsedRealtimeNanos() - lastLoc.getElapsedRealtimeNanos()) / 1000000L;
1558 if (delta < minTime - MAX_PROVIDER_SCHEDULING_JITTER_MS) {
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2458 // get current thread's delta CPU time in wall clock ns
2670 nsecs_t delta = now - mLastWriteTime; local
2671 if (!mStandby && delta > maxPeriod) {
2678 ns2ms(delta), mNumDelayedWrites, this);
5165 // Calculate the delta in samples between the head of the input buffer
5191 // if the delta between the ideal placement for the next input sample and

Completed in 641 milliseconds

123