Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 84) sorted by relevance

1234

/platform_testing/libraries/motion/src/platform/test/motion/view/
DViewFeatureCaptures.kt17 package platform.test.motion.view in <lambda>()
20 import android.view.View in <lambda>()
34 val alpha = FeatureCapture<View, Float>("alpha") { view -> view.alpha.asDataPoint() } in view() method
38 FeatureCapture<View, Float>("elevation") { view -> view.elevation.asDataPoint() } in view() method
41 val x = FeatureCapture<View, Float>("x") { view -> view.x.asDataPoint() } in view() method
44 val y = FeatureCapture<View, Float>("y") { view -> view.y.asDataPoint() } in view() method
48 FeatureCapture<View, Point>("pos") { view -> in view() method
50 view.getLocationOnScreen(outLocation) in view()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DExternalViewScreenshotTestRule.kt23 import android.view.View
24 import android.view.Window
25 import android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
26 import androidx.core.view.WindowInsetsCompat
27 import androidx.core.view.WindowInsetsControllerCompat
28 import androidx.core.view.WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
62 fun screenshotTest(goldenIdentifier: String, view: View, window: Window? = null) { in <lambda>()
63 waitForValueToSettle { view.getChildCountRecursively() } in <lambda>()
64 view.removeElevationRecursively() in <lambda>()
67 .setScreenshotProvider { view.captureToBitmapAsync().get(10, TimeUnit.SECONDS) } in <lambda>()
DView.kt19 import android.view.View
20 import android.view.ViewGroup
21 import android.view.WindowInsets
DScreenshotTestListener.java24 import android.view.Display;
25 import android.view.IWindowManager;
26 import android.view.WindowManagerGlobal;
DViewScreenshotTestRule.kt23 import android.view.View in <lambda>()
24 import android.view.ViewGroup in <lambda>()
25 import android.view.ViewGroup.LayoutParams in <lambda>()
26 import android.view.ViewGroup.LayoutParams.MATCH_PARENT in <lambda>()
27 import android.view.ViewGroup.LayoutParams.WRAP_CONTENT in <lambda>()
DViewCapture.kt28 import android.view.PixelCopy in <lambda>()
29 import android.view.Surface in <lambda>()
30 import android.view.SurfaceView in <lambda>()
31 import android.view.View in <lambda>()
32 import android.view.ViewTreeObserver.OnDrawListener in <lambda>()
33 import android.view.WindowManager in <lambda>()
/platform_testing/libraries/audio-test-harness/instrumentation/src/com/android/media/audiotestharness/instrumentation/
DMainActivity.java21 import android.view.View;
31 View view = getLayoutInflater().inflate(R.layout.main_activity, null); in onCreate() local
32 setContentView(view); in onCreate()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/
DSimpleSurfaceGLActivity.java24 import android.view.View;
25 import android.view.WindowInsets;
47 (view, windowInsets) -> { in onCreate() argument
49 view.setPadding(insets.left, insets.top, insets.right, insets.bottom); in onCreate()
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
DMetricsAsserts.java38 public static void assertHasActionLog(String message, MetricsReader reader, int view) { in assertHasActionLog() argument
40 assertHasActionLog(message, new ReaderQueue(reader), view); in assertHasActionLog()
45 public static void assertHasActionLog(String message, Queue<LogMaker> queue, int view) { in assertHasActionLog() argument
47 new LogMaker(view) in assertHasActionLog()
56 int view, boolean visible) { in assertHasVisibilityLog() argument
58 assertHasVisibilityLog(message, new ReaderQueue(reader), view, visible); in assertHasVisibilityLog()
65 int view, boolean visible) { in assertHasVisibilityLog() argument
67 new LogMaker(view) in assertHasVisibilityLog()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/
DWindowDataParser.kt17 package android.tools.traces.parsers.view
22 import android.tools.traces.view.ViewFrame
23 import android.tools.traces.view.ViewTrace
DViewFrameBuilder.kt17 package android.tools.traces.parsers.view
23 import android.tools.traces.view.ViewFrame
24 import android.tools.traces.view.ViewNode
DViewTraceParser.kt17 package android.tools.traces.parsers.view
21 import android.tools.traces.view.ViewTrace
/platform_testing/tests/functional/testapks/permissiontestappmv1/src/com/android/permissontestappmv1/
DMainActivity.java23 import android.view.inputmethod.InputMethodManager;
25 import android.view.View;
30 import android.view.inputmethod.InputMethodManager;
/platform_testing/libraries/motion/tests/src/platform/test/motion/view/
DDataPointTypesTest.kt17 package platform.test.motion.view
29 import platform.test.motion.view.DataPointTypes.cornerRadii
30 import platform.test.motion.view.DataPointTypes.point
31 import platform.test.motion.view.DataPointTypes.rect
DViewToolkitTest.kt17 package platform.test.motion.view in <lambda>()
19 import android.view.LayoutInflater in <lambda>()
32 import platform.test.motion.view.AnimationSampling.Companion.evenlySampled in <lambda>()
33 import platform.test.motion.view.ViewRecordingSpec.Companion.capture in <lambda>()
34 import platform.test.motion.view.ViewRecordingSpec.Companion.captureWithoutScreenshot in <lambda>()
DAnimationSamplingTest.kt17 package platform.test.motion.view
26 import platform.test.motion.view.AnimationSampling.Companion.evenlySampled
/platform_testing/robolab/roboStandaloneProj/src/com/android/myroboapplication/
DWelcomeActivity.java4 import android.view.View;
20 public void onClick(View view) { in onCreate()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DMyActivity.java21 import android.view.Menu;
22 import android.view.MenuItem;
DThemableWidget.java21 import android.view.ContextThemeWrapper;
22 import android.view.LayoutInflater;
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/view/
DViewFrameBuilderTest.kt17 package android.tools.parsers.view
19 import android.tools.traces.parsers.view.ViewFrameBuilder
DViewParserTest.kt17 package android.tools.parsers.view
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/test/widgets/
DContentWidget.java21 import android.view.View;
22 import android.view.ViewGroup;
/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/
DViewFrame.kt17 package android.tools.traces.view
DViewTrace.kt17 package android.tools.traces.view
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DBetterSwipe.kt28 import android.view.Display.DEFAULT_DISPLAY in <lambda>()
29 import android.view.InputDevice in <lambda>()
30 import android.view.MotionEvent in <lambda>()
31 import android.view.MotionEvent.TOOL_TYPE_FINGER in <lambda>()
32 import android.view.animation.DecelerateInterpolator in <lambda>()
33 import android.view.animation.LinearInterpolator in <lambda>()

1234