Home
last modified time | relevance | path

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

123

/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/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java81 Rect bound = new Rect(0, 80, 10, 120); in testExtractBoundsFromList_left() local
82 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left()
83 equalTo(new Rect[]{bound, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_left()
89 Rect bound = new Rect(80, 0, 120, 10); in testExtractBoundsFromList_top() local
90 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top()
91 equalTo(new Rect[]{ZERO_RECT, bound, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_top()
97 Rect bound = new Rect(190, 80, 200, 120); in testExtractBoundsFromList_right() local
98 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right()
99 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, bound, ZERO_RECT})); in testExtractBoundsFromList_right()
105 Rect bound = new Rect(80, 190, 120, 200); in testExtractBoundsFromList_bottom() local
[all …]
/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/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_jb/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/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/ImageProcessing2/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/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/services/core/java/com/android/server/soundtrigger_middleware/
DREADME.md6 due to the fact that it is involved in both in-bound and out-bound calls from / to
/frameworks/base/core/proto/android/service/
Dappwidget.proto25 repeated WidgetProto widgets = 1; // the array of bound widgets
28 // represents a bound widget
/frameworks/base/core/java/android/view/
DDisplayCutout.java498 for (Rect bound : boundingRects) { in extractBoundsFromList()
500 if (bound.top == 0) { in extractBoundsFromList()
501 sortedBounds[BOUNDS_POSITION_TOP] = bound; in extractBoundsFromList()
503 sortedBounds[BOUNDS_POSITION_BOTTOM] = bound; in extractBoundsFromList()
506 if (bound.left == 0) { in extractBoundsFromList()
507 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList()
509 sortedBounds[BOUNDS_POSITION_RIGHT] = bound; in extractBoundsFromList()
595 for (Rect bound : getBoundingRectsAll()) { in getBoundingRects()
596 if (!bound.isEmpty()) { in getBoundingRects()
597 result.add(new Rect(bound)); in getBoundingRects()
/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/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java135 final Rect bound = getCurrentBounds(mContext); in getCurrentWindowMetrics() local
137 return new WindowMetrics(bound, computeWindowInsets()); in getCurrentWindowMetrics()
/frameworks/av/media/codecs/m4v_h263/enc/src/
Drate_control.cpp538 Int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local
622bound = (Int)((rc->Bs / 2 - rc->VBV_fullness) * 0.6 / (pMP->target_bits_per_frame / 10)); /* rc->B… in targetBitCalculation()
623 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation()
624 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
627 bound = 50; in targetBitCalculation()
631 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation()
632 diff_counter_BTdst = PV_MIN(diff_counter_BTdst, bound); in targetBitCalculation()
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt118 command into the command stream of the bound client API's current context
167 no context is current for the bound API (i.e., eglGetCurrentContext
171 <dpy> does not match the EGLDisplay of the currently bound context for
172 the currently bound client API (the EGLDisplay returned by
176 the currently bound client API does not support the client API
/frameworks/base/core/java/com/android/internal/infra/
DAbstractRemoteService.java258 final boolean bound = handleIsBound(); in dump()
260 .append(String.valueOf(bound)); in dump()
262 if (bound) { in dump()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportClient.java521 int bound = transitionThroughState(oldState, newState, State.BOUND_AND_CONNECTING); in onStateTransition() local
523 if (bound != Transition.NO_TRANSITION) { in onStateTransition()
524 int value = (bound == Transition.UP) ? 1 : 0; // 1 is bound, 0 is not bound in onStateTransition()

123