Home
last modified time | relevance | path

Searched refs:v2 (Results 1 – 25 of 610) sorted by relevance

12345678910>>...25

/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java59 View v2 = activity.findViewById(R.id.view2); in testFocusHandling() local
64 assertNotNull(v2); in testFocusHandling()
70 assertFalse(v2.isFocusable()); in testFocusHandling()
75 v2.setFocusable(true); in testFocusHandling()
80 assertTrue(v2.isFocusable()); in testFocusHandling()
87 v2.setNextFocusLeftId(R.id.view1); in testFocusHandling()
88 v2.setNextFocusDownId(R.id.view4); in testFocusHandling()
100 assertEquals(R.id.view1, v2.getNextFocusLeftId()); in testFocusHandling()
101 assertEquals(R.id.view4, v2.getNextFocusDownId()); in testFocusHandling()
110 assertSame(v2, v1.focusSearch(View.FOCUS_RIGHT)); in testFocusHandling()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java94 final View v2 = mActivity.findViewById(R.id.cancel); in testShowNext() local
100 parent.removeView(v2); in testShowNext()
106 mViewAnimator.addView(v2); in testShowNext()
141 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChild() local
145 parent.removeView(v2); in testAccessDisplayedChild()
151 mViewAnimator.addView(v2); in testAccessDisplayedChild()
176 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChildBoundary() local
180 parent.removeView(v2); in testAccessDisplayedChildBoundary()
186 mViewAnimator.addView(v2); in testAccessDisplayedChildBoundary()
205 final View v2 = mActivity.findViewById(R.id.cancel); in testGetBaseline() local
[all …]
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DVerbosityTest.java36 String v2 = mDevice.executeShellCommand(MONKEY_CMD + " -v -v -p " + PKGS[0] + " 500"); in testVerbosity() local
37 assertTrue(v2.contains("Events injected")); in testVerbosity()
38 assertTrue(v2.contains("Sending Touch")); in testVerbosity()
39 assertTrue(v2.contains("Sending Trackball")); in testVerbosity()
40 assertTrue(v2.contains("Switch")); in testVerbosity()
41 assertTrue(v2.contains("Sleeping")); in testVerbosity()
44 assertTrue(v1.length() < v2.length()); in testVerbosity()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/packed_switch/d/
DT_packed_switch_9.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_12.smali39 const/4 v2, -0x1
41 return v2
44 const/4 v2, 0x2
46 return v2
49 const/16 v2, 0x14
51 return v2
DT_packed_switch_8.smali37 const v2, -0x1
39 return v2
42 const v2, 0x2
44 return v2
47 const v2, 0x14
49 return v2
DT_packed_switch_3.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_1.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_2.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_11.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_7.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_6.smali37 const/4 v2, -0x1
39 return v2
42 const/4 v2, 0x2
44 return v2
47 const/16 v2, 0x14
49 return v2
DT_packed_switch_13.smali40 const/4 v2, -0x1
42 return v2
44 const/4 v2, 0x2
46 return v2
49 const/16 v2, 0x14
51 return v2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_exit/d/
DT_monitor_exit_1.smali26 const/4 v2, 1
27 iput-boolean v2, v3, Ldot/junit/opcodes/monitor_exit/d/T_monitor_exit_1;->result:Z
35 new-instance v2, Ljava/lang/Object;
36 invoke-direct {v2}, Ljava/lang/Object;-><init>()V
37 monitor-enter v2
/cts/tests/tests/jni/src/android/jni/cts/
DInstanceNonce.java66 public native boolean takeIntLong(int v1, long v2); in takeIntLong() argument
67 public native boolean takeLongInt(long v1, int v2); in takeLongInt() argument
68 public native boolean takeOneOfEach(boolean v0, byte v1, short v2, in takeOneOfEach() argument
72 int v1, int v2, int v3, int v4, in takeCoolHandLuke() argument
DStaticNonce.java67 public static native boolean takeIntLong(int v1, long v2); in takeIntLong() argument
68 public static native boolean takeLongInt(long v1, int v2); in takeLongInt() argument
69 public static native boolean takeOneOfEach(boolean v0, byte v1, short v2, in takeOneOfEach() argument
73 int v1, int v2, int v3, int v4, in takeCoolHandLuke() argument
DStaticFromNative.java72 public static boolean takeOneOfEach(double v0, float v1, long v2, int v3, in takeOneOfEach() argument
74 return (v0 == 0.0) && (v1 == 1.0f) && (v2 == 2L) && (v3 == 3) in takeOneOfEach()
80 int v1, int v2, int v3, int v4, in takeCoolHandLuke() argument
91 return (v1 == 1) && (v2 == 2) && (v3 == 3) && in takeCoolHandLuke()
DInstanceFromNative.java75 public boolean takeOneOfEach(double v0, float v1, long v2, int v3, in takeOneOfEach() argument
77 return (v0 == 0.0) && (v1 == 1.0f) && (v2 == 2L) && (v3 == 3) in takeOneOfEach()
83 int v1, int v2, int v3, int v4, in takeCoolHandLuke() argument
94 return (v1 == 1) && (v2 == 2) && (v3 == 3) && in takeCoolHandLuke()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c212 jint v1, jlong v2) { in InstanceNonce_takeIntLong() argument
213 return (v1 == 914) && (v2 == 9140914091409140914LL); in InstanceNonce_takeIntLong()
218 jlong v1, jint v2) { in InstanceNonce_takeLongInt() argument
219 return (v1 == -4321LL) && (v2 == 12341234); in InstanceNonce_takeLongInt()
226 jboolean v0, jbyte v1, jshort v2, jchar v3, jint v4, jlong v5, in InstanceNonce_takeOneOfEach() argument
231 if ((v0 != false) || (v1 != 1) || (v2 != 2) || (v3 != 3) || in InstanceNonce_takeOneOfEach()
280 jint v1, jint v2, jint v3, jint v4, in InstanceNonce_takeCoolHandLuke() argument
291 return (v1 == 1) && (v2 == 2) && (v3 == 3) && in InstanceNonce_takeCoolHandLuke()
Dandroid_jni_cts_StaticNonce.c227 jint v1, jlong v2) { in StaticNonce_takeIntLong() argument
228 return (v1 == 914) && (v2 == 9140914091409140914LL); in StaticNonce_takeIntLong()
233 jlong v1, jint v2) { in StaticNonce_takeLongInt() argument
234 return (v1 == -4321LL) && (v2 == 12341234); in StaticNonce_takeLongInt()
241 jboolean v0, jbyte v1, jshort v2, jchar v3, jint v4, jlong v5, in StaticNonce_takeOneOfEach() argument
246 if ((v0 != false) || (v1 != 1) || (v2 != 2) || (v3 != 3) || in StaticNonce_takeOneOfEach()
295 jint v1, jint v2, jint v3, jint v4, in StaticNonce_takeCoolHandLuke() argument
306 return (v1 == 1) && (v2 == 2) && (v3 == 3) && in StaticNonce_takeCoolHandLuke()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_25.smali40 new-instance v2, Ldot/junit/opcodes/invoke_direct_range/TPlain;
42 invoke-direct {v2}, Ldot/junit/opcodes/invoke_direct_range/TPlain;-><init>()V
44 …invoke-direct/range {v2 .. v2}, Ldot/junit/opcodes/invoke_direct_range/d/T_invoke_direct_range_25;…
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_wide_16/d/
DT_move_wide_16_1.smali30 const-wide v2, 5678
33 move-wide/16 v4002, v2
40 move-wide/16 v2, v4002
44 cmp-long v10, v2, v4
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/
DT_return_object_13.smali46 move-result-object v2
48 instance-of v2, v2, Ldot/junit/opcodes/return_object/d/TChild;
50 return v2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/d/
DT_sub_float_2addr_3.smali30 move v2, v3
32 sub-float/2addr v3, v2
33 return v2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/ushr_int_2addr/d/
DT_ushr_int_2addr_2.smali28 move v1, v2
29 const-wide v2, 12345.0
30 ushr-int/2addr v1, v2

12345678910>>...25