Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/text/
DWordSegmentFinder.java69 int boundary = offset; in previousStartBoundary() local
71 boundary = mWordIterator.prevBoundary(boundary); in previousStartBoundary()
72 if (boundary == BreakIterator.DONE) { in previousStartBoundary()
75 } while (Character.isWhitespace(mText.charAt(boundary))); in previousStartBoundary()
76 return boundary; in previousStartBoundary()
81 int boundary = offset; in previousEndBoundary() local
83 boundary = mWordIterator.prevBoundary(boundary); in previousEndBoundary()
84 if (boundary == BreakIterator.DONE || boundary == 0) { in previousEndBoundary()
87 } while (Character.isWhitespace(mText.charAt(boundary - 1))); in previousEndBoundary()
88 return boundary; in previousEndBoundary()
[all …]
DGraphemeClusterSegmentFinder.java91 int boundary = previousBoundary(offset); in previousEndBoundary() local
94 if (boundary == DONE || previousBoundary(boundary) == DONE) { in previousEndBoundary()
97 return boundary; in previousEndBoundary()
103 int boundary = nextBoundary(offset); in nextStartBoundary() local
106 if (boundary == DONE || nextBoundary(boundary) == DONE) { in nextStartBoundary()
109 return boundary; in nextStartBoundary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java249 public void setBoundaryPosition(CropBoundary boundary, float position) { in setBoundaryPosition() argument
250 Log.i(TAG, "setBoundaryPosition: " + boundary + ", position=" + position); in setBoundaryPosition()
251 position = (float) getAllowedValues(boundary).clamp(position); in setBoundaryPosition()
252 switch (boundary) { in setBoundaryPosition()
274 private float getBoundaryPosition(CropBoundary boundary) { in getBoundaryPosition() argument
275 switch (boundary) { in getBoundaryPosition()
288 private static boolean isVertical(CropBoundary boundary) { in isVertical() argument
289 return boundary == CropBoundary.TOP || boundary == CropBoundary.BOTTOM; in isVertical()
295 public void animateBoundaryTo(CropBoundary boundary, float value) { in animateBoundaryTo() argument
296 if (boundary == CropBoundary.NONE) { in animateBoundaryTo()
[all …]
DMagnifierView.java153 public void onCropDragStarted(CropView.CropBoundary boundary, float boundaryPosition, in onCropDragStarted() argument
155 mCropBoundary = boundary; in onCropDragStarted()
175 public void onCropDragMoved(CropView.CropBoundary boundary, float boundaryPosition, in onCropDragMoved() argument
/frameworks/libs/binary_translation/exec_region/
Dsections.ld30 /* Align following segments on the page boundary to prevent
50 /* Align the rest of segments on the page boundary to prevent
/frameworks/base/core/java/android/util/
DRecurrenceRule.java228 private ZonedDateTime roundBoundaryTime(ZonedDateTime boundary) { in roundBoundaryTime() argument
229 if (isMonthly() && (boundary.getDayOfMonth() < start.getDayOfMonth())) { in roundBoundaryTime()
232 return ZonedDateTime.of(boundary.toLocalDate(), LocalTime.MAX, start.getZone()); in roundBoundaryTime()
234 return boundary; in roundBoundaryTime()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java1866 WindowContainer boundary, boolean includeBoundary, boolean traverseTopToBottom) { in forAllActivities() argument
1868 callback, boundary, includeBoundary, traverseTopToBottom, new boolean[1]); in forAllActivities()
1872 WindowContainer boundary, boolean includeBoundary, boolean traverseTopToBottom, in forAllActivities() argument
1876 if (processForAllActivitiesWithBoundary(callback, boundary, includeBoundary, in forAllActivities()
1884 if (processForAllActivitiesWithBoundary(callback, boundary, includeBoundary, in forAllActivities()
1895 WindowContainer boundary, boolean includeBoundary, boolean traverseTopToBottom, in processForAllActivitiesWithBoundary() argument
1897 if (wc == boundary) { in processForAllActivitiesWithBoundary()
1907 callback, boundary, includeBoundary, traverseTopToBottom, boundaryFound); in processForAllActivitiesWithBoundary()
1929 ActivityRecord boundary) { in getActivity() argument
1934 if (wc == boundary) return boundary; in getActivity()
[all …]
DDisplayArea.java422 ActivityRecord boundary) { in getActivity() argument
426 return super.getActivity(callback, traverseTopToBottom, boundary); in getActivity()
/frameworks/base/tools/aapt2/
Dformats.md21 boundary, so if a previous entry ends unaligned, padding must be inserted.
40 …bytes of zeros, if padding is necessary to align the `data` field on a 32-bit boundary. |
/frameworks/base/packages/SystemUI/plugin/
Dproguard_plugins.flags11 # This type is used in the plugin API boundary, so ensure the used public methods are kept.
/frameworks/rs/script_api/include/
Drs_object_types.rsh154 RS_TYPE_MATRIX_4X4 = 16, // A 4x4 matrix of 32 bit floats, aligned on a 32 bit boundary.
155 RS_TYPE_MATRIX_3X3 = 17, // A 3x3 matrix of 32 bit floats, aligned on a 32 bit boundary.
156 RS_TYPE_MATRIX_2X2 = 18, // A 2x2 matrix of 32 bit floats, aligned on a 32 bit boundary.
/frameworks/native/libs/arect/
DAndroid.bp71 // static link, so it won't straddle a module boundary at runtime.
/frameworks/native/libs/binderthreadstate/
DAndroid.bp49 // static link, so it won't straddle a module boundary at runtime.
/frameworks/native/libs/renderengine/skia/
DCache.cpp417 FloatRect boundary(0, 0, displayRect.width(), in drawClippedDimmedImageLayers() local
423 .boundaries = boundary, in drawClippedDimmedImageLayers()
523 FloatRect boundary(0, 0, displayRect.width(), in drawBT2020ClippedImageLayers() local
529 .boundaries = boundary, in drawBT2020ClippedImageLayers()
/frameworks/base/proto/src/
Dcamera.proto59 // The boundary values between histogram bins
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Doverview.md12 presentation of surfaces (WMShell) and provides a minimal interface boundary for the two to
Dthreading.md8 Thread boundary
/frameworks/base/ravenwood/
DREADME.md23 …* _Contrasted with Robolectric, where support for “real” code ends at the app process boundary, su…
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dcamera_response.rsh86 // Add a boundary to correctly deal with the max value in ApplyLUT.
Dlayered_filter_fast_d1new.rscript10 // for invalid pixels, e.g., padded pixels around image boundary.
129 // Next, tries to figure out whether or not this pixel is on the boundary
153 // Marks pixels near the boundary of active pixels to compute matte later.
188 // Next, tries to figure out whether or not this pixel is on the boundary
213 // Marks pixels near the boundary of active pixels to compute matte later.
Dlayered_filter_fast_f32.rscript10 // for invalid pixels, e.g., padded pixels around image boundary.
146 // Next, tries to figure out whether or not this pixel is on the boundary
175 // Marks pixels near the boundary of active pixels to compute matte later.
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript401 // Test nextafter at the boundary of subnormal numbers. Since RenderScript
439 // ilogb(2^n) = n. Test at the boundary on either side of 2^n.
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dsimplex3d.agsl114 // Noise contribution should decay to zero before they cross the simplex boundary.
/frameworks/minikin/doc/
Dhyb_file_format.md78 In general, pad bytes follow this table, aligning the next table to a 4-byte boundary.
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java2577 for (final float boundary : luxThresholds) { in isDifferentZone()
2580 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()
2581 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()

12