/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowReportingTest.java | 56 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()
|
D | AccessibilityWindowQueryTest.java | 134 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/ |
D | CursorWindowTest.java | 45 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 …]
|
D | AbstractCursorTest.java | 273 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/ |
D | FrameMetricsListenerTest.java | 77 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()
|
D | WindowTest.java | 345 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/ |
D | OrientationActivity.java | 33 Window window = getWindow(); in onCreate() local 34 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | DeviceDefaultActivity.java | 34 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/ |
D | SoundGenerator.java | 58 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/ |
D | PixelOutputRenderer.cpp | 53 PixelOutputRenderer::PixelOutputRenderer(ANativeWindow* window, bool offscreen) : in PixelOutputRenderer() argument 54 Renderer(window, offscreen), mWorkload(0) { in PixelOutputRenderer()
|
D | PixelOutputRenderer.h | 21 PixelOutputRenderer(ANativeWindow* window, bool offscreen);
|
/cts/tests/openglperf2/jni/reference/ |
D | ReferenceRenderer.cpp | 25 ReferenceRenderer::ReferenceRenderer(ANativeWindow* window) : in ReferenceRenderer() argument 26 Renderer(window, false) { in ReferenceRenderer()
|
D | ReferenceRenderer.h | 24 ReferenceRenderer(ANativeWindow* window);
|
/cts/tests/openglperf2/jni/primitive/shaderperf/ |
D | ShaderPerfRenderer.cpp | 94 ShaderPerfRenderer::ShaderPerfRenderer(ANativeWindow* window, bool offscreen) : in ShaderPerfRenderer() argument 95 Renderer(window, offscreen) { in ShaderPerfRenderer()
|
D | ShaderPerfRenderer.h | 21 ShaderPerfRenderer(ANativeWindow* window, bool offscreen);
|
/cts/hostsidetests/services/activitymanager/src/android/server/cts/ |
D | WindowManagerState.java | 253 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/ |
D | OpenGLES20ActivityOne.java | 43 Window window = getWindow(); in onCreate() local 44 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
|
D | OpenGLES20NativeActivityOne.java | 53 Window window = getWindow(); in onCreate() local 54 window.addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 94 FullPipelineRenderer::FullPipelineRenderer(ANativeWindow* window, bool offscreen) : in FullPipelineRenderer() argument 95 Renderer(window, offscreen), mProgram(NULL), mSceneGraph(NULL), in FullPipelineRenderer()
|
D | FullPipelineRenderer.h | 25 FullPipelineRenderer(ANativeWindow* window, bool offscreen);
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | GlesStubActivity.java | 58 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/ |
D | ContextSwitchRenderer.h | 21 ContextSwitchRenderer(ANativeWindow* window, bool offscreen);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_f32_helper.rsh | 79 // 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/ |
D | InputMethodManagerTest.java | 67 Window window = mActivity.getWindow(); in testInputMethodManager() local 68 final EditText view = (EditText) window.findViewById(R.id.entry); in testInputMethodManager()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Renderer.h | 23 Renderer(EGLNativeWindowType window, bool offscreen);
|