Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java91 int getPreferredModeId(WindowState w) { in getPreferredModeId()
109 int calculatePriority(WindowState w) { in calculatePriority()
125 float getPreferredRefreshRate(WindowState w) { in getPreferredRefreshRate()
160 float getPreferredMinRefreshRate(WindowState w) { in getPreferredMinRefreshRate()
170 float getPreferredMaxRefreshRate(WindowState w) { in getPreferredMaxRefreshRate()
DLetterboxUiController.java116 final WindowState w = mActivityRecord.findMainWindow(); in updateLetterboxSurface() local
127 final WindowState w = mActivityRecord.findMainWindow(); in layoutLetterbox() local
182 final WindowState w = mActivityRecord.findMainWindow(); in getLetterboxBackgroundColor() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPositionerTests.java303 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragTopLeft() local
340 final int w = mMinVisibleWidth; in testLandscapePreservedWindowResizingDragLeft() local
382 int w = Math.max(r.right - r.left, Math.round(h * MIN_ASPECT)); in testLandscapePreservedWindowResizingDragTop() local
419 final int w = Math.max(mMinVisibleWidth, Math.round(mMinVisibleHeight / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTopLeft() local
441 int w = r.right - MOUSE_DELTA_X; in testPortraitPreservedWindowResizingDragLeft() local
495 int w = Math.min(r.width(), Math.round(h / MIN_ASPECT)); in testPortraitPreservedWindowResizingDragTop() local
DWindowFrameTests.java77 private void assertFrame(WindowState w, Rect frame) { in assertFrame()
81 private void assertFrame(WindowState w, int left, int top, int right, int bottom) { in assertFrame()
85 private void assertRelFrame(WindowState w, int left, int top, int right, int bottom) { in assertRelFrame()
92 WindowState w = createWindow(); in testLayoutInFullscreenTask() local
181 WindowState w = createWindow(); in testLayoutNonfullscreenTask() local
226 WindowState w = createWindow(); in testLayoutLetterboxedWindow() local
260 WindowState w = createWindow(); in testFreeformContentInsets() 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/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(static_cast<T>(x)), y(static_cast<T>(y)), z(static_c… 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/base/core/tests/coretests/src/android/view/
DWindowInfoTest.java80 WindowInfo w = WindowInfo.obtain(); in testDefaultValues() local
100 WindowInfo w = WindowInfo.obtain(); in testRecycle() local
/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()
/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.cpp142 EGLint w, h; in makeCurrent() local
150 bool GLHelper::createSurfaceTexture(uint32_t w, uint32_t h, in createSurfaceTexture()
200 bool GLHelper::createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, in createNamedSurfaceTexture()
223 bool GLHelper::computeWindowScale(uint32_t w, uint32_t h, float* scale) { in computeWindowScale()
244 bool GLHelper::createWindowSurface(uint32_t w, uint32_t h, in createWindowSurface()
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java1432 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange()
1449 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked()
1468 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local
1499 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom()
1532 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom()
1565 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom()
1598 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom()
1631 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { in copy2DRangeFrom()
1649 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, in copy2DRangeFrom()
1655 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/libs/androidfw/tests/
DCursorWindow_bench.cpp24 CursorWindow* w; in BM_CursorWindowWrite() local
55 CursorWindow* w; in BM_CursorWindowRead() local
/frameworks/base/services/core/java/com/android/server/utils/
DSlogf.java95 public static int w(String tag, String msg) { in w() method in Slogf
100 public static int w(String tag, String msg, Throwable tr) { in w() method in Slogf
105 public static int w(String tag, Throwable tr) { in w() method in Slogf
203 public static void w(String tag, String format, @Nullable Object... args) { in w() method in Slogf
218 public static void w(String tag, Exception exception, String format, @Nullable Object... args) { in w() method in Slogf
/frameworks/native/opengl/tests/gl_perf/
Dfilltest.cpp33 bool doTest(uint32_t w, uint32_t h) { in doTest()
/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/base/core/java/android/view/
DGravity.java169 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { in apply()
190 public static void apply(int gravity, int w, int h, Rect container, in apply()
217 public static void apply(int gravity, int w, int h, Rect container, in apply()
327 public static void apply(int gravity, int w, int h, Rect container, in apply()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1456 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange()
1473 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked()
1494 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local
1528 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom()
1566 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom()
1599 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom()
1632 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom()
1665 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { in copy2DRangeFrom()
1683 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, in copy2DRangeFrom()
1691 w, h, data.getID(mRS), dataXoff, dataYoff, in copy2DRangeFrom() local
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_FO_LPF.cpp70 LVM_FLOAT LVM_FO_LPF(LVM_FLOAT w, FO_FLOAT_Coefs_t* pCoeffs) { in LVM_FO_LPF()
DLVM_FO_HPF.cpp70 LVM_FLOAT LVM_FO_HPF(LVM_FLOAT w, FO_FLOAT_Coefs_t* pCoeffs) { in LVM_FO_HPF()
/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()

12345678910>>...16