/frameworks/base/cmds/wm/ |
wm | 2 cmd window "$@"
|
/external/webrtc/webrtc/common_audio/ |
window_generator_unittest.cc | 20 float window[7]; local 22 memset(window, 0, sizeof(window)); 24 WindowGenerator::KaiserBesselDerived(0.397856f, 2, window); 25 ASSERT_NEAR(window[0], 0.707106f, 1e-6f); 26 ASSERT_NEAR(window[1], 0.707106f, 1e-6f); 27 ASSERT_NEAR(window[2], 0.0f, 1e-6f); 28 ASSERT_NEAR(window[3], 0.0f, 1e-6f); 29 ASSERT_NEAR(window[4], 0.0f, 1e-6f); 30 ASSERT_NEAR(window[5], 0.0f, 1e-6f) 53 float window[7]; local [all...] |
window_generator.h | 23 static void Hanning(int length, float* window); 24 static void KaiserBesselDerived(float alpha, size_t length, float* window);
|
window_generator.cc | 40 void WindowGenerator::Hanning(int length, float* window) { 42 RTC_CHECK(window != nullptr); 44 window[i] = 0.5f * (1 - cosf(2 * static_cast<float>(M_PI) * i / 50 float* window) { 52 RTC_CHECK(window != nullptr); 60 window[i] = sum; 63 window[length - i - 1] = sqrtf(window[length - i - 1] / sum); 64 window[i] = window[length - i - 1] [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
CursorWindowTest.java | 39 CursorWindow window = new CursorWindow("MyWindow"); local 40 assertEquals("MyWindow", window.getName()); 41 assertEquals(0, window.getStartPosition()); 42 window.close(); 47 CursorWindow window = new CursorWindow(""); local 48 assertEquals("<unnamed>", window.getName()); 49 assertEquals(0, window.getStartPosition()); 50 window.close(); 55 CursorWindow window = new CursorWindow(null); local 56 assertEquals("<unnamed>", window.getName()) 64 CursorWindow window = new CursorWindow(true \/*this argument is ignored*\/); local 72 CursorWindow window = new CursorWindow("MyWindow"); local [all...] |
/frameworks/native/libs/nativewindow/ |
ANativeWindow.cpp | 20 // from nativewindow/includes/system/window.h 21 // (not to be confused with the compatibility-only window.h from system/core/includes) 22 #include <system/window.h> 30 static int32_t query(ANativeWindow* window, int what) { 32 int res = window->query(window, what, &value); 36 static bool isDataSpaceValid(ANativeWindow* window, int32_t dataSpace) { 46 native_window_get_wide_color_support(window, &supported); 50 native_window_get_hdr_support(window, &supported); 61 void ANativeWindow_acquire(ANativeWindow* window) { [all...] |
/frameworks/native/libs/nativewindow/include/system/ |
window.h | 21 * There is an old copy of this file in system/core/include/system/window.h, which exists only 23 * But there are binaries out there as well, so this version of window.h must stay binary 44 // system/window.h is a superset of the vndk 45 #include <vndk/window.h> 69 /* see ANativeWindowQuery in vndk/window.h */ 73 * to the window compositor. The query sets the returned 'value' argument 74 * to 1 if the ANativeWindow DOES send queued buffers directly to the window 75 * compositor and 0 if the buffers do not go directly to the window 98 * dimensions of the window buffers irrespective of the 99 * NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS call and match the native window [all...] |
/external/lzma/CPP/7zip/UI/Explorer/ |
MyMessages.cpp | 14 void ShowErrorMessage(HWND window, LPCWSTR message)
16 ::MessageBoxW(window, message, L"7-Zip", MB_OK | MB_ICONSTOP);
19 void ShowErrorMessageHwndRes(HWND window, UINT resID)
21 ShowErrorMessage(window, LangString(resID));
29 void ShowErrorMessageDWORD(HWND window, DWORD errorCode)
31 ShowErrorMessage(window, NError::MyFormatMessage(errorCode));
34 void ShowLastErrorMessage(HWND window)
36 ShowErrorMessageDWORD(window, ::GetLastError());
|
MyMessages.h | 8 void ShowErrorMessage(HWND window, LPCWSTR message);
11 void ShowErrorMessageHwndRes(HWND window, UInt32 langID);
14 void ShowLastErrorMessage(HWND window = 0);
|
/external/flac/libFLAC/include/private/ |
window.h | 48 * Calculates window coefficients according to different apodization 51 * OUT window[0,L-1] 52 * IN L (number of points in window) 54 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L); 55 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L); 56 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L); 57 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L); 58 void FLAC__window_connes(FLAC__real *window, const FLAC__int32 L); 59 void FLAC__window_flattop(FLAC__real *window, const FLAC__int32 L); 60 void FLAC__window_gauss(FLAC__real *window, const FLAC__int32 L, const FLAC__real stddev); /* 0.0 < stddev <= 0.5 * [all...] |
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
testAPI.h | 16 void RunVideoRenderTests(void* window, webrtc::VideoRenderType windowType);
|
/prebuilts/misc/windows/sdl2/test/ |
testnativex11.c | 18 static void DestroyWindowX11(void *window); 31 Window window = 0; local 35 window = 38 XMapRaised(dpy, window); 41 return (void *) window; 45 DestroyWindowX11(void *window) 48 XDestroyWindow(dpy, (Window) window);
|
testautomation_syswm.c | 20 SDL_Window *window; local 23 window = SDL_CreateWindow("", 0, 0, 0, 0, SDL_WINDOW_HIDDEN); 25 SDLTest_AssertCheck(window != NULL, "Check that value returned from SDL_CreateWindow is not NULL"); 26 if (window == NULL) { 34 result = SDL_GetWindowWMInfo(window, &info); 36 SDLTest_Log((result == SDL_TRUE) ? "Got window information" : "Couldn't get window information"); 38 SDL_DestroyWindow(window);
|
testwm2.c | 87 if (event.window.event == SDL_WINDOWEVENT_RESIZED) { 88 SDL_Window *window = SDL_GetWindowFromID(event.window.windowID); local 89 if (window) { 90 SDL_Log("Window %d resized to %dx%d\n", 91 event.window.windowID, 92 event.window.data1, 93 event.window.data2); 96 if (event.window.event == SDL_WINDOWEVENT_MOVED) { 97 SDL_Window *window = SDL_GetWindowFromID(event.window.windowID) local [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
window_util.h | 26 // Creates a window with the given sizes in the dimensions and all strides set 28 Window MakeWindow(tensorflow::gtl::ArraySlice<int64> sizes); 37 string ToString(const Window& window); 44 bool HasStride(const Window& window); 45 bool HasPadding(const Window& window); 46 bool HasSymmetricPadding(const Window& window); [all...] |
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/ |
MockNativeWindow.cpp | 17 #include "mock/system/window/MockNativeWindow.h" 23 int dispatch_setSwapInterval(struct ANativeWindow* window, int interval) { 24 return static_cast<NativeWindow*>(window)->setSwapInterval(interval); 27 int dispatch_dequeueBuffer_DEPRECATED(struct ANativeWindow* window, 29 return static_cast<NativeWindow*>(window)->dequeueBuffer_DEPRECATED(buffer); 32 int dispatch_lockBuffer_DEPRECATED(struct ANativeWindow* window, 34 return static_cast<NativeWindow*>(window)->lockBuffer_DEPRECATED(buffer); 37 int dispatch_queueBuffer_DEPRECATED(struct ANativeWindow* window, 39 return static_cast<NativeWindow*>(window)->queueBuffer_DEPRECATED(buffer); 42 int dispatch_query(const struct ANativeWindow* window, int what, int* value) [all...] |
/external/autotest/client/deps/webgl_mpd/src/common/ |
webgl-utils.js | 48 * window.requestAnimFrame(render, canvas); 112 if (!window.WebGLRenderingContext) { 153 window.requestAnimFrame = (function() { 154 return window.requestAnimationFrame || 155 window.webkitRequestAnimationFrame || 156 window.mozRequestAnimationFrame || 157 window.oRequestAnimationFrame || 158 window.msRequestAnimationFrame || 160 return window.setTimeout(callback, 1000/60); 167 window.cancelAnimFrame = (function() [all...] |
/frameworks/native/libs/nativewindow/include/vndk/ |
window.h | 43 int ANativeWindow_OemStorageSet(ANativeWindow* window, uint32_t slot, intptr_t value); 54 int ANativeWindow_OemStorageGet(ANativeWindow* window, uint32_t slot, intptr_t* value); 62 int ANativeWindow_setSwapInterval(ANativeWindow* window, int interval); 91 * dimensions of the window buffers irrespective of the 92 * ANativeWindow_setBuffersDimensions() call and match the native window 150 * example, if the window is double-buffered, the age of any given buffer in 172 * hook used to retrieve information about the native window. 176 int ANativeWindow_query(const ANativeWindow* window, ANativeWindowQuery query, int* value); 177 int ANativeWindow_queryf(const ANativeWindow* window, ANativeWindowQuery query, float* value); 184 * The window holds a reference to the buffer between dequeueBuffer an [all...] |
/cts/tests/tests/graphics/jni/ |
android_graphics_cts_ANativeWindowTest.cpp | 29 auto window = ANativeWindow_fromSurface(env, jSurface); local 30 ANativeWindow_setBuffersTransform(window, transform); 32 ANativeWindow_lock(window, &mappedBuffer, nullptr); 33 ANativeWindow_unlockAndPost(window); 34 ANativeWindow_release(window); 38 ANativeWindow* window = nullptr; local 40 window = ANativeWindow_fromSurface(env, jSurface); 42 int error = ANativeWindow_setBuffersDataSpace(window, dataSpace); 47 ANativeWindow_lock(window, &mappedBuffer, nullptr); 48 ANativeWindow_unlockAndPost(window); 54 ANativeWindow* window = nullptr; local [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowCursorWindowTest.java | 17 CursorWindow window = new CursorWindow("name"); local 18 assertThat(window.getName()).isEqualTo("name"); 23 CursorWindow window = new CursorWindow("name"); local 29 DatabaseUtils.cursorFillWindow(testCursor, 0, window); 31 assertThat(window.getNumRows()).isEqualTo(3); 33 assertThat(window.getInt(0, 0)).isEqualTo(12); 34 assertThat(window.getString(0, 1)).isEqualTo("hello"); 35 assertThat(window.getString(0, 2)).isNull(); 36 assertThat(window.getBlob(0, 3)).isEqualTo(new byte[] {(byte) 0xba, (byte) 0xdc, (byte) 0xaf, (byte) 0xfe}); 38 assertThat(window.getInt(1, 0)).isEqualTo(34) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
TaskSnapshotCacheTest.java | 51 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); local 52 mCache.putSnapshot(window.getTask(), createSnapshot()); 53 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, 55 mCache.onAppRemoved(window.mAppToken); 56 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, 62 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); local 63 mCache.putSnapshot(window.getTask(), createSnapshot()); 64 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */ 73 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); local 84 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); local 101 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); local [all...] |
/external/swiftshader/src/OpenGL/libEGL/ |
OSXUtils.hpp | 24 bool IsValidWindow(EGLNativeWindowType window); 25 void GetNativeWindowSize(EGLNativeWindowType window, int &width, int &height);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/sparc/ |
window.s | 1 # Test window
|
/external/fio/ |
goptions.h | 4 void gopt_get_options_window(GtkWidget *window, struct gfio_client *gc);
|
/frameworks/native/libs/nativewindow/include/android/ |
native_window.h | 24 * @brief API for accessing a native window. 41 * Legacy window pixel format names, kept for backwards compatibility. 56 * Transforms that can be applied to buffers as they are displayed to a window. 76 * Opaque type that provides access to a native window. 112 void ANativeWindow_acquire(ANativeWindow* window); 117 void ANativeWindow_release(ANativeWindow* window); 120 * Return the current width in pixels of the window surface. 124 int32_t ANativeWindow_getWidth(ANativeWindow* window); 127 * Return the current height in pixels of the window surface. 131 int32_t ANativeWindow_getHeight(ANativeWindow* window); [all...] |