Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
H A DGameAppHelper.kt47 val bound = gameView.getVisibleBounds() regex
49 bound.centerX(),
50 bound.top,
51 bound.centerX(),
52 bound.centerY(),
73 val bound = fullView.bounds regex
74 val targetYPos = bound.bottom * ratioForScreenBottom
77 Direction.LEFT -> bound.left
78 Direction.RIGHT -> bound.right
84 bound.centerX(),
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dcow_compress.cpp43 const auto bound = compressBound(length); in Compress() local
44 std::basic_string<uint8_t> buffer(bound, '\0'); in Compress()
46 uLongf dest_len = bound; in Compress()
57 const auto bound = BrotliEncoderMaxCompressedSize(length); in Compress() local
58 if (!bound) { in Compress()
62 std::basic_string<uint8_t> buffer(bound, '\0'); in Compress()
64 size_t encoded_size = bound; in Compress()
76 const auto bound = LZ4_compressBound(length); in Compress() local
77 if (!bound) { in Compress()
81 std::basic_string<uint8_t> buffer(bound, '\0'); in Compress()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
H A DDecorProvider.kt126 for (bound in provider.alignedBounds) {
127 boundCount[bound]++
139 for (bound in bounds) {
140 if (boundCount[bound] > maxCount) {
141 maxCountBound = bound
142 maxCount = boundCount[bound]
H A DCutoutDecorProviderFactory.kt50 for (bound in bounds) {
52 CutoutDecorProviderImpl(bound.baseOnRotation0(displayInfo.rotation))
H A DFaceScanningProviderFactory.kt82 for (bound in bounds) {
85 bound.baseOnRotation0(displayInfo.rotation),
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DViewHierarchyAnimator.kt55 return object : IntProperty<View>(bound.label) {
57 setBound(view, bound, value)
61 return getBound(view, bound) ?: bound.getValue(view)
981 private fun getBound(view: View, bound: Bound): Int? {
982 return view.getTag(bound.overrideTag) as? Int
986 view.setTag(bound.overrideTag, value)
987 bound.setValue(view, value)
1010 bounds.forEach { bound ->
1013 PROPERTIES[bound],
1015 endValues.getValue(bound)
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java85 Rect bound = new Rect(0, 80, 10, 120); in testExtractBoundsFromList_left() local
86 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left()
87 equalTo(new Rect[]{bound, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_left()
93 Rect bound = new Rect(80, 0, 120, 10); in testExtractBoundsFromList_top() local
94 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top()
95 equalTo(new Rect[]{ZERO_RECT, bound, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_top()
101 Rect bound = new Rect(190, 80, 200, 120); in testExtractBoundsFromList_right() local
102 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right()
103 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, bound, ZERO_RECT})); in testExtractBoundsFromList_right()
109 Rect bound = new Rect(80, 190, 120, 200); in testExtractBoundsFromList_bottom() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/transformation/
H A DTransformation.kt127 private fun reverseBound(bound: Float): Float {
128 return if (bound.isSpecified()) {
129 1f - bound
/aosp14/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java148 boolean bound = false; in bindView()
150 bound = binder.setViewValue(v, cursor, from[i]); in bindView()
153 if (!bound) { in bindView()
H A DSimpleCursorTreeAdapter.java218 boolean bound = false; in bindView()
220 bound = binder.setViewValue(v, cursor, from[i]); in bindView()
223 if (!bound) { in bindView()
H A DSimpleAdapter.java205 boolean bound = false; in bindView()
207 bound = binder.setViewValue(v, data, text); in bindView()
210 if (!bound) { in bindView()
/aosp14/frameworks/base/tests/EnforcePermission/service-app/src/android/tests/enforcepermission/service/
H A DTestService.java44 boolean bound = bindService(intent, mNestedServiceConnection, Context.BIND_AUTO_CREATE); in onCreate()
45 if (!bound) { in onCreate()
/aosp14/frameworks/base/core/proto/android/service/
H A Dappwidget.proto25 repeated WidgetProto widgets = 1; // the array of bound widgets
28 // represents a bound widget
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A 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()
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()
2224 if (bound.getWidth() <= width && in getPreviewSizeBound()
2225 bound.getHeight() <= height) in getPreviewSizeBound()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DDataLoaderManagerService.java264 DataLoaderServiceConnection bound = mServiceConnections.get(mId);
265 if (bound == this) {
268 if (bound != null) {
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java564 for (Rect bound : boundingRects) { in extractBoundsFromList()
566 if (bound.top == 0) { in extractBoundsFromList()
567 sortedBounds[BOUNDS_POSITION_TOP] = bound; in extractBoundsFromList()
569 sortedBounds[BOUNDS_POSITION_BOTTOM] = bound; in extractBoundsFromList()
572 if (bound.left == 0) { in extractBoundsFromList()
573 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList()
575 sortedBounds[BOUNDS_POSITION_RIGHT] = bound; in extractBoundsFromList()
663 for (Rect bound : getBoundingRectsAll()) { in getBoundingRects()
664 if (!bound.isEmpty()) { in getBoundingRects()
665 result.add(new Rect(bound)); in getBoundingRects()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
H A DControlsProviderLifecycleManager.kt173 var bound = false regex
175 bound = context
178 if (!bound) {
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DUtilities.java71 float bound) { in isRelativePercentDifferenceGreaterThan() argument
72 return (Math.abs(first - second) / Math.abs((first + second) / 2.0f)) > bound; in isRelativePercentDifferenceGreaterThan()
/aosp14/frameworks/base/core/java/com/android/internal/infra/
H A DAbstractRemoteService.java300 final boolean bound = handleIsBound(); in dump()
302 .append(String.valueOf(bound)); in dump()
304 if (bound) { in dump()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/transport/
H A DTransportConnection.java532 int bound = transitionThroughState(oldState, newState, State.BOUND_AND_CONNECTING); in onStateTransition() local
534 if (bound != Transition.NO_TRANSITION) { in onStateTransition()
535 int value = (bound == Transition.UP) ? 1 : 0; // 1 is bound, 0 is not bound in onStateTransition()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DProcessStateRecord.java1198 void setCurBoundByNonBgRestrictedApp(boolean bound) { in setCurBoundByNonBgRestrictedApp() argument
1199 mCurBoundByNonBgRestrictedApp = bound; in setCurBoundByNonBgRestrictedApp()
1208 void setSetBoundByNonBgRestrictedApp(boolean bound) { in setSetBoundByNonBgRestrictedApp() argument
1209 mSetBoundByNonBgRestrictedApp = bound; in setSetBoundByNonBgRestrictedApp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DEventLogTags.logtags59 ## 2: USER_SYSTEM_BOUND Secondary user is bound to the system sysui service
/aosp14/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java184 boolean bound = false; in connect()
186 bound = mContext.bindService(intent, mServiceConnection, in connect()
192 if (!bound) { in connect()
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java337 public void setBound(boolean bound, int memFactor, long now) { in setBound() argument
341 final int state = bound ? memFactor : STATE_NOTHING; in setBound()
346 } else if (bound) { in setBound()

12