/development/tools/axl/ |
chewperf.py | 77 window = [0 for x in range(5)] 80 window[x % len(window)] = buckets.items()[x][1] 81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
|
/external/mesa3d/src/gallium/tests/graw/ |
clear.c | 1 /* Display a cleared blue window. This demo has no dependencies on 25 static void *window = NULL; variable 36 screen->flush_frontbuffer(screen, tex, 0, 0, window, NULL); 46 /* It's hard to say whether window or screen should be created 55 &window); 56 if (window && screen) 59 if (!screen || !window) { 60 fprintf(stderr, "Unable to create window\n");
|
/external/webrtc/webrtc/modules/video_render/linux/ |
video_x11_render.cc | 19 VideoX11Render::VideoX11Render(Window window) : 20 _window(window), 39 int32_t VideoX11Render::ChangeWindow(Window window) 52 renderChannel->ChangeWindow(window); 57 _window = window;
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
CursorWindowPerfTest.java | 96 sqLiteCursor.getCount(); // load one window 97 CursorWindow window = sqLiteCursor.getWindow(); local 98 assertTrue("must have enough rows", window.getNumRows() >= 1); 99 int start = window.getStartPosition(); 110 // add an extra window acquire/release to measure overhead 114 window.acquireReference(); 117 window.releaseReference();
|
/hardware/intel/common/libva/va/drm/ |
va_drm_auth_x11.c | 44 Display *display, XID window, uint32_t magic); 58 Window window; member in struct:drm_auth_x11 120 auth->window = DefaultRootWindow(auth->display); 133 auth->window = None; 152 if (!vtable->va_dri2_authenticate(auth->display, auth->window, magic))
|
/external/skia/tools/sk_app/ios/ |
Window_ios.cpp | 17 Window* Window::CreateNativeWindow(void*) { 18 Window_ios* window = new Window_ios(); local 19 if (!window->initWindow()) { 20 delete window; 24 return window; 31 // we already have a window 61 fWindow = SDL_CreateWindow("SDL Window", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 98 static Window::Key get_key(const SDL_Keysym& keysym) { 101 Window::Key fKey [all...] |
/external/skia/tools/sk_app/mac/ |
Window_mac.cpp | 17 Window* Window::CreateNativeWindow(void*) { 18 Window_mac* window = new Window_mac(); local 19 if (!window->initWindow()) { 20 delete window; 24 return window; 31 // we already have a window 61 fWindow = SDL_CreateWindow("SDL Window", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 98 static Window::Key get_key(const SDL_Keysym& keysym) { 101 Window::Key fKey [all...] |
/external/skqp/experimental/GLFWTest/ |
glfw_main.cpp | 26 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) { 28 glfwSetWindowShouldClose(window, GL_TRUE); 66 GLFWwindow* window; local 78 window = glfwCreateWindow(kWidth, kHeight, "Simple example", NULL, NULL); 79 if (!window) { 83 glfwMakeContextCurrent(window); 100 glfwDestroyWindow(window); 126 glfwSetKeyCallback(window, key_callback); 135 while (!glfwWindowShouldClose(window)) { 179 glfwSwapBuffers(window); [all...] |
/external/skqp/tools/sk_app/ios/ |
Window_ios.cpp | 17 Window* Window::CreateNativeWindow(void*) { 18 Window_ios* window = new Window_ios(); local 19 if (!window->initWindow()) { 20 delete window; 24 return window; 31 // we already have a window 61 fWindow = SDL_CreateWindow("SDL Window", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 86 static Window::Key get_key(const SDL_Keysym& keysym) { 89 Window::Key fKey [all...] |
/external/skqp/tools/sk_app/mac/ |
Window_mac.cpp | 17 Window* Window::CreateNativeWindow(void*) { 18 Window_mac* window = new Window_mac(); local 19 if (!window->initWindow()) { 20 delete window; 24 return window; 31 // we already have a window 61 fWindow = SDL_CreateWindow("SDL Window", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 86 static Window::Key get_key(const SDL_Keysym& keysym) { 89 Window::Key fKey [all...] |
/device/google/cuttlefish_common/guest/hals/camera/ |
PreviewWindow.cpp | 19 * functionality of a preview window set via set_preview_window camera HAL API. 45 status_t PreviewWindow::setPreviewWindow(struct preview_stream_ops* window, 47 ALOGV("%s: current: %p -> new: %p", __FUNCTION__, mPreviewWindow, window); 57 if (window != NULL) { 58 /* The CPU will write each frame to the preview window buffer. 59 * Note that we delay setting preview window buffer geometry until 61 res = window->set_usage(window, GRALLOC_USAGE_SW_WRITE_OFTEN); 66 window = NULL; 68 ALOGE("%s: Error setting preview window usage %d -> %s", __FUNCTION__ [all...] |
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Terminal/ |
Terminal_Suite.py | 43 Keyword argument in_: the window in which to execute the command 82 class window(aetools.ComponentItem): class in inherits:aetools.ComponentItem 83 """window - A Terminal window """ 86 """background color - the background color for the window """ 90 """bold text color - the bold text color for the window """ 94 """bounds - the boundary rectangle for the window, relative to the upper left corner of the screen """ 98 """busy - Is the window busy running a process? """ 102 """contents - the currently visible contents of the window """ 106 """cursor color - the cursor color for the window """ [all...] |
/external/webrtc/webrtc/modules/video_render/mac/ |
video_render_mac_carbon_impl.cc | 24 void* window, 29 _ptrWindow(window) 100 VideoRenderMacCarbonImpl::ChangeWindow(void* window) 104 WEBRTC_TRACE(kTraceInfo, kTraceVideoRenderer, _id, "%s changing ID to ", __FUNCTION__, window); 106 if (window == NULL) 110 _ptrWindow = window; 113 _ptrWindow = window;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/ |
Terminal_Suite.py | 43 Keyword argument in_: the window in which to execute the command 82 class window(aetools.ComponentItem): class in inherits:aetools.ComponentItem 83 """window - A Terminal window """ 86 """background color - the background color for the window """ 90 """bold text color - the bold text color for the window """ 94 """bounds - the boundary rectangle for the window, relative to the upper left corner of the screen """ 98 """busy - Is the window busy running a process? """ 102 """contents - the currently visible contents of the window """ 106 """cursor color - the cursor color for the window """ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/ |
Terminal_Suite.py | 43 Keyword argument in_: the window in which to execute the command 82 class window(aetools.ComponentItem): class in inherits:aetools.ComponentItem 83 """window - A Terminal window """ 86 """background color - the background color for the window """ 90 """bold text color - the bold text color for the window """ 94 """bounds - the boundary rectangle for the window, relative to the upper left corner of the screen """ 98 """busy - Is the window busy running a process? """ 102 """contents - the currently visible contents of the window """ 106 """cursor color - the cursor color for the window """ [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
reference_util.cc | 195 const tensorflow::gtl::ArraySlice<int64>& window, 199 operand, init, reduce_func, window, stride, 200 xla::MakePadding(dim_lengths, window, stride, padding)); 207 const tensorflow::gtl::ArraySlice<int64>& window, 211 std::vector<int64> window_counts(window.size(), 0); 212 std::vector<int64> pad_low(window.size(), 0); 213 for (int64 i = 0; i < window.size(); ++i) { 216 window_util::StridedBound(padded_width, window[i], stride[i]); 221 // Do a full 1D reduce window. 226 for (int64 i0_win = 0; i0_win < window[0]; ++i0_win) 541 Window window; local [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
TutorialEN.java | 90 PopupWindow window; field in class:TutorialEN.Bubble 120 window = new PopupWindow(context); 121 window.setBackgroundDrawable(null); 131 window.setContentView(textView); 132 window.setFocusable(false); 133 window.setTouchable(true); 134 window.setOutsideTouchable(false); 163 int textHeight = chooseSize(window, inputView, text, textView); 168 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight(); 169 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth() [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
pad_insertion.cc | 31 return window_util::HasSymmetricPadding(conv.window()) && 32 !window_util::HasNegativePadding(conv.window()) && 33 !window_util::HasDilation(conv.window()); 43 const Window& conv_window, const ConvolutionDimensionNumbers& conv_dnums, 81 // If the window has negative padding, insert a kSlice that explicitly 114 HloInstruction* MaybePaddedKernel(const Window& conv_window, 155 conv->window(), conv->convolution_dimension_numbers(), 158 MaybePaddedKernel(conv->window(), conv->convolution_dimension_numbers(), 161 // Remove the padding from convolution's window field. These paddings are 163 Window new_conv_window = conv->window() [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityWindowQueryTest.java | 115 // that nodes that we don't expect (i.e. window control buttons) are not included in the 143 // Clear window access flag 162 // Make sure the source window cannot be accessed. 177 AccessibilityWindowInfo window = windows.get(i); local 179 window.getBoundsInScreen(boundsInScreen); 181 assertNull(window.getParent()); 182 assertSame(0, window.getChildCount()); 183 assertNull(window.getParent()); 184 assertNotNull(window.getRoot()); 186 if (window.getType() == AccessibilityWindowInfo.TYPE_APPLICATION) 217 AccessibilityWindowInfo window = event.getSource().getWindow(); local 254 AccessibilityWindowInfo window = event.getSource().getWindow(); local 576 final AccessibilityWindowInfo window = windows.get(i); local 609 AccessibilityWindowInfo window = windows.get(i); local 624 AccessibilityWindowInfo window = windows.get(i); local 656 AccessibilityWindowInfo window = windows.get(i); local 682 AccessibilityWindowInfo window = windows.get(i); local [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
window_capturer_win.cc | 31 // unless they have the app window style set. 40 // Skip the Program Manager window and the Start button. 47 // Skip Program Manager window and the Start button. This is the same logic 63 WindowCapturer::Window window; local 64 window.id = reinterpret_cast<WindowCapturer::WindowId>(hwnd); 70 window.title = rtc::ToUtf8(window_title); 73 if (window.title.empty()) 76 list->push_back(window); 98 // HWND and HDC for the currently selected window or NULL if window is no 127 HWND window = reinterpret_cast<HWND>(id); local [all...] |
/external/tensorflow/tensorflow/compiler/tests/ |
pooling_ops_3d_test.py | 46 def _VerifyValues(self, pool_func, input_sizes, window, strides, padding, 53 window: Tuple of kernel dims: planes, rows, cols. 69 ksize=[1] + window + [1], 82 window=[2, 2, 2], 92 window=[2, 2, 2], 102 window=[1, 2, 3], 112 window=[2, 2, 2], 122 window=[2, 2, 2], 132 window=[1, 2, 3], 152 window=[1, 2, 2] [all...] |
/external/libvncserver/webclients/novnc/include/ |
util.js | 10 /*global window, console, document, navigator, ActiveXObject, INCLUDE_URI */ 164 window.requestAnimFrame = (function () { 166 return window.requestAnimationFrame || 167 window.webkitRequestAnimationFrame || 168 window.mozRequestAnimationFrame || 169 window.oRequestAnimationFrame || 170 window.msRequestAnimationFrame || 172 window.setTimeout(callback, 1000 / 60); 194 if (typeof window.console === "undefined") { 195 if (typeof window.opera !== "undefined") [all...] |
/external/mesa3d/docs/specs/ |
MESA_window_pos.spec | 31 In order to set the current raster position to a specific window 34 desired window coordinate is outside of the window's bounds one must 40 projection matrix and the viewport to window mapping. Furthermore, 44 position to a specific window coordinate prior to calling DrawPixels,
|
/external/python/cpython2/Doc/tools/static/ |
version_switch.js | 42 var url = window.location.href, 50 window.location.href = new_url; 53 window.location.href = 'https://docs.python.org/' + selected;
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/ |
Window_classes.py | 1 """Suite Window classes: Classes representing windows 19 """Finder window - A file viewer window """ 22 """<Inheritance> - inherits some of its properties from the window class """ 26 """current view - the current view for the container window """ 30 """icon view options - the icon view options for the container window """ 34 """list view options - the list view options for the container window """ 44 class window(aetools.ComponentItem): class in inherits:aetools.ComponentItem 45 """window - A window """ [all...] |