Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DFrameInfo.h129 int64_t gap = endtime - starttime; in duration() local
130 gap = starttime > 0 ? gap : 0; in duration()
136 gap -= offset; in duration()
139 return gap > 0 ? gap : 0; in duration()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java88 int gap = 5; in testNetworkEventId_wrapsAround() local
89 long startingId = Long.MAX_VALUE - gap; in testNetworkEventId_wrapsAround()
99 for (int i = 0; i < gap; i++) { in testNetworkEventId_wrapsAround()
106 events.get(gap).getId()); in testNetworkEventId_wrapsAround()
107 assertEquals("Event id was not reset.", 0, events.get(gap + 1).getId()); in testNetworkEventId_wrapsAround()
110 for (int i = gap + 1; i < MAX_EVENTS_PER_BATCH; i++) { in testNetworkEventId_wrapsAround()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DLinearLayoutManagerBaseConfigSetTest.java239 int gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart() local
240 scrollBy(gap); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
241 gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
242 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
273 int gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd() local
274 scrollBy(-gap); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
275 gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
276 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
DStaggeredGridLayoutManagerBaseConfigSetTest.java757 int gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart() local
758 scrollBy(gap); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
759 gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
760 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
794 int gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd() local
795 scrollBy(-gap); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
796 gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
797 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java250 public int gap; field in Keyboard.Key
318 gap = parent.defaultHorizontalGap; in Key()
346 gap = getDimensionOrFraction(a, in Key()
352 this.x += gap; in Key()
615 x += key.width + key.gap; in Keyboard()
636 totalGap += key.gap; in resize()
647 x += key.width + key.gap; in resize()
669 protected void setHorizontalGap(int gap) { in setHorizontalGap() argument
670 mDefaultHorizontalGap = gap; in setHorizontalGap()
677 protected void setVerticalGap(int gap) { in setVerticalGap() argument
[all …]
DKeyboardView.java623 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/support/v7/appcompat/src/main/java/androidx/appcompat/graphics/drawable/
DDrawerArrowDrawable.java266 public void setGapSize(float gap) { in setGapSize() argument
267 if (gap != mBarGap) { in setGapSize()
268 mBarGap = gap; in setGapSize()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DLinearLayoutManager.java908 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
910 if (gap > 0) {
911 fixOffset = -scrollBy(-gap, recycler, state);
919 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
920 if (gap > 0) {
921 mOrientationHelper.offsetChildren(gap);
922 return gap + fixOffset;
933 int gap = startOffset - mOrientationHelper.getStartAfterPadding(); in fixLayoutStartGap() local
935 if (gap > 0) { in fixLayoutStartGap()
937 fixOffset = -scrollBy(gap, recycler, state); in fixLayoutStartGap()
[all …]
DStaggeredGridLayoutManager.java1417 int gap = mPrimaryOrientation.getEndAfterPadding() - maxEndLine;
1419 if (gap > 0) {
1420 fixOffset = -scrollBy(-gap, recycler, state);
1424 gap -= fixOffset;
1425 if (canOffsetChildren && gap > 0) {
1426 mPrimaryOrientation.offsetChildren(gap);
1436 int gap = minStartLine - mPrimaryOrientation.getStartAfterPadding();
1438 if (gap > 0) {
1439 fixOffset = scrollBy(gap, recycler, state);
1443 gap -= fixOffset;
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java217 long gap = mClock.getElapsedSinceBootMillis() in isNetworkSelectionNeeded() local
219 if (gap < MINIMUM_NETWORK_SELECTION_INTERVAL_MS) { in isNetworkSelectionNeeded()
220 localLog("Too short since last network selection: " + gap + " ms." in isNetworkSelectionNeeded()
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
DAnimatorInflaterCompat.java763 float gap = keyframeArray[endIndex + 1].getFraction() in loadPvh() local
765 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); in loadPvh()
804 private static void distributeKeyframes(Keyframe[] keyframes, float gap, in distributeKeyframes() argument
807 float increment = gap / count; in distributeKeyframes()
/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/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp418 const nsecs_t gap = tmono2 - tmono; in getMonoToBoottimeOffset() local
419 if (i == 0 || gap < bestGap) { in getMonoToBoottimeOffset()
420 bestGap = gap; in getMonoToBoottimeOffset()
/frameworks/av/services/audioflinger/
DThreads.cpp300 const nsecs_t gap = tmono2 - tmono; in adjustTimebaseOffset() local
301 if (i == 0 || gap < bestGap) { in adjustTimebaseOffset()
302 bestGap = gap; in adjustTimebaseOffset()
/frameworks/base/core/java/android/widget/
DTextView.java12445 final float gap = textWidth / 3.0f; in start() local
12446 mGhostStart = lineWidth - textWidth + gap; in start()
12448 mGhostOffset = lineWidth + gap; in start()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dcase.txt830 conscious of the gap between.
1076 Sherlock Holmes. The next instant he was through the gap, and I heard
1515 gap. The window came down to the ground and I could see the whole
2086 and tactful page, who had helped a little to fill up the gap of
9120 to be the ancient chapel. We entered the broken gap which was once
Dretn.txt210 fill that gap on that second shelf. It looks untidy, does it not,
3390 his machine and led it through a gap in the hedge, disappearing from
3638 He ran distractedly, his pistol in his hand, towards a gap in the
5923 gap between an absconding banker and Captain Peter Carey pinned
10428 way, was more calculated to fill the gap left by the illustrious
Dlstb.txt2137 to be disgusted with me now, and the gap between us began to be wider
4003 and there is a vast gap between either hypothesis and the laying of
Dadvs.txt4977 steps leading down to a black gap like the mouth of a cave, I found
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13597 field public int gap;
/frameworks/base/api/
Dcurrent.txt21419 field public int gap;

12