Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.cpp68 type = typeResult->second.units; in processElement()
83 resourceName = categoryResult->second.units; in processElement()
99 SkASSERT(sizeResult->second.units == typeResult->second.units); in processElement()
118 const char* units, uint64_t value) { in dumpNumericValue() argument
123 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
143 traceValue.units, traceValue.count, entry); in logOutput()
151 traceValue.value, traceValue.units, traceValue.count, entry); in logOutput()
159 if (!strcmp("bytes", mTotalSize.units)) { in total()
169 total.value, total.units, purgeable.value, purgeable.units); in logTotals()
174 if (SkString("bytes") == SkString(output.units) && output.value >= 1024) { in convertUnits()
[all …]
DSkiaMemoryTracer.h42 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
60 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue()
61 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue()
63 const char* units; member
DATraceMemoryDump.cpp65 const char* units, uint64_t value) { in dumpNumericValue() argument
66 if (!strcmp(units, "bytes")) { in dumpNumericValue()
DATraceMemoryDump.h35 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
/frameworks/native/libs/renderengine/skia/debug/
DSkiaMemoryReporter.cpp96 ALOGE_IF(sizeResult->second.units != totalResult->second.units, in processCurrentElement()
113 const char* units, uint64_t value) { in dumpNumericValue() argument
118 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
145 traceValue.value, traceValue.units, traceValue.count, entry); in logOutput()
156 size.value, size.units); in logOutput()
165 traceValue.units); in logOutput()
168 traceValue.value, traceValue.units); in logOutput()
187 total.value, total.units, purgeable.value, purgeable.units); in logTotals()
192 if (SkString("bytes") == SkString(output.units) && output.value >= 1024) { in convertUnits()
194 output.units = "KB"; in convertUnits()
[all …]
DSkiaMemoryReporter.h56 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
75 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue()
76 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue()
78 const char* units; member
/frameworks/base/core/java/android/util/
DTypedValue.java533 @ComplexDimensionUnit int units) { in createComplexDimension() argument
534 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension()
535 throw new IllegalArgumentException("Must be a valid COMPLEX_UNIT_*: " + units); in createComplexDimension()
537 return intToComplex(value) | units; in createComplexDimension()
554 @ComplexDimensionUnit int units) { in createComplexDimension() argument
555 if (units < TypedValue.COMPLEX_UNIT_PX || units > TypedValue.COMPLEX_UNIT_MM) { in createComplexDimension()
556 throw new IllegalArgumentException("Must be a valid COMPLEX_UNIT_*: " + units); in createComplexDimension()
558 return floatToComplex(value) | units; in createComplexDimension()
/frameworks/base/core/java/android/text/format/
DFormatter.java53 public final String units; field in Formatter.BytesResult
56 public BytesResult(String value, String units, long roundedBytes) { in BytesResult() argument
58 this.units = units; in BytesResult()
106 res.value, res.units)); in formatFileSize()
120 res.value, res.units)); in formatShortFileSize()
196 final String units = res.getString(suffix); in formatBytes() local
198 return new BytesResult(roundedString, units, roundedBytes); in formatBytes()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp50 void computeCurrentVelocity(int32_t units, float maxVelocity);
78 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() argument
88 vx = vx * units / 1000; in computeCurrentVelocity()
89 vy = vy * units / 1000; in computeCurrentVelocity()
175 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument
177 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/frameworks/base/core/java/android/view/
DVelocityTracker.java182 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity() argument
337 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
338 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE); in computeCurrentVelocity()
354 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
355 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity()
/frameworks/native/cmds/bugreportz/
Dreadme.md12 progress units out of a max of `<total>`).
/frameworks/base/core/proto/
DREADME.md38 1. Include units in the field names. For example, `screen_time_ms` vs
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec78 void glPolygonOffset ( GLfloat factor, GLfloat units )
79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
DGLES11Ext.spec44 void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
/frameworks/base/core/java/android/widget/
DRemoteViews.java2854 TextViewSizeAction(@IdRes int viewId, @ComplexDimensionUnit int units, float size) {
2856 this.units = units;
2862 units = parcel.readInt();
2868 dest.writeInt(units);
2877 target.setTextSize(units, size);
2885 int units;
2959 @ComplexDimensionUnit int units) {
2963 this.mValue = TypedValue.createComplexDimension(value, units);
3374 @IdRes int viewId, float radius, @ComplexDimensionUnit int units) {
3377 this.mValue = TypedValue.createComplexDimension(radius, units);
[all …]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java778 float units in glPolygonOffset() argument
783 int units in glPolygonOffsetx() argument
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.078 void glPolygonOffset ( GLfloat factor, GLfloat units )
79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in91 void API_ENTRY(glPolygonOffset)(GLfloat factor, GLfloat units) {
92 CALL_GL_API(glPolygonOffset, factor, units);
352 void API_ENTRY(glPolygonOffsetx)(GLfixed factor, GLfixed units) {
353 CALL_GL_API(glPolygonOffsetx, factor, units);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java266 final int units = input % 10; in formatDigits() local
271 builder.append(localizedDigits.charAt(units)); in formatDigits()
/frameworks/base/opengl/java/android/opengl/
DGLES10.java1019 float units in glPolygonOffset() argument
1026 int units in glPolygonOffsetx() argument
DGLErrorWrapper.java639 public void glPolygonOffset(float factor, float units) { in glPolygonOffset() argument
641 mgl.glPolygonOffset(factor, units); in glPolygonOffset()
645 public void glPolygonOffsetx(int factor, int units) { in glPolygonOffsetx() argument
647 mgl.glPolygonOffsetx(factor, units); in glPolygonOffsetx()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1523 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
1524 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity()
1527 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
1549 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1554 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/frameworks/native/opengl/tests/angeles/include/GLES/
Dgl.h550 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
551 GLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java847 float units in glPolygonOffset() argument
854 int units in glPolygonOffsetx() argument
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto115 // exact units are bearer-dependent. For example, Wi-Fi uses RSSI.

12