Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 97) sorted by relevance

1234

/development/tools/winscope/src/trace_processor/
Dbigint_math.ts53 step = BigintMath.max(1n, step);
61 step = BigintMath.max(1n, step);
68 step = BigintMath.max(1n, step);
78 static max(a: bigint, b: bigint): bigint { method in BigintMath
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardStack.java65 final int max = cardParent.getChildCount(); in onCreate() local
66 for (int i = 0; i < max; i++) { in onCreate()
70 float targetY = (i - (max-1) / 2.0f) * Y; in onCreate()
75 toward.setStartDelay(200 * ((max) - i)); in onCreate()
81 rotateAway.setStartDelay(200 * ((max) - i)); in onCreate()
86 slideAway.setStartDelay(200 * ((max) - i)); in onCreate()
DPictureLayout.java100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
101 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java101 mLeftWidth += Math.max(maxWidth, in onMeasure()
104 mRightWidth += Math.max(maxWidth, in onMeasure()
107 maxWidth = Math.max(maxWidth, in onMeasure()
110 maxHeight = Math.max(maxHeight, in onMeasure()
120 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
121 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure()
/development/tools/winscope/src/viewers/components/rects/
Dmapper3d.ts67 this.cameraRotationFactor = Math.min(Math.max(factor, 0), 1);
75 this.zSpacingFactor = Math.min(Math.max(factor, 0), 1);
85 this.zoomFactor = Math.max(this.zoomFactor, Mapper3D.ZOOM_FACTOR_MIN);
285 maxWidth = Math.max(
289 maxHeight = Math.max(
303 maxDimension = Math.max(maxDisplaySize.width, maxDisplaySize.height) * 2;
327 Math.max(
425 maxX = Math.max(maxX, point.x);
427 maxY = Math.max(maxY, point.y);
429 maxZ = Math.max(maxZ, point.z);
/development/tools/bugreport/src/com/android/bugreport/util/
DLines.java86 private Lines(ArrayList<? extends Line> list, int min, int max) { in Lines() argument
89 mMax = max; in Lines()
139 return new Lines<T>(mList, Math.max(mMin, from), Math.min(mMax, to)); in copy()
/development/tools/winscope/src/common/
Dtime.ts24 const max = this.to.getValueNs(); constant
25 return ts.getValueNs() >= min && ts.getValueNs() <= max;
Drect.ts46 const maxLeft = Math.max(this.x, other.x);
48 const maxTop = Math.max(this.y, other.y);
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentRetainInstance.java112 int max = 10000;
121 while (!mReady || mPosition >= max) {
135 max = mProgressBar.getMax();
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java253 final float max = 25.0f; in getFilterParameter() local
255 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter()
259 final float max = 2.f; in getFilterParameter() local
261 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter()
265 final float max = (float) Math.PI; in getFilterParameter() local
267 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter()
/development/tools/winscope/src/trace/
Dframe_map.ts164 start: Math.max(entries.start, 0),
171 start: Math.max(frames.start, 0),
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DInlineRequestHelper.java48 static int getMaxSuggestionCount(Optional<InlineSuggestionsRequest> inlineRequest, int max) { in getMaxSuggestionCount() argument
50 return Math.min(max, inlineRequest.get().getMaxSuggestionCount()); in getMaxSuggestionCount()
52 return max; in getMaxSuggestionCount()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java183 minWidth = Math.max(minWidth, background.getMinimumWidth()); in add()
184 minHeight = Math.max(minHeight, background.getMinimumHeight()); in add()
201 int height = Math.max(minHeight, textHeight + padHeight); in add()
202 int width = Math.max(minWidth, textWidth + padWidth); in add()
228 lineHeight = Math.max(lineHeight, height); in add()
/development/tools/winscope/src/viewers/viewer_transactions/scroll_strategy/
Dtransactions_scroll_strategy.ts31 return Math.max(whatHeight, timestampHeight);
/development/tools/winscope/src/viewers/viewer_protolog/scroll_strategy/
Dprotolog_scroll_strategy.ts36 return Math.max(textHeight, timestampHeight, sourceFileHeight);
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer.java96 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
109 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
DBouncer1.java70 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
79 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
DBouncer3.java71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
DBouncer2.java71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java82 mAnimation.setDuration(Math.max(BASE_ANIMATION_DURATION_MS / 10, in createNextAnimation()
127 int minSize = Math.max(right - left, bottom - top) + mZoomLength; in onLayout()
/development/tools/core_connectivity/
Dcheck_style.sh30 local MSG=`git rev-list --format=%B --max-count=1 HEAD`
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java64 size = Math.max(widthSize, heightSize); in onMeasure()
/development/tools/otagui/src/components/
DUploadFile.vue10 max="100"
/development/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Dmini_timeline_drawer_impl.ts280 const width = Math.max(entry.to - entry.from, 3);
293 const width = Math.max(entry.to - entry.from, 3);
359 return innerHeight / (Math.max(timelineTraces.size - 10, 0) + 12);
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java256 final int minWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()
258 final int minHeight = Math.max(mOnLayout.getHeight(), mOffLayout.getHeight()) in onMeasure()

1234