/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | ClippingMediaSourceTest.java | 78 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in noClipping() 135 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingStart() 152 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingEnd() 168 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingStartAndEndInitial() 187 assertThat(clippedTimeline.getWindow(/* windowIndex= */ 0, window).getDurationUs()) in clippingToEndOfSourceWithDurationSetsDuration() 204 assertThat(clippedTimeline.getWindow(/* windowIndex= */ 0, window).getDurationUs()) in clippingToEndOfSourceWithUnsetDurationDoesNotSetDuration() 220 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()) in clippingStartAndEnd() 241 assertThat(clippedTimeline.getWindow(0, window).getDurationUs()).isEqualTo(TEST_CLIP_AMOUNT_US); in clippingFromDefaultPosition() 242 assertThat(clippedTimeline.getWindow(0, window).getDefaultPositionUs()).isEqualTo(0); in clippingFromDefaultPosition() 243 assertThat(clippedTimeline.getWindow(0, window).getPositionInFirstPeriodUs()) in clippingFromDefaultPosition() [all …]
|
/external/angle/samples/post_sub_buffer/ |
D | PostSubBuffer.cpp | 87 60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(), 1.0f, 20.0f); in step() 103 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw() 128 EGLint windowWidth = static_cast<EGLint>(getWindow()->getWidth()); in swap() 129 EGLint windowHeight = static_cast<EGLint>(getWindow()->getHeight()); in swap()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | BasePlayer.java | 165 return timeline.isEmpty() ? null : timeline.getWindow(getCurrentWindowIndex(), window).tag; in getCurrentTag() 172 return timeline.isEmpty() ? null : timeline.getWindow(getCurrentWindowIndex(), window).manifest; in getCurrentManifest() 187 return !timeline.isEmpty() && timeline.getWindow(getCurrentWindowIndex(), window).isDynamic; in isCurrentWindowDynamic() 193 return !timeline.isEmpty() && timeline.getWindow(getCurrentWindowIndex(), window).isLive; in isCurrentWindowLive() 202 long windowStartTimeMs = timeline.getWindow(getCurrentWindowIndex(), window).windowStartTimeMs; in getCurrentLiveOffset() 212 return !timeline.isEmpty() && timeline.getWindow(getCurrentWindowIndex(), window).isSeekable; in isCurrentWindowSeekable() 220 : timeline.getWindow(getCurrentWindowIndex(), window).getDurationMs(); in getContentDuration()
|
D | Timeline.java | 656 public Window getWindow(int windowIndex, Window window, long defaultPositionProjectionUs) { 774 public final Window getWindow(int windowIndex, Window window) { in getWindow() method in Timeline 775 return getWindow(windowIndex, window, /* defaultPositionProjectionUs= */ 0); in getWindow() 780 public final Window getWindow(int windowIndex, Window window, boolean setTag) { in getWindow() method in Timeline 781 return getWindow(windowIndex, window, /* defaultPositionProjectionUs= */ 0); in getWindow() 793 public abstract Window getWindow( in getWindow() method in Timeline 815 if (getWindow(windowIndex, window).lastPeriodIndex == periodIndex) { in getNextPeriodIndex() 820 return getWindow(nextWindowIndex, window).firstPeriodIndex; in getNextPeriodIndex() 875 getWindow(windowIndex, window, defaultPositionProjectionUs); in getPeriodPosition() 962 if (!getWindow(i, window).equals(other.getWindow(i, otherWindow))) { in equals() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowWindowTest.java | 29 Window window = activity.getWindow(); in getFlag_shouldReturnWindowFlags() 41 Window window = activity.getWindow(); in getTitle_shouldReturnWindowTitle() 49 Window window = activity.getWindow(); in getBackgroundDrawable_returnsSetDrawable() 61 Window window = activity.getWindow(); in getSoftInputMode_returnsSoftInputMode() 73 ProgressBar progress = shadowOf(activity.getWindow()).getProgressBar(); in getProgressBar_returnsTheProgressBar() 89 ProgressBar indeterminate = shadowOf(activity.getWindow()).getIndeterminateProgressBar(); in getIndeterminateProgressBar_returnsTheIndeterminateProgressBar() 119 getWindow().requestFeature(requestFeature); in onCreate()
|
/external/angle/samples/torus_lighting/ |
D | TorusLightingES1.cpp | 44 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw() 47 float ratio = (float)getWindow()->getWidth() / (float)getWindow()->getHeight(); in draw()
|
D | TorusLightingES2.cpp | 76 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw() 81 float ratio = (float)getWindow()->getWidth() / (float)getWindow()->getHeight(); in draw()
|
/external/angle/samples/gles1/ |
D | DrawTexture.cpp | 48 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initialize() 59 GLint windowWidth = getWindow()->getWidth(); in draw() 60 GLint windowHeight = getWindow()->getHeight(); in draw()
|
D | HelloTriangle.cpp | 39 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw()
|
D | SimpleTexture2D.cpp | 57 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw()
|
/external/angle/samples/simple_vertex_shader/ |
D | SimpleVertexShader.cpp | 84 60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(), 1.0f, 20.0f); in step() 100 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw()
|
/external/angle/samples/multiview/ |
D | Multiview.cpp | 79 int viewWidth = getWindow()->getWidth() / 2; in initialize() 80 int viewHeight = getWindow()->getHeight(); in initialize() 260 const int viewWidth = getWindow()->getWidth() / 2; in draw() 261 const int viewHeight = getWindow()->getHeight(); in draw() 339 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw()
|
/external/angle/samples/multiple_draw_buffers/ |
D | MultipleDrawBuffers.cpp | 92 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindow()->getWidth(), in initialize() 93 getWindow()->getHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in initialize() 141 GLint width = static_cast<GLint>(getWindow()->getWidth()); in draw() 142 GLint height = static_cast<GLint>(getWindow()->getHeight()); in draw()
|
/external/angle/src/tests/perf_tests/ |
D | InterleavedAttributeData.cpp | 118 (static_cast<float>(rand() % getWindow()->getWidth()) / getWindow()->getWidth()) * in initializeBenchmark() 122 (static_cast<float>(rand() % getWindow()->getHeight()) / getWindow()->getHeight()) * in initializeBenchmark()
|
D | DrawElementsPerf.cpp | 149 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark() 153 CreateColorFBO(getWindow()->getWidth(), getWindow()->getHeight(), &mTexture, &mFBO); in initializeBenchmark()
|
D | InstancingPerf.cpp | 238 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark() 250 static_cast<float>(getWindow()->getWidth()) / static_cast<float>(getWindow()->getHeight()); in initializeBenchmark() 254 getWindow()->setVisible(true); in initializeBenchmark()
|
D | DrawCallPerf.cpp | 229 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark() 233 CreateColorFBO(getWindow()->getWidth(), getWindow()->getHeight(), &mFBOTexture, &mFBO); in initializeBenchmark() 515 ChangeScissorThenDraw(params.iterationsPerStep, numElements, getWindow()->getWidth(), in drawBenchmark() 516 getWindow()->getHeight()); in drawBenchmark()
|
/external/setupdesign/main/src/com/google/android/setupdesign/transition/ |
D | TransitionHelper.java | 236 Window window = activity.getWindow(); in applyForwardTransition() 339 Window window = activity.getWindow(); in applyBackwardTransition() 400 if (activity.getWindow() != null in startActivityWithTransition() 401 && !activity.getWindow().hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS)) { in startActivityWithTransition() 490 if (activity.getWindow() != null in startActivityForResultWithTransition() 491 && !activity.getWindow().hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS)) { in startActivityForResultWithTransition() 650 if (activity.getWindow() != null in makeActivityOptions() 651 && !activity.getWindow().hasFeature(Window.FEATURE_ACTIVITY_TRANSITIONS)) { in makeActivityOptions()
|
/external/setupcompat/main/java/com/google/android/setupcompat/ |
D | PartnerCustomizationLayout.java | 118 StatusBarMixin.class, new StatusBarMixin(this, activity.getWindow(), attrs, defStyleAttr)); in init() 119 registerMixin(SystemNavBarMixin.class, new SystemNavBarMixin(this, activity.getWindow())); in init() 128 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); in init() 129 activity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); in init() 130 activity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); in init()
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
D | FullScreenHelper.java | 39 .getWindow() in setFullScreenOnWindowFocusChanged() 48 activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in setFullScreenOnWindowFocusChanged()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | NoUidTimeline.java | 37 public Window getWindow(int windowIndex, Window window, long defaultPositionProjectionUs) { in getWindow() method in NoUidTimeline 38 timeline.getWindow(windowIndex, window, defaultPositionProjectionUs); in getWindow()
|
/external/angle/samples/hello_triangle/ |
D | HelloTriangle.cpp | 61 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw()
|
/external/angle/samples/simple_texture_2d/ |
D | SimpleTexture2D.cpp | 88 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in draw()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/ |
D | SinglePeriodAdTimeline.java | 58 public Window getWindow(int windowIndex, Window window, long defaultPositionProjectionUs) { in getWindow() method in SinglePeriodAdTimeline 59 window = super.getWindow(windowIndex, window, defaultPositionProjectionUs); in getWindow()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ForwardingTimeline.java | 60 public Window getWindow(int windowIndex, Window window, long defaultPositionProjectionUs) { in getWindow() method in ForwardingTimeline 61 return timeline.getWindow(windowIndex, window, defaultPositionProjectionUs); in getWindow()
|