Home
last modified time | relevance | path

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

12

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowReportingTest.java56 AccessibilityWindowInfo window = findWindowByTitle(getActivity().getTitle()); in testWindowTitle_getTitleReturnsTitle() local
57 assertNotNull("Window title not reported to accessibility", window); in testWindowTitle_getTitleReturnsTitle()
58 window.recycle(); in testWindowTitle_getTitleReturnsTitle()
101 AccessibilityWindowInfo window = windows.get(i); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode() local
102 if (window.getAnchor() == null) { in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
105 assertEquals(autoCompleteTextInfo, window.getAnchor()); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
116 AccessibilityWindowInfo window = windows.get(i); in findWindowByTitle() local
117 if (TextUtils.equals(title, window.getTitle())) { in findWindowByTitle()
118 returnValue = window; in findWindowByTitle()
120 window.recycle(); in findWindowByTitle()
DAccessibilityWindowQueryTest.java134 AccessibilityWindowInfo window = windows.get(i); in testTraverseAllWindows() local
136 window.getBoundsInScreen(boundsInScreen); in testTraverseAllWindows()
138 assertNull(window.getParent()); in testTraverseAllWindows()
139 assertSame(0, window.getChildCount()); in testTraverseAllWindows()
140 assertNull(window.getParent()); in testTraverseAllWindows()
141 assertNotNull(window.getRoot()); in testTraverseAllWindows()
143 if (window.getType() == AccessibilityWindowInfo.TYPE_APPLICATION) { in testTraverseAllWindows()
144 assertTrue(window.isFocused()); in testTraverseAllWindows()
145 assertTrue(window.isActive()); in testTraverseAllWindows()
146 verifyNodesInAppWindow(window.getRoot()); in testTraverseAllWindows()
[all …]
/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.java273 CursorWindow window = new CursorWindow(false); in testGetWindow() local
274 assertEquals(0, window.getNumRows()); in testGetWindow()
276 mDatabaseCursor.fillWindow(0, window); in testGetWindow()
279 assertEquals(mDatabaseCursor.getCount(), window.getNumRows()); in testGetWindow()
283 window.getInt(mDatabaseCursor.getPosition(), POSITION1)); in testGetWindow()
285 window.clear(); in testGetWindow()
360 CursorWindow window = new CursorWindow(false); in testCopyStringToBuffer() local
361 mTestAbstractCursor.fillWindow(0, window); in testCopyStringToBuffer()
364 sb.append(window.getString(0, 0)); in testCopyStringToBuffer()
/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java77 public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, in testReceiveData()
79 assertEquals(myWindow, window); in testReceiveData()
139 public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, in testMultipleListeners()
141 assertEquals(myWindow, window); in testMultipleListeners()
150 public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, in testMultipleListeners()
152 assertEquals(myWindow, window); in testMultipleListeners()
197 final Window window = mActivity.getWindow(); in testDropCount() local
207 public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, in testDropCount()
DWindowTest.java345 MockWindow window = new MockWindow(mContext); in testIsActive() local
346 assertFalse(window.isActive()); in testIsActive()
348 window.makeActive(); in testIsActive()
349 assertTrue(window.isActive()); in testIsActive()
350 assertTrue(window.mIsOnActiveCalled); in testIsActive()
540 MockWindow window = new MockWindow(mContext); in testSetDefaultWindowFormat() local
544 window.setFormat(PixelFormat.OPAQUE); in testSetDefaultWindowFormat()
546 window.setCallback(callback); in testSetDefaultWindowFormat()
548 window.setDefaultWindowFormat(PixelFormat.JPEG); in testSetDefaultWindowFormat()
549 assertEquals(PixelFormat.OPAQUE, window.getAttributes().format); in testSetDefaultWindowFormat()
[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/openglperf2/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/tests/openglperf2/jni/reference/
DReferenceRenderer.cpp25 ReferenceRenderer::ReferenceRenderer(ANativeWindow* window) : in ReferenceRenderer() argument
26 Renderer(window, false) { in ReferenceRenderer()
DReferenceRenderer.h24 ReferenceRenderer(ANativeWindow* window);
/cts/tests/openglperf2/jni/primitive/shaderperf/
DShaderPerfRenderer.cpp94 ShaderPerfRenderer::ShaderPerfRenderer(ANativeWindow* window, bool offscreen) : in ShaderPerfRenderer() argument
95 Renderer(window, offscreen) { in ShaderPerfRenderer()
DShaderPerfRenderer.h21 ShaderPerfRenderer(ANativeWindow* window, bool offscreen);
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DWindowManagerState.java253 for (String window : mWindows) { in isWindowVisible()
254 if (window.equals(windowName)) { in isWindowVisible()
645 final WindowState window; in create() local
649 window = new WindowState(specialMatcher, true, false); in create()
654 window = new WindowState(specialMatcher, false, true); in create()
656 window = new WindowState(matcher, false, false); in create()
660 window.extract(dump, exitPatterns); in create()
661 return window; in create()
/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/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp94 FullPipelineRenderer::FullPipelineRenderer(ANativeWindow* window, bool offscreen) : in FullPipelineRenderer() argument
95 Renderer(window, offscreen), mProgram(NULL), mSceneGraph(NULL), in FullPipelineRenderer()
DFullPipelineRenderer.h25 FullPipelineRenderer(ANativeWindow* window, bool offscreen);
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java58 Window window = getWindow(); in onCreate() local
59 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()
65 window.setFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED, in onCreate()
/cts/tests/openglperf2/jni/primitive/contextswitch/
DContextSwitchRenderer.h21 ContextSwitchRenderer(ANativeWindow* window, bool offscreen);
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh79 // Locates the top left corner of the window surrounding this pixel.
84 // Filters over the window.
127 // Locates the top left corner of the window surrounding this pixel.
131 // Filters over the window.
164 // Locates the top left corner of the window surrounding this pixel.
169 // Filters over the window.
/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/openglperf2/jni/graphics/
DRenderer.h23 Renderer(EGLNativeWindowType window, bool offscreen);

12