Home
last modified time | relevance | path

Searched refs:bound (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DGameAppHelper.kt47 val bound = gameView.getVisibleBounds() in swipeDown() constant
48 return uiDevice.swipe(bound.centerX(), 0, bound.centerX(), bound.centerY(), SWIPE_STEPS) in swipeDown()
67 val bound = fullView.bounds in switchToPreviousAppByQuickSwitchGesture() constant
68 val targetYPos = bound.bottom * ratioForScreenBottom in switchToPreviousAppByQuickSwitchGesture()
71 Direction.LEFT -> bound.left in switchToPreviousAppByQuickSwitchGesture()
72 Direction.RIGHT -> bound.right in switchToPreviousAppByQuickSwitchGesture()
78 bound.centerX(), in switchToPreviousAppByQuickSwitchGesture()
/frameworks/compile/mclinker/include/mcld/Support/
DAllocators.h30 Chunk() : next(NULL), bound(0) {} in Chunk()
44 size_t bound; variable
54 Chunk() : next(NULL), bound(0) { in Chunk()
80 size_t bound; variable
146 size_type rest_num_elem = chunk_type::size() - m_pCurrent->bound; in allocate()
150 result = m_pCurrent->data + m_pCurrent->bound; in allocate()
151 m_pCurrent->bound += N; in allocate()
161 if (chunk_type::size() == m_pCurrent->bound) in allocate()
163 result = m_pCurrent->data + m_pCurrent->bound; in allocate()
164 ++m_pCurrent->bound; in allocate()
[all …]
DGCFactory.h36 if ((m_Pos == m_pChunk->bound) && (0 == m_pChunk->next)) in advance()
38 if (m_Pos == m_pChunk->bound) { in advance()
161 : iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound); in end()
167 : const_iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound); in end()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DDecorProvider.kt126 for (bound in provider.alignedBounds) { in getProperBound() constant
127 boundCount[bound]++ in getProperBound()
139 for (bound in bounds) { in getProperBound() constant
140 if (boundCount[bound] > maxCount) { in getProperBound()
141 maxCountBound = bound in getProperBound()
142 maxCount = boundCount[bound] in getProperBound()
DCutoutDecorProviderFactory.kt50 for (bound in bounds) { in <lambda>() method
52 CutoutDecorProviderImpl(bound.baseOnRotation0(displayInfo.rotation)) in <lambda>()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFisheyeFilter.java159 float bound = (float) Math.sqrt(bound2); in updateProgramParams() local
160 float radius = 1.15f * bound; in updateProgramParams()
163 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); in updateProgramParams()
164 float factor = bound / max_radian; in updateProgramParams()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewHierarchyAnimator.kt54 private fun createViewProperty(bound: Bound): IntProperty<View> { in <lambda>()
55 return object : IntProperty<View>(bound.label) { in <lambda>()
57 setBound(view, bound, value) in <lambda>()
61 return getBound(view, bound) ?: bound.getValue(view) in <lambda>()
996 private fun getBound(view: View, bound: Bound): Int? { in <lambda>()
997 return view.getTag(bound.overrideTag) as? Int in <lambda>()
1000 private fun setBound(view: View, bound: Bound, value: Int) { in <lambda>()
1001 view.setTag(bound.overrideTag, value) in <lambda>()
1002 bound.setValue(view, value) in <lambda>()
1025 bounds.forEach { bound -> in <lambda>() method
[all …]
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DTransformation.kt121 private fun reverseBound(bound: Float): Float { in Float()
122 return if (bound.isSpecified()) { in Float()
123 1f - bound in Float()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
42 factor = bound / max_radian;
Dfisheye.rsh38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
42 factor = bound / max_radian;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh40 const float bound = sqrt(bound2);
41 const float radius = 1.15f * bound;
43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
44 factor = bound / max_radian;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye.rsh38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
42 factor = bound / max_radian;
Dfisheye_approx.rsh38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
42 factor = bound / max_radian;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye.rsh38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
42 factor = bound / max_radian;
Dfisheye_approx.rsh38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
42 factor = bound / max_radian;
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java87 Rect bound = new Rect(0, 80, 10, 120); in testExtractBoundsFromList_left() local
88 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left()
89 equalTo(new Rect[]{bound, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_left()
95 Rect bound = new Rect(80, 0, 120, 10); in testExtractBoundsFromList_top() local
96 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top()
97 equalTo(new Rect[]{ZERO_RECT, bound, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_top()
103 Rect bound = new Rect(190, 80, 200, 120); in testExtractBoundsFromList_right() local
104 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right()
105 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, bound, ZERO_RECT})); in testExtractBoundsFromList_right()
111 Rect bound = new Rect(80, 190, 120, 200); in testExtractBoundsFromList_bottom() local
[all …]
/frameworks/base/core/java/android/widget/
DSimpleCursorTreeAdapter.java218 boolean bound = false; in bindView()
220 bound = binder.setViewValue(v, cursor, from[i]); in bindView()
223 if (!bound) { in bindView()
DSimpleCursorAdapter.java148 boolean bound = false; in bindView()
150 bound = binder.setViewValue(v, cursor, from[i]); in bindView()
153 if (!bound) { in bindView()
DSimpleAdapter.java205 boolean bound = false; in bindView()
207 bound = binder.setViewValue(v, data, text); in bindView()
210 if (!bound) { in bindView()
/frameworks/base/core/proto/android/service/
Dappwidget.proto25 repeated WidgetProto widgets = 1; // the array of bound widgets
28 // represents a bound widget
/frameworks/proto_logging/stats/enums/service/
Dprocstats_enum.proto46 // Process bound by top or a foreground service
78 // Process bound by a top service
80 // Process bound by foreground service
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1064 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument
1074 if (bound == null) { in getSupportedPreviewSizes()
1080 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1120 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat() argument
1124 if (bound != null) { in getSortedSizesForFormat()
1127 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1152 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument
1162 if (bound == null) { in getSupportedVideoSizes()
1168 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
1184 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedStillSizes() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DDataLoaderManagerService.java264 DataLoaderServiceConnection bound = mServiceConnections.get(mId);
265 if (bound == this) {
268 if (bound != null) {
/frameworks/rs/script_api/
Drs_graphics.spec359 operate on the texture bound at the matching slot.
375 of the texture will be controled by the Sampler bound at the
566 function uses the default passthough ProgramVertex. Any bound ProgramVertex
802 Get the projection matrix for a currently bound fixed function
814 summary: Load the model matrix for a bound fixed function vertex program
816 Load the model matrix for a currently bound fixed function
828 summary: Load the projection matrix for a bound fixed function vertex program
830 Load the projection matrix for a currently bound fixed function
842 summary: Load the texture matrix for a bound fixed function vertex program
844 Load the texture matrix for a currently bound fixed function
/frameworks/base/tests/EnforcePermission/service-app/src/android/tests/enforcepermission/service/
DTestService.java48 boolean bound = bindService(intent, mNestedServiceConnection, Context.BIND_AUTO_CREATE); in onCreate()
49 if (!bound) { in onCreate()

123