Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java45 CursorWindow window = new CursorWindow(false); in testWriteCursorToWindow() local
46 cursor.fillWindow(0, window); in testWriteCursorToWindow()
52 String s = window.getString(i, j); in testWriteCursorToWindow()
60 window.clear(); in testWriteCursorToWindow()
61 cursor.fillWindow(1, window); in testWriteCursorToWindow()
66 String s = window.getString(i, j); in testWriteCursorToWindow()
74 window.clear(); in testWriteCursorToWindow()
75 assertEquals(0, window.getNumRows()); in testWriteCursorToWindow()
79 CursorWindow window = getOneByOneWindow(); in testNull() local
82 assertTrue(window.putNull(0, 0)); in testNull()
[all …]
DAbstractCursorTest.java259 CursorWindow window = new CursorWindow(false); in testGetWindow() local
260 assertEquals(0, window.getNumRows()); in testGetWindow()
262 mDatabaseCursor.fillWindow(0, window); in testGetWindow()
265 assertEquals(mDatabaseCursor.getCount(), window.getNumRows()); in testGetWindow()
269 window.getInt(mDatabaseCursor.getPosition(), POSITION1)); in testGetWindow()
271 window.clear(); in testGetWindow()
346 CursorWindow window = new CursorWindow(false); in testCopyStringToBuffer() local
347 mTestAbstractCursor.fillWindow(0, window); in testCopyStringToBuffer()
350 sb.append(window.getString(0, 0)); in testCopyStringToBuffer()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java133 AccessibilityWindowInfo window = windows.get(i); in testTraverseAllWindows() local
135 window.getBoundsInScreen(boundsInScreen); in testTraverseAllWindows()
137 assertNull(window.getParent()); in testTraverseAllWindows()
138 assertSame(0, window.getChildCount()); in testTraverseAllWindows()
139 assertNull(window.getParent()); in testTraverseAllWindows()
140 assertNotNull(window.getRoot()); in testTraverseAllWindows()
142 if (window.getType() == AccessibilityWindowInfo.TYPE_APPLICATION) { in testTraverseAllWindows()
143 assertTrue(window.isFocused()); in testTraverseAllWindows()
144 assertTrue(window.isActive()); in testTraverseAllWindows()
145 verifyNodesInAppWindow(window.getRoot()); in testTraverseAllWindows()
[all …]
/cts/tests/tests/dpi/src/android/dpi/cts/
DOrientationActivity.java33 Window window = getWindow(); in onCreate() local
34 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultActivity.java34 Window window = getWindow(); in onCreate() local
35 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundGenerator.java58 private static double[] getPip(double[] window, double frequency) { in getPip() argument
59 int pipArrayLength = window.length; in getPip()
63 pipArray[i] = window[i] * Math.sin(i * radPerSample); in getPip()
/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java342 MockWindow window = new MockWindow(mContext); in testIsActive() local
343 assertFalse(window.isActive()); in testIsActive()
345 window.makeActive(); in testIsActive()
346 assertTrue(window.isActive()); in testIsActive()
347 assertTrue(window.mIsOnActiveCalled); in testIsActive()
537 MockWindow window = new MockWindow(mContext); in testSetDefaultWindowFormat() local
541 window.setFormat(PixelFormat.OPAQUE); in testSetDefaultWindowFormat()
543 window.setCallback(callback); in testSetDefaultWindowFormat()
545 window.setDefaultWindowFormat(PixelFormat.JPEG); in testSetDefaultWindowFormat()
546 assertEquals(PixelFormat.OPAQUE, window.getAttributes().format); in testSetDefaultWindowFormat()
[all …]
/cts/suite/cts/deviceTests/opengl/jni/primitive/pixeloutput/
DPixelOutputRenderer.cpp53 PixelOutputRenderer::PixelOutputRenderer(ANativeWindow* window, bool offscreen) : in PixelOutputRenderer() argument
54 Renderer(window, offscreen), mWorkload(0) { in PixelOutputRenderer()
DPixelOutputRenderer.h21 PixelOutputRenderer(ANativeWindow* window, bool offscreen);
/cts/suite/cts/deviceTests/opengl/jni/reference/
DReferenceRenderer.cpp24 ReferenceRenderer::ReferenceRenderer(ANativeWindow* window) : in ReferenceRenderer() argument
25 Renderer(window, false) { in ReferenceRenderer()
DReferenceRenderer.h24 ReferenceRenderer(ANativeWindow* window);
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Dbootstrap-transition.js61 }(window.jQuery);
/cts/suite/cts/deviceTests/opengl/jni/primitive/shaderperf/
DShaderPerfRenderer.h21 ShaderPerfRenderer(ANativeWindow* window, bool offscreen);
DShaderPerfRenderer.cpp94 ShaderPerfRenderer::ShaderPerfRenderer(ANativeWindow* window, bool offscreen) : in ShaderPerfRenderer() argument
95 Renderer(window, offscreen) { in ShaderPerfRenderer()
/cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/
DFullPipelineRenderer.h25 FullPipelineRenderer(ANativeWindow* window, bool offscreen);
DFullPipelineRenderer.cpp94 FullPipelineRenderer::FullPipelineRenderer(ANativeWindow* window, bool offscreen) : in FullPipelineRenderer() argument
95 Renderer(window, offscreen), mProgram(NULL), mSceneGraph(NULL), in FullPipelineRenderer()
/cts/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/
DContextSwitchRenderer.h21 ContextSwitchRenderer(ANativeWindow* window, bool offscreen);
DContextSwitchRenderer.cpp77 ContextSwitchRenderer::ContextSwitchRenderer(ANativeWindow* window, bool offscreen) : in ContextSwitchRenderer() argument
78 Renderer(window, offscreen), mContexts(NULL), mWorkload(0) { in ContextSwitchRenderer()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbase.js125 if (continuation && typeof window != 'undefined' && window.setTimeout) {
126 window.setTimeout(RunStep, 25);
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGLES20ActivityOne.java43 Window window = getWindow(); in onCreate() local
44 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
DOpenGLES20NativeActivityOne.java53 Window window = getWindow(); in onCreate() local
54 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DRenderer.h23 Renderer(EGLNativeWindowType window, bool offscreen);
DRenderer.cpp89 Renderer::Renderer(EGLNativeWindowType window, bool offscreen) : in Renderer() argument
91 mEglContext(EGL_NO_CONTEXT), mWindow(window) { in Renderer()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodManagerTest.java67 Window window = mActivity.getWindow(); in testInputMethodManager() local
68 final EditText view = (EditText) window.findViewById(R.id.entry); in testInputMethodManager()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java287 AccessibilityWindowInfo window = windows.get(i); in findAppWindowId() local
288 if (window.getType() == AccessibilityWindowInfo.TYPE_APPLICATION) { in findAppWindowId()
289 return window.getId(); in findAppWindowId()

12