Home
last modified time | relevance | path

Searched defs:w (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java91 private void assertContentInset(WindowState w, int left, int top, int right, int bottom) { in assertContentInset()
95 private void assertVisibleInset(WindowState w, int left, int top, int right, int bottom) { in assertVisibleInset()
99 private void assertStableInset(WindowState w, int left, int top, int right, int bottom) { in assertStableInset()
103 private void assertFrame(WindowState w, int left, int top, int right, int bottom) { in assertFrame()
107 private void assertContentFrame(WindowState w, Rect expectedRect) { in assertContentFrame()
112 private void assertVisibleFrame(WindowState w, Rect expectedRect) { in assertVisibleFrame()
117 private void assertStableFrame(WindowState w, Rect expectedRect) { in assertStableFrame()
123 FrameTestWindowState w, int left, int top, int right, int bottom) { in assertPolicyCrop()
132 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutInFullscreenTaskInsets() local
189 WindowState w = createWindow(MATCH_PARENT, MATCH_PARENT); in testLayoutInFullscreenTaskNoInsets() local
[all …]
DTaskPositionerTests.java285 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragTopLeft() local
322 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragLeft() local
364 int w = Math.max(r.right - r.left, Math.round(h * MIN_ASPECT)); in testLandscapePreservedWindowResizingDragTop() local
401 final int w = Math.max(mMinVisibleWidth, Math.round(mMinVisibleHeight / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTopLeft() local
423 int w = r.right - MOUSE_DELTA_X; in testPortraitPreservedWindowResizingDragLeft() local
477 int w = Math.min(r.width(), Math.round(h / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTop() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuProcStringReaderTest.java106 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadErrorsLimit()
120 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadErrorsLimit()
141 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadLine()
175 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testMultipleRead()
192 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadLineToArray()
230 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testReadOverLimit()
248 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testConcurrent()
300 try (BufferedWriter w = Files.newBufferedWriter(mTestFile.toPath())) { in testConcurrent()
/frameworks/base/services/core/java/com/android/server/net/
DDelayedDiskWrite.java40 public void write(final String filePath, final Writer w) { in write()
44 public void write(final String filePath, final Writer w, final boolean open) { in write()
66 private void doWrite(String filePath, Writer w, boolean open) { in doWrite()
/frameworks/base/core/jni/
Dandroid_backup_BackupDataOutput.cpp40 dtor_native(JNIEnv* env, jobject clazz, jlong w) in dtor_native()
46 writeEntityHeader_native(JNIEnv* env, jobject clazz, jlong w, jstring key, jint dataSize) in writeEntityHeader_native()
63 writeEntityData_native(JNIEnv* env, jobject clazz, jlong w, jbyteArray data, jint size) in writeEntityData_native()
86 setKeyPrefix_native(JNIEnv* env, jobject clazz, jlong w, jstring keyPrefixObj) in setKeyPrefix_native()
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_FO_HPF.c72 LVM_FLOAT LVM_FO_HPF( LVM_FLOAT w, in LVM_FO_HPF()
101 LVM_INT32 LVM_FO_HPF( LVM_INT32 w, in LVM_FO_HPF()
DLVM_FO_LPF.c72 LVM_FLOAT LVM_FO_LPF( LVM_FLOAT w, in LVM_FO_LPF()
98 LVM_INT32 LVM_FO_LPF( LVM_INT32 w, in LVM_FO_LPF()
DLVM_GetOmega.c104 LVM_FLOAT w; in LVM_GetOmega() local
112 LVM_INT32 w; in LVM_GetOmega() local
/frameworks/native/libs/math/include/math/
Dquat.h66 struct { T x, y, z, w; }; member
106 constexpr TQuaternion(A w) : x(0), y(0), z(0), w(w) { in TQuaternion()
112 constexpr TQuaternion(A w, B x, C y, D z) : x(x), y(y), z(z), w(w) { } in TQuaternion()
116 constexpr TQuaternion(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TQuaternion()
Dvec4.h48 struct { T x, y, z, w; }; member
96 constexpr TVec4(A x, B y, C z, D w) : x(x), y(y), z(z), w(w) { } in TVec4()
99 constexpr TVec4(const TVec2<A>& v, B z, C w) : x(v.x), y(v.y), z(z), w(w) { } in TVec4()
102 constexpr TVec4(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TVec4()
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolImpl.java54 public Image acquire(int w, int h, int type) { in acquire()
58 /* package private */ Image acquire(int w, int h, int type, in acquire()
133 private Image defaultImageImpl(int w, int h, int type, in defaultImageImpl()
DImagePoolHelper.java31 …public static BucketCreationMetaData getBucketCreationMetaData(int w, int h, int type, ImagePoolPo… in getBucketCreationMetaData()
125 private static String toKey(int w, int h, int type) { in toKey()
/frameworks/rs/cpp/
DAllocation.cpp282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange()
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom()
312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom()
321 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo()
341 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedFrom()
353 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedTo()
365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in validate3DRange()
376 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeFrom()
396 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t … in copy3DRangeFrom()
404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeTo()
/frameworks/native/cmds/flatland/
DComposers.cpp47 int32_t x, int32_t y, uint32_t w, uint32_t h) { in blit()
53 int32_t x, int32_t y, uint32_t w, uint32_t h) { in modBlit()
155 int32_t w = mLayerDesc.width; in opaque() local
179 int32_t w = mLayerDesc.width; in opaqueShrink() local
215 int32_t w = mLayerDesc.width; in blend() local
254 int32_t w = mLayerDesc.width; in blendShrink() local
DGLHelper.cpp143 EGLint w, h; in makeCurrent() local
151 bool GLHelper::createSurfaceTexture(uint32_t w, uint32_t h, in createSurfaceTexture()
201 bool GLHelper::createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, in createNamedSurfaceTexture()
224 bool GLHelper::computeWindowScale(uint32_t w, uint32_t h, float* scale) { in computeWindowScale()
245 bool GLHelper::createWindowSurface(uint32_t w, uint32_t h, in createWindowSurface()
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java1427 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange()
1444 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked()
1463 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local
1494 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom()
1527 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom()
1560 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom()
1593 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom()
1626 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { in copy2DRangeFrom()
1644 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, in copy2DRangeFrom()
1650 w, h, data.getID(mRS), dataXoff, dataYoff, in copy2DRangeFrom() local
[all …]
/frameworks/native/libs/gui/tests/
DFillBuffer.cpp25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { in fillYV12Buffer()
54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, in fillYV12BufferRect()
78 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) { in fillRGBA8Buffer()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1452 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange()
1469 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked()
1490 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local
1524 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom()
1562 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom()
1595 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom()
1628 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom()
1661 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { in copy2DRangeFrom()
1679 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, in copy2DRangeFrom()
1687 w, h, data.getID(mRS), dataXoff, dataYoff, in copy2DRangeFrom() local
[all …]
/frameworks/base/core/java/android/view/
DGravity.java138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { in apply()
159 public static void apply(int gravity, int w, int h, Rect container, in apply()
186 public static void apply(int gravity, int w, int h, Rect container, in apply()
296 public static void apply(int gravity, int w, int h, Rect container, in apply()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java68 private static int computeInitialSampleSize(int w, int h, in computeInitialSampleSize()
86 public static int computeSampleSizeLarger(int w, int h, in computeSampleSizeLarger()
149 int w = bitmap.getWidth(); in resizeAndCropCenter() local
180 int w = source.getWidth(); in rotateBitmap() local
/frameworks/native/opengl/tests/gl_perf/
Dfilltest.cpp33 bool doTest(uint32_t w, uint32_t h) { in doTest()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPerformanceTest.java124 final void mySetFrame(int w, int h) { in mySetFrame()
138 final void mySetFrame(int w, int h) { in mySetFrame()
/frameworks/base/telephony/java/android/telephony/
DRlog.java75 public static int w(String tag, String msg) { in w() method in Rlog
80 public static int w(String tag, String msg, Throwable tr) { in w() method in Rlog
85 public static int w(String tag, Throwable tr) { in w() method in Rlog
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowSlog.java58 protected static int w(String tag, String msg) { in w() method in ShadowSlog
63 protected static int w(String tag, String msg, Throwable tr) { in w() method in ShadowSlog
68 protected static int w(String tag, Throwable tr) { in w() method in ShadowSlog
/frameworks/base/core/java/android/util/
DSlog.java62 public static int w(String tag, String msg) { in w() method in Slog
67 public static int w(String tag, String msg, Throwable tr) { in w() method in Slog
72 public static int w(String tag, Throwable tr) { in w() method in Slog

12345678910>>...16