/aosp14/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/transformation/ |
H A D | EdgeTranslateTest.kt | 60 translate(TestElements.Foo, edge, startsOutsideLayoutBounds) 69 before { onElement(TestElements.Foo).assertDoesNotExist() } 71 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 0.dp) } 80 before { onElement(TestElements.Foo).assertDoesNotExist() } 81 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 0.dp) } 91 before { onElement(TestElements.Foo).assertDoesNotExist() } 102 before { onElement(TestElements.Foo).assertDoesNotExist() } 113 before { onElement(TestElements.Foo).assertDoesNotExist() } 124 before { onElement(TestElements.Foo).assertDoesNotExist() } 135 before { onElement(TestElements.Foo).assertDoesNotExist() } [all …]
|
H A D | TranslateTest.kt | 43 Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) 49 translate(TestElements.Foo, x = 20.dp, y = (-40).dp) 52 before { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) } 53 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) } 54 at(16) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(15.dp, 40.dp) } 55 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(20.dp, 30.dp) } 57 after { onElement(TestElements.Foo).assertDoesNotExist() } 67 Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) 72 translate(TestElements.Foo, x = 20.dp, y = (-40).dp) 75 before { onElement(TestElements.Foo).assertDoesNotExist() } [all …]
|
H A D | ScaleSizeTest.kt | 42 toSceneContent = { Box(Modifier.size(100.dp).element(TestElements.Foo)) }, 46 scaleSize(TestElements.Foo, width = 2f, height = 0.5f) 51 before { onElement(TestElements.Foo).assertDoesNotExist() } 52 at(0) { onElement(TestElements.Foo).assertSizeIsEqualTo(200.dp, 50.dp) } 53 at(16) { onElement(TestElements.Foo).assertSizeIsEqualTo(175.dp, 62.5.dp) } 54 at(32) { onElement(TestElements.Foo).assertSizeIsEqualTo(150.dp, 75.dp) } 55 at(48) { onElement(TestElements.Foo).assertSizeIsEqualTo(125.dp, 87.5.dp) } 56 at(64) { onElement(TestElements.Foo).assertSizeIsEqualTo(100.dp, 100.dp) } 57 after { onElement(TestElements.Foo).assertSizeIsEqualTo(100.dp, 100.dp) }
|
H A D | AnchoredTranslateTest.kt | 42 Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) 45 toSceneContent = { Box(Modifier.offset(30.dp, 10.dp).element(TestElements.Foo)) }, 49 anchoredTranslate(TestElements.Bar, TestElements.Foo) 65 fromSceneContent = { Box(Modifier.offset(10.dp, 50.dp).element(TestElements.Foo)) }, 67 Box(Modifier.offset(30.dp, 10.dp).element(TestElements.Foo)) 73 anchoredTranslate(TestElements.Bar, TestElements.Foo)
|
H A D | AnchoredSizeTest.kt | 41 fromSceneContent = { Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) }, 43 Box(Modifier.size(50.dp, 50.dp).element(TestElements.Foo)) 49 anchoredSize(TestElements.Bar, TestElements.Foo) 68 Box(Modifier.size(100.dp, 100.dp).element(TestElements.Foo)) 71 toSceneContent = { Box(Modifier.size(200.dp, 60.dp).element(TestElements.Foo)) }, 75 anchoredSize(TestElements.Bar, TestElements.Foo)
|
/aosp14/system/core/libutils/ |
H A D | RefBase_test.cpp | 41 ~Foo() { in ~Foo() 88 Foo* foo = new Foo(&isDeleted); in TEST() 91 sp<Foo> sp1(foo); in TEST() 92 wp<Foo> wp1(sp1); in TEST() 116 Foo* foo = new Foo(&isDeleted); in TEST() 133 Foo* foo = new Foo(&isDeleted); in TEST() 134 Foo* foo2 = new Foo(&isDeleted2); in TEST() 188 sp<Foo> sp3(new Foo(&isDeleted3)); in TEST() 190 wp<Foo> wp5; in TEST() 246 sp<Foo> foo = sp<Foo>::make(&isDeleted); in TEST() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/ |
H A D | ObservableServiceConnectionTest.java | 56 static class Foo { class in ObservableServiceConnectionTest 59 Foo(int value) { in Foo() method in ObservableServiceConnectionTest.Foo 66 if (!(o instanceof Foo)) return false; in equals() 67 Foo foo = (Foo) o; in equals() 84 Foo mResult; 93 ObservableServiceConnection.ServiceTransformer<Foo> mTransformer; 96 ObservableServiceConnection.Callback<Foo> mCallback; 114 ObservableServiceConnection<Foo> connection = new ObservableServiceConnection<>(mContext, in testConnect() 134 ObservableServiceConnection<Foo> connection = new ObservableServiceConnection<>(mContext, in testDisconnect() 165 ObservableServiceConnection<Foo> connection = new ObservableServiceConnection<>(mContext, in testUnbind() [all …]
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
H A D | ArrayListIterationPerfTest.java | 38 public class Foo { class in ArrayListIterationPerfTest 44 ArrayList<Foo> mList = new ArrayList<Foo>(); 46 for (int i = 0; i < 27; ++i) mList.add(new Foo()); in mList.add() argument 53 ArrayList<Foo> list = mList; in timeArrayListIterationIndexed() 65 for (Foo a : mList) { in timeArrayListIterationForEach()
|
H A D | ArrayIterationPerfTest.java | 36 public class Foo { class in ArrayIterationPerfTest 43 Foo[] mArray = new Foo[27]; 45 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo(); 62 Foo[] localArray = mArray; in timeArrayIterationCached() 75 for (Foo a: mArray) { in timeArrayIterationForEach()
|
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | ObservableServiceConnectionTest.java | 53 public static class Foo { class in ObservableServiceConnectionTest 56 Foo(int value) { in Foo() method in ObservableServiceConnectionTest.Foo 63 if (!(o instanceof Foo)) return false; in equals() 64 Foo foo = (Foo) o; in equals() 80 private Foo mResult; 84 private ServiceTransformer<Foo> mTransformer; 86 private ObservableServiceConnection.Callback<Foo> mCallback; 88 private ObservableServiceConnection<Foo> mConnection;
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/ |
H A D | SceneTransitionLayoutTest.kt | 119 .element(TestElements.Foo) 120 .testTag(TestElements.Foo.name) 123 val offset by animateSharedDpAsState(childOffset, TestValues.Value1, TestElements.Foo) 227 var sharedFoo = rule.onNodeWithTag(TestElements.Foo.name, useUnmergedTree = true) 253 sharedFoo = rule.onAllNodesWithTag(TestElements.Foo.name).onFirst() 287 sharedFoo = rule.onAllNodesWithTag(TestElements.Foo.name).onFirst()
|
H A D | TestValues.kt | 33 val Foo = ElementKey("Foo") regex
|
H A D | SwipeToSceneTest.kt | 66 modifier = Modifier.size(LayoutWidth, LayoutHeight).testTag(TestElements.Foo.name),
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibOne/src/com/android/aapt/staticlib/one/ |
H A D | StaticLibOne.java | 20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/src/com/android/aapt/app/one/ |
H A D | AppOne.java | 20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/ |
H A D | StaticLibTwo.java | 20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
|
/aosp14/frameworks/base/test-mock/api/ |
H A D | system-lint-baseline.txt | 3 …Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiverForAllUsers`
|
/aosp14/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules_test.cpp | 216 EXPECT_THAT(actual, HasSubstr("-keep class com.package.Foo { <init>(...); }")); 221 EXPECT_THAT(actual, HasSubstr("-keep class com.package.Foo { <init>(...); }"));
|
/aosp14/frameworks/base/test-runner/api/ |
H A D | lint-baseline.txt | 41 Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiver`
|
/aosp14/frameworks/base/core/api/ |
H A D | test-lint-baseline.txt | 139 Methods creating an Intent should be named `create<Foo>Intent()`, was `getManageKeyphraseIntent`
|