Home
last modified time | relevance | path

Searched refs:square (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DCircleFramedDrawable.java65 final int square = Math.min(width, height); in CircleFramedDrawable() local
67 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); in CircleFramedDrawable()
/frameworks/wilhelm/tests/sandbox/
Dintbufq.c60 frame_t square[SQUARE_FRAMES]; variable
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; in main()
158 square[i].right = square[i].left; in main()
193 buffer = square; in main()
194 size = sizeof(square); in main()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerRoundedCorner.java126 final Path square = new Path(); in InvertedRoundedCornerDrawInfo() local
127 square.addRect(0, 0, mRadius, mRadius, Path.Direction.CW); in InvertedRoundedCornerDrawInfo()
133 mPath.op(square, circle, Path.Op.DIFFERENCE); in InvertedRoundedCornerDrawInfo()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetCallsTest.java57 View square = mActivity.findViewById(R.id.square1); in setUp() local
69 mAnimator = ObjectAnimator.ofFloat(square, "translationX", 0f, 100f); in setUp()
341 View square = mActivity.findViewById(R.id.square1); in endInCancel() local
342 assertEquals(100f, square.getTranslationX(), 0.001f); in endInCancel()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp294 inline int square(int x) { in square() function
312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); in chooseModifier()
317 score += (etc1_uint32) (3 * square(decodedR - pixelR)); in chooseModifier()
322 score += (etc1_uint32) square(decodedB - pixelB); in chooseModifier()
/frameworks/rs/script_api/include/
Drs_value_types.rsh83 * RenderScript supports fixed size square matrices of floats of size 2x2, 3x3, and 4x4.
501 * A square 2x2 matrix of floats. The entries are stored in the array at the
513 * A square 3x3 matrix of floats. The entries are stored in the array at the
525 * A square 4x4 matrix of floats. The entries are stored in the array at the
537 * A square 4x4 matrix of floats that represents a quaternion.
Drs_for_each.rsh124 * float __attribute__((kernel)) square(float a) {
129 * rsForEach(square, ain, aout);
Drs_math.rsh82 * 2 divided by the square root of pi, as a 32 bit float.
145 * The inverse of the square root of 2, as a 32 bit float.
152 * The square root of 2, as a 32 bit float.
2100 * half_rsqrt: Reciprocal of a square root computed to 16 bit precision
2131 * Returns the approximate square root of a value.
5038 * native_rsqrt: Approximate reciprocal of a square root
5281 * native_sqrt: Approximate square root
5889 * rsqrt: Reciprocal of a square root
6135 * Returns the square root of a value.
Drs_matrix.rsh22 * These functions let you manipulate square matrices of rank 2x2, 3x3, and 4x4.
/frameworks/base/proto/src/
Daltitude.proto39 // Defines the root mean square error in meters of the geoid height.
/frameworks/base/core/java/android/window/flags/
Dwindowing_frontend.aconfig69 description: "On close to square display, when necessary, configuration includes status bar"
/frameworks/rs/script_api/
Drs_math.spec83 2 divided by the square root of pi, as a 32 bit float.
155 The inverse of the square root of 2, as a 32 bit float.
163 The square root of 2, as a 32 bit float.
1155 summary: Reciprocal of a square root computed to 16 bit precision
1173 Returns the approximate square root of a value.
2537 summary: Approximate reciprocal of a square root
2662 summary: Approximate square root
3027 summary: Reciprocal of a square root
3171 Returns the square root of a value.
Drs_for_each.spec123 float __attribute__((kernel)) square(float a) {<br/>
128 &nbsp;&nbsp;rsForEach(square, ain, aout);<br/>
Drs_matrix.spec20 These functions let you manipulate square matrices of rank 2x2, 3x3, and 4x4.
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java777 final double square = squareH + squareS + squareV; in isRgbSimilarInHsv() local
778 final double mean = square / 3; in isRgbSimilarInHsv()
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt183 (For example, a function in a library to compute square roots has
187 be optional: if the application does not supply it, the square
188 root function must still compute square roots.)