/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...] |
/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/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(absl::Span<const 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...] |
/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);
|
/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...] |
/external/libkmsxx/kmscube/ |
cube-wl.cpp | 16 struct window { struct 45 struct window *window = (struct window*)data; local 47 wl_egl_window_resize(window->egl_window, width, height, 0, 0); 59 static void create_window(struct window *window, int32_t width, int32_t height) 61 window->surface = wl_compositor_create_surface(s_compositor); 62 window->shell_surface = wl_shell_get_shell_surface(s_shell, window->surface) 85 struct window window; local [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...] |
/external/grpc-grpc/src/objective-c/examples/SwiftSample/ |
AppDelegate.swift | 23 var window: UIWindow?
|
/external/swiftshader/src/OpenGL/libEGL/ |
OSXUtils.hpp | 24 bool IsValidWindow(EGLNativeWindowType window); 25 void GetNativeWindowSize(EGLNativeWindowType window, int &width, int &height);
|
/external/setupcompat/main/java/com/google/android/setupcompat/util/ |
SystemBarHelper.java | 31 import android.view.Window; 37 * systemUiVisibility flags to the given Window or View to make them follow the Setup Wizard style. 41 * #hideSystemBars(android.view.Window)} will completely hide the system navigation bar and change 76 public static void addVisibilityFlag(final Window window, final int flag) { 77 WindowManager.LayoutParams attrs = window.getAttributes(); 79 window.setAttributes(attrs); 92 * Convenience method to remove a visibility flag from the window, leaving other flags that are 95 public static void removeVisibilityFlag(final Window window, final int flag) 139 final Window window = dialog.getWindow(); local 313 private Window window; field in class:SystemBarHelper.DecorViewFinder [all...] |
/external/swiftshader/src/Main/ |
FrameBufferAndroid.cpp | 19 #include <system/window.h> 23 inline int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer) 26 return native_window_dequeue_buffer_and_wait(window, buffer); 28 return window->dequeueBuffer(window, buffer); 32 inline int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) 35 return window->queueBuffer(window, buffer, fenceFd); 37 return window->queueBuffer(window, buffer) [all...] |
/external/swiftshader/src/WSI/ |
FrameBufferAndroid.cpp | 19 #include <system/window.h> 23 inline int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer) 26 return native_window_dequeue_buffer_and_wait(window, buffer); 28 return window->dequeueBuffer(window, buffer); 32 inline int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) 35 return window->queueBuffer(window, buffer, fenceFd); 37 return window->queueBuffer(window, buffer) [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidWindow.cpp | 21 * \brief Android window. 33 // Window 35 Window::Window (ANativeWindow* window) 36 : m_window (window) 41 Window::~Window (void) 45 void Window::setBuffersGeometry (int width, int height, int32_t format) 50 IVec2 Window::getSize (void) cons 129 Window* const window = *winIter; local 151 Window* const window = m_windows[ndx]; local 175 Window* const window = m_windows[ndx]; local 188 Window* const window = m_windows[ndx]; local [all...] |
/external/grpc-grpc/examples/cpp/helloworld/cocoapods/HelloWorldCpp/ |
AppDelegate.h | 22 @property (strong, nonatomic) UIWindow *window; variable
|
/external/grpc-grpc/examples/objective-c/auth_sample/Misc/ |
AppDelegate.h | 22 @property (strong, nonatomic) UIWindow *window; variable
|
/external/grpc-grpc/examples/objective-c/helloworld/HelloWorld/ |
AppDelegate.h | 22 @property (strong, nonatomic) UIWindow *window; variable
|
/external/grpc-grpc/examples/objective-c/route_guide/Misc/ |
AppDelegate.h | 22 @property (strong, nonatomic) UIWindow *window; variable
|
/external/grpc-grpc/src/objective-c/examples/Sample/Sample/ |
AppDelegate.h | 22 @property(strong, nonatomic) UIWindow* window; variable
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
AppDelegate.h | 19 @property(strong, nonatomic) UIWindow *window; variable
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
CameraExampleAppDelegate.h | 19 @property(strong, nonatomic) UIWindow *window; variable
|