Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/
DStepCurve.java35 double gap = 1.0 / len; in genSpline() local
41 time[i + len] = i * gap; in genSpline()
44 time[i + len * 2] = i * gap + 1; in genSpline()
46 points[i - 1][0] = v - 1 - gap; in genSpline()
47 time[i - 1] = i * gap + -1 - gap; in genSpline()
DMonotonicCurveFit.java352 double gap = 1.0 / len; in buildWave() local
358 time[i + len] = i * gap; in buildWave()
361 time[i + len * 2] = i * gap + 1; in buildWave()
363 points[i - 1][0] = v - 1 - gap; in buildWave()
364 time[i - 1] = i * gap + -1 - gap; in buildWave()
/frameworks/base/libs/hwui/
DFrameInfo.h160 int64_t gap = endtime - starttime; in duration() local
161 gap = starttime > 0 ? gap : 0; in duration()
167 gap -= offset; in duration()
170 return gap > 0 ? gap : 0; in duration()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java97 int gap = 5; in testNetworkEventId_wrapsAround() local
98 long startingId = Long.MAX_VALUE - gap; in testNetworkEventId_wrapsAround()
109 for (int i = 0; i < gap; i++) { in testNetworkEventId_wrapsAround()
116 .that(events.get(gap).getId()).isEqualTo(Long.MAX_VALUE); in testNetworkEventId_wrapsAround()
117 assertWithMessage("Event id was not reset.").that(events.get(gap + 1).getId()).isEqualTo(0); in testNetworkEventId_wrapsAround()
120 for (int i = gap + 1; i < MAX_EVENTS_PER_BATCH; i++) { in testNetworkEventId_wrapsAround()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java261 public int gap; field in Keyboard.Key
329 gap = parent.defaultHorizontalGap; in Key()
357 gap = getDimensionOrFraction(a, in Key()
363 this.x += gap; in Key()
626 x += key.width + key.gap; in Keyboard()
648 totalGap += key.gap; in resize()
659 x += key.width + key.gap; in resize()
681 protected void setHorizontalGap(int gap) { in setHorizontalGap() argument
682 mDefaultHorizontalGap = gap; in setHorizontalGap()
689 protected void setVerticalGap(int gap) { in setVerticalGap() argument
[all …]
DKeyboardView.java635 dimensionSum += Math.min(key.width, key.height) + key.gap; in computeProximityThreshold()
/frameworks/base/tools/orientationplot/
DREADME.txt50 2. Ensure that there is an appropriate gap between adjacent orientation angles
53 point in between the two orientations; that is the gap. The gap should be
59 There should be no gap observed initially. The algorithm should pick one
63 the measured orientation angle is now within the gap between the new
66 In other words, the hysteresis gap applies only when the measured orientation
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java878 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
880 if (gap > 0) {
881 fixOffset = -scrollBy(-gap, recycler, state);
889 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
890 if (gap > 0) {
891 mOrientationHelper.offsetChildren(gap);
892 return gap + fixOffset;
903 int gap = startOffset - mOrientationHelper.getStartAfterPadding(); in fixLayoutStartGap() local
905 if (gap > 0) { in fixLayoutStartGap()
907 fixOffset = -scrollBy(gap, recycler, state); in fixLayoutStartGap()
[all …]
/frameworks/proto_logging/stats/atoms/telephony/satellite/
Dsatellite_extension_atoms.proto234 // Minimum time gap between satellite connections in a satellite session
236 // Average time gap between satellite connections in a satellite session
238 // Maximum time gap between satellite connections in a satellite session
270 // Minimum gap between satellite sessions
272 // Average gap between satellite sessions
274 // Maximum gap between satellite sessions
/frameworks/av/media/libheadtracking/
DSensorPoseProvider.cpp387 int64_t gap = event.timestamp - extra.latestTimestamp; in updateEventTimestamp() local
388 extra.maxPeriod = std::max(gap, extra.maxPeriod); in updateEventTimestamp()
389 extra.minPeriod = std::min(gap, extra.minPeriod); in updateEventTimestamp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuEduTextDrawer.java189 final float gap = mEduTextView.getWidth() / 3.0f; in getMarqueeAnimEduTextLineWidth() local
190 return getEduTextWidth() + gap; in getMarqueeAnimEduTextLineWidth()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt538 val gap = in <lambda>() constant
543 assertThat(gap).isEqualTo(smallGap) in <lambda>()
548 val gap = in <lambda>() constant
553 assertThat(gap).isEqualTo(smallGap * 0.5f + bigGap * 0.5f) in <lambda>()
558 val gap = in <lambda>() constant
563 assertThat(gap).isEqualTo(bigGap) in <lambda>()
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto87 // Intentional gap for future automatic rule types.
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1910 float gap = Math.min(1 - scaleCol, scaleCol); in initWindow() local
1944 scaleStartCol = scaleCol - gap; in initWindow()
1945 scaleEndCol = scaleCol + gap; in initWindow()
1963 float gap = Math.min(1 - scaleRow, scaleRow); in initWindow() local
1964 scaleStartRow = scaleRow - gap; in initWindow()
1965 scaleEndRow = scaleRow + gap; in initWindow()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java906 float gap = keyframeArray[endIndex + 1].getFraction() - in loadPvh() local
908 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); in loadPvh()
947 private static void distributeKeyframes(Keyframe[] keyframes, float gap, in distributeKeyframes() argument
950 float increment = gap / count; in distributeKeyframes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java634 final float gap = getGapForLocation(
636 algorithmState.mCurrentYPosition += expansionFraction * gap;
637 algorithmState.mCurrentExpandedYPosition += gap;
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp323 float gap = (config.mMinAdjustedFps > 0) in configure() local
328 ptrGapParam.nU32 = int32_t(gap); in configure()
555 float gap = (config.mMinAdjustedFps > 0) in configure() local
560 int32_t gapUs = int32_t(gap); in configure()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp407 const nsecs_t gap = tmono2 - tmono; in getMonoToBoottimeOffset() local
408 if (i == 0 || gap < bestGap) { in getMonoToBoottimeOffset()
409 bestGap = gap; in getMonoToBoottimeOffset()
/frameworks/av/services/audioflinger/
DThreads.cpp466 const nsecs_t gap = tmono2 - tmono; in adjustTimebaseOffset() local
467 if (i == 0 || gap < bestGap) { in adjustTimebaseOffset()
468 bestGap = gap; in adjustTimebaseOffset()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt20918 field @Deprecated public int gap;
23682 field public static final String KEY_MAX_PTS_GAP_TO_ENCODER = "max-pts-gap-to-encoder";
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13597 field public int gap;