Searched refs:floor (Results 1 - 25 of 62) sorted by last modified time

123

/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java101 int seconds = (int) Math.floor(duration / 1000);
/frameworks/support/v4/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java349 float targetRotation = (float) (Math.floor(ring.getStartingRotation() / MAX_PROGRESS_ARC)
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java777 region.left = (int) Math.floor(region.left * scale);
778 region.top = (int) Math.floor(region.top * scale);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java8048 (int) Math.floor(tempRectF.left),
8049 (int) Math.floor(tempRectF.top),
/frameworks/rs/api/
H A Drs_math.spec467 See also @floor().
869 function: floor
880 For example, <code>floor(1.2f)</code> returns 1.f, and <code>floor(-1.2f)</code> returns -2.f.
885 function: floor
1046 arg: #2#1* floor, "If floor is not null, *floor will be set to the floor of v."
1049 Returns the positive fractional part of v, i.e. <code>v - floor(
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp95 int startx = (int) floor(xf - 1);
96 xf = xf - floor(xf);
130 int startx = (int) floor(xf - 1);
131 xf = xf - floor(xf);
165 int startx = (int) floor(xf - 1);
166 xf = xf - floor(xf);
246 int startx = (int) floor(xf - 1);
247 xf = xf - floor(xf);
269 int startx = (int) floor(xf - 1);
270 xf = xf - floor(x
[all...]
/frameworks/rs/driver/runtime/
H A Drs_cl.c487 float __attribute__((overloadable)) floor(float v) { function
490 FN_FUNC_FN(floor)
507 int i = (int)floor(v);
1263 int32_t x = iv + (iv >> 31); // ~floor(v)
1277 int2 x = iv + (iv >> (int2)31);//floor(v);
1292 int4 x = iv + (iv >> (int4)31);//floor(v);
1930 HN_FUNC_HN(floor); variable
1943 int i = (int) floor(v);
1947 // return v - floor(v), if strictly less than one
H A Drs_core.c7 int i = (int)floor(v);
H A Drs_sample.c430 int32_t iPixel = floor(pixelUV);
459 int32_t iPixel = floor(uv * (float)(sourceW));
479 int iPixelU = floor(pixelU);
480 int iPixelV = floor(pixelV);
525 int2 iPixel = convert_int2(floor(uv * dimF));
565 uint32_t lod0 = (uint32_t)floor(lod);
618 uint32_t lod0 = (uint32_t)floor(lod);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dresize.rs47 int startx = (int) floor(xf - 1);
48 int starty = (int) floor(yf - 1);
49 xf = xf - floor(xf);
50 yf = yf - floor(yf);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dresize.rs47 int startx = (int) floor(xf - 1);
48 int starty = (int) floor(yf - 1);
49 xf = xf - floor(xf);
50 yf = yf - floor(yf);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dresize.rs47 int startx = (int) floor(xf - 1);
48 int starty = (int) floor(yf - 1);
49 xf = xf - floor(xf);
50 yf = yf - floor(yf);
/frameworks/rs/scriptc/
H A Drs_math.rsh690 * See also floor().
1661 * floor: Smallest integer not greater than a value
1665 * For example, floor(1.2f) returns 1.f, and floor(-1.2f) returns -2.f.
1670 floor(float v);
1673 floor(float2 v);
1676 floor(float3 v);
1679 floor(float4 v);
1683 floor(half v);
1688 floor(half
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java401 int floor = (degrees / stepSize) * stepSize;
402 int ceiling = floor + stepSize;
406 if (degrees == floor) {
407 floor -= stepSize;
409 degrees = floor;
411 if ((degrees - floor) < (ceiling - degrees)) {
412 degrees = floor;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.cpp2222 static_cast<int32_t>(std::floor(pending.right));
2224 static_cast<int32_t>(std::floor(pending.bottom));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/minikin/include/minikin/
H A DLineBreaker.h98 return floor(widthSoFar / mTabWidth + 1) * mTabWidth;
/frameworks/minikin/libs/minikin/
H A DLayout.cpp767 letterSpaceHalfLeft = floor(letterSpace * 0.5);
921 x0 + int(floor(glyph.x + 0.5)), y0 + int(floor(glyph.y + 0.5)));
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowStateAnimator.java1457 mSurfaceController.setPositionInTransaction((float)Math.floor(posX),
1458 (float)Math.floor(posY), recoveringMemory);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java137 pos = pos - (float)Math.floor(pos);
145 int intPart = (int)Math.floor(pos);
167 pos = pos - (float)Math.floor(pos);
171 int intPart = (int)Math.floor(pos);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java135 w = (int) Math.floor(scale * w);
136 h = (int) Math.floor(scale * h);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java232 view.invalidate((int) Math.floor(childBounds.left),
233 (int) Math.floor(childBounds.top),
237 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left)
238 + "," + (int) Math.floor(childBounds.top)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java101 return (absX >= Math.floor(min)) && (absX <= Math.ceil(max));
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java98 int initialSize = (int) Math.floor(1 / scale);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java373 int left = (int) Math.floor(cX - width / (2f * scale));
374 int top = (int) Math.floor(cY - height / (2f * scale));

Completed in 823 milliseconds

123