Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFrameInfo.h157 int64_t gap = endtime - starttime; in duration() local
158 gap = starttime > 0 ? gap : 0; in duration()
164 gap -= offset; in duration()
167 return gap > 0 ? gap : 0; in duration()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java96 int gap = 5; in testNetworkEventId_wrapsAround() local
97 long startingId = Long.MAX_VALUE - gap; in testNetworkEventId_wrapsAround()
108 for (int i = 0; i < gap; i++) { in testNetworkEventId_wrapsAround()
115 .that(events.get(gap).getId()).isEqualTo(Long.MAX_VALUE); in testNetworkEventId_wrapsAround()
116 assertWithMessage("Event id was not reset.").that(events.get(gap + 1).getId()).isEqualTo(0); in testNetworkEventId_wrapsAround()
119 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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt321 val gap = stackScrollAlgorithm.getGapForLocation( in <lambda>() constant
323 assertThat(gap).isEqualTo(smallGap) in <lambda>()
328 val gap = stackScrollAlgorithm.getGapForLocation( in <lambda>() constant
330 assertThat(gap).isEqualTo(smallGap * 0.5f + bigGap * 0.5f) in <lambda>()
335 val gap = stackScrollAlgorithm.getGapForLocation( in <lambda>() constant
337 assertThat(gap).isEqualTo(bigGap) in <lambda>()
/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/core/java/android/animation/
DAnimatorInflater.java903 float gap = keyframeArray[endIndex + 1].getFraction() - in loadPvh() local
905 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); in loadPvh()
944 private static void distributeKeyframes(Keyframe[] keyframes, float gap, in distributeKeyframes() argument
947 float increment = gap / count; in distributeKeyframes()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java570 final float gap = getGapForLocation(
572 algorithmState.mCurrentYPosition += expansionFraction * gap;
573 algorithmState.mCurrentExpandedYPosition += gap;
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md120 There is one notable gap in this implementation: `Handler.postAtFrontOfQueue()`.
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1326 final int gap = getResources().getDimensionPixelSize(R.dimen.resolver_icon_margin) / 2;
1327 lp.setMarginsRelative(gap, 0, gap, 0);
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp388 const nsecs_t gap = tmono2 - tmono; in getMonoToBoottimeOffset() local
389 if (i == 0 || gap < bestGap) { in getMonoToBoottimeOffset()
390 bestGap = gap; in getMonoToBoottimeOffset()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp297 float gap = (config.mMinAdjustedFps > 0) in configure() local
302 ptrGapParam.nU32 = int32_t(gap); in configure()
/frameworks/av/services/audioflinger/
DThreads.cpp382 const nsecs_t gap = tmono2 - tmono; in adjustTimebaseOffset() local
383 if (i == 0 || gap < bestGap) { in adjustTimebaseOffset()
384 bestGap = gap; in adjustTimebaseOffset()
/frameworks/base/core/java/android/widget/
DTextView.java14104 final float gap = textWidth / 3.0f; in start() local
14105 mGhostStart = lineWidth - textWidth + gap; in start()
14107 mGhostOffset = lineWidth + gap; in start()
/frameworks/base/core/api/
Dcurrent.txt18986 field @Deprecated public int gap;
22262 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;