Home
last modified time | relevance | path

Searched refs:middle (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/preload/
DLoadedClass.java96 int middle = size / 2; in calculateMedian() local
99 return times[middle]; in calculateMedian()
102 return (times[middle - 1] + times[middle]) / 2; in calculateMedian()
/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/
DSwipeToSceneTest.kt49 private val Density.middle: Offset constant
109 down(middle) in testDragWithPositionalThreshold()
145 down(middle) in testDragWithPositionalThreshold()
194 start = middle, in testSwipeWithVelocityThreshold()
195 end = middle - Offset(55.dp.toPx() + touchSlop, 0f), in testSwipeWithVelocityThreshold()
221 start = middle, in testSwipeWithVelocityThreshold()
222 end = middle + Offset(0f, 55.dp.toPx() + touchSlop), in testSwipeWithVelocityThreshold()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java102 boolean middle = false; in horizontalButtonSlots()
110 middle = true; in horizontalButtonSlots()
126 if (middle) { in horizontalButtonSlots()
/frameworks/rs/script_api/
Drs_value_types.spec56 With the example above, the middle two entries can be accessed using
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java2899 final ActivityRecord middle = new ActivityBuilder(mAtm).setTask(task).build(); in testTransferStartingWindowFromFinishingActivity() local
2900 task.startActivityLocked(middle, null /* topTask */, in testTransferStartingWindowFromFinishingActivity()
2903 middle.makeFinishingLocked(); in testTransferStartingWindowFromFinishingActivity()
2906 assertHasStartingWindow(middle); in testTransferStartingWindowFromFinishingActivity()
2918 assertNull(middle.mStartingWindow); in testTransferStartingWindowFromFinishingActivity()
2923 assertFalse(middle.isVisible()); in testTransferStartingWindowFromFinishingActivity()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DREADME.md24 - The "middle layer" is concerned with the business logic of the service.
/frameworks/base/packages/SystemUI/docs/
Dfalsing.md202 as it simply creates noise in the logs. Generally, a middle value between the
/frameworks/compile/slang/
DREADME.rst264 to external influence in the middle of running **root**. The return value
/frameworks/rs/script_api/include/
Drs_value_types.rsh58 * With the example above, the middle two entries can be accessed using
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java5852 final Region middle = Region.obtain(local); in calculateSystemGestureExclusion()
5853 middle.op(mSystemGestureFrameLeft, Op.DIFFERENCE); in calculateSystemGestureExclusion()
5854 middle.op(mSystemGestureFrameRight, Op.DIFFERENCE); in calculateSystemGestureExclusion()
5855 outExclusion.op(middle, Op.UNION); in calculateSystemGestureExclusion()
5856 middle.recycle(); in calculateSystemGestureExclusion()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java306 public void setMiddle(String middle) { mMiddle = middle; } in setMiddle() argument
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto165 // We are currently in the middle of a batch change of uids.
/frameworks/base/core/java/android/widget/
DEditor.java693 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2; in replace() local
694 Selection.setSelection((Spannable) mTextView.getText(), middle); in replace() local