Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 25 of 981) sorted by relevance

12345678910>>...40

/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java58 View v1 = activity.findViewById(R.id.view1); in testFocusHandling() local
63 assertNotNull(v1); in testFocusHandling()
69 assertFalse(v1.isFocusable()); in testFocusHandling()
74 v1.setFocusable(true); in testFocusHandling()
79 assertTrue(v1.isFocusable()); in testFocusHandling()
84 v1.setNextFocusRightId(R.id.view2); in testFocusHandling()
85 v1.setNextFocusDownId(R.id.view3); in testFocusHandling()
97 assertEquals(R.id.view2, v1.getNextFocusRightId()); in testFocusHandling()
98 assertEquals(R.id.view3, v1.getNextFocusDownId()); in testFocusHandling()
110 assertSame(v2, v1.focusSearch(View.FOCUS_RIGHT)); in testFocusHandling()
[all …]
DView_InitialFocusTest.java99 View v1 = activity.findViewById(R.id.view1); in testClearFocus() local
100 v1.setFocusableInTouchMode(true); in testClearFocus()
101 assertFalse(v1.isFocused()); in testClearFocus()
102 v1.requestFocus(); in testClearFocus()
103 assertTrue(v1.isFocused()); in testClearFocus()
104 v1.clearFocus(); in testClearFocus()
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java44 import org.xmlpull.v1.XmlPullParser;
93 final View v1 = mActivity.findViewById(R.id.ok); in testShowNext() local
97 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowNext()
99 parent.removeView(v1); in testShowNext()
105 mViewAnimator.addView(v1); in testShowNext()
140 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChild() local
142 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChild()
144 parent.removeView(v1); in testAccessDisplayedChild()
148 mViewAnimator.addView(v1); in testAccessDisplayedChild()
175 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChildBoundary() local
[all …]
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DVerbosityTest.java29 String v1 = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 500"); in testVerbosity() local
30 assertTrue(v1.contains("Events injected")); in testVerbosity()
31 assertTrue(v1.contains("Sending Touch")); in testVerbosity()
32 assertTrue(v1.contains("Sending Trackball")); in testVerbosity()
33 assertTrue(v1.contains("Switch")); in testVerbosity()
34 assertFalse(v1.contains("Sleeping")); in testVerbosity()
43 assertTrue(v0.length() < v1.length()); in testVerbosity()
44 assertTrue(v1.length() < v2.length()); in testVerbosity()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/nop/d/
DT_nop_1.smali22 move-object v1, v2
23 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
29 const v1, 12345678
35 move v3, v1
39 if-ne v1, v3, :Label1
40 const/4 v1, 1
41 return v1
43 const/4 v1, 0
44 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_16/d/
DT_move_16_1.smali34 const v1, 0x162e
38 move/16 v4001, v1
46 move/16 v1, v4001
50 if-ne v1, v4, :cond_1f
52 const v1, 0x1
54 return v1
57 const v1, 0x0
59 return v1
DT_move_16_2.smali32 const v1, 0x162e
34 move/16 v4001, v1
42 if-ne v1, v4, :cond_13
44 const v1, 0x1
46 return v1
49 const v1, 0x0
51 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_from16/d/
DT_move_from16_1.smali38 move/from16 v1, v255
42 if-ne v1, v4, :cond_12
44 const v1, 0x1
46 return v1
49 const v1, 0x0
51 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/T_check_cast_2.smalis/
DT_check_cast_2.smali34 const v1, 0x0
75 add-int/lit16 v1, v1, 0x1
93 add-int/lit16 v1, v1, 0x1
109 add-int/lit16 v1, v1, 0x1
125 add-int/lit16 v1, v1, 0x1
141 add-int/lit16 v1, v1, 0x1
144 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_wide_from16/d/
DT_move_wide_from16_1.smali38 move-wide/from16 v1, v255
42 cmp-long v0, v1, v4
46 const v1, 0x1
48 return v1
51 const v1, 0x0
53 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_short/d/
DT_iget_short_1.smali27 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
29 iput-short v0, v1, Ldot/junit/opcodes/iget_short/d/T_iget_short_1;->i1:S
32 iput-short v0, v1, Ldot/junit/opcodes/iget_short/d/T_iget_short_1;->p1:S
35 iput-short v0, v1, Ldot/junit/opcodes/iget_short/d/T_iget_short_1;->pvt1:S
44 iget-short v1, v2, Ldot/junit/opcodes/iget_short/d/T_iget_short_1;->i1:S
45 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_boolean/d/
DT_iget_boolean_1.smali27 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
30 iput-boolean v0, v1, Ldot/junit/opcodes/iget_boolean/d/T_iget_boolean_1;->i1:Z
33 iput-boolean v0, v1, Ldot/junit/opcodes/iget_boolean/d/T_iget_boolean_1;->p1:Z
36 iput-boolean v0, v1, Ldot/junit/opcodes/iget_boolean/d/T_iget_boolean_1;->pvt1:Z
44 iget-boolean v1, v2, Ldot/junit/opcodes/iget_boolean/d/T_iget_boolean_1;->i1:Z
45 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/
DT_iget_1.smali26 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
29 iput v0, v1, Ldot/junit/opcodes/iget/d/T_iget_1;->i1:I
32 iput v0, v1, Ldot/junit/opcodes/iget/d/T_iget_1;->p1:I
35 iput v0, v1, Ldot/junit/opcodes/iget/d/T_iget_1;->pvt1:I
43 iget v1, v2, Ldot/junit/opcodes/iget/d/T_iget_1;->i1:I
44 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_byte/d/
DT_iget_byte_1.smali26 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
29 iput-byte v0, v1, Ldot/junit/opcodes/iget_byte/d/T_iget_byte_1;->i1:B
32 iput-byte v0, v1, Ldot/junit/opcodes/iget_byte/d/T_iget_byte_1;->p1:B
35 iput-byte v0, v1, Ldot/junit/opcodes/iget_byte/d/T_iget_byte_1;->pvt1:B
43 iget-byte v1, v2, Ldot/junit/opcodes/iget_byte/d/T_iget_byte_1;->i1:B
44 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_char/d/
DT_iget_char_1.smali27 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
30 iput-char v0, v1, Ldot/junit/opcodes/iget_char/d/T_iget_char_1;->i1:C
33 iput-char v0, v1, Ldot/junit/opcodes/iget_char/d/T_iget_char_1;->p1:C
36 iput-char v0, v1, Ldot/junit/opcodes/iget_char/d/T_iget_char_1;->pvt1:C
45 iget-char v1, v2, Ldot/junit/opcodes/iget_char/d/T_iget_char_1;->i1:C
46 return v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/
DT_monitor_enter_1.smali24 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
28 iput v0, v1, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I
36 iget v1, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I
43 if-ne v1, v2, :Label0
45 add-int/lit8 v1, v1, 1
46 iput v1, v7, Ldot/junit/opcodes/monitor_enter/d/T_monitor_enter_1;->counter:I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/T_aput_object_3.smalis/
DT_aput_object_3.smali34 const v1, 0x0
83 add-int/lit8 v1, v1, 0x1
97 add-int/lit8 v1, v1, 0x1
111 add-int/lit8 v1, v1, 0x1
116 return v1
/cts/hostsidetests/incrementalinstall/app/
DAndroid.bp15 // v1 implementation of test app built with v1 manifest.
22 srcs: ["v1/src/**/*.java"],
47 // v1 implementation of test app built with v1 manifest with uncompressed native libs.
50 srcs: ["v1/src/**/*.java"],
75 // v2 implementation of test app built with v1 manifest for zero version update test.
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/
DT_new_instance_3.smali25 const/4 v1, 0
42 new-instance v1, Ldot/junit/opcodes/new_instance/d/T_new_instance_3;
43 invoke-direct {v1}, Ldot/junit/opcodes/new_instance/d/T_new_instance_3;-><init>()V
45 sget v1, Ldot/junit/opcodes/new_instance/d/T_new_instance_3;->i:I
46 return v1
/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
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/ushr_int_lit8/d/
DT_ushr_int_lit8_2.smali28 const/16 v1, 33
29 ushr-int/lit8 v1, v1, 2
30 return v1
DT_ushr_int_lit8_3.smali28 const/16 v1, -15
29 ushr-int/lit8 v1, v1, 1
30 return v1
DT_ushr_int_lit8_4.smali28 const/16 v1, 1
29 ushr-int/lit8 v1, v1, -1
30 return v1
DT_ushr_int_lit8_5.smali28 const/16 v1, 33
29 ushr-int/lit8 v1, v1, 33
30 return v1

12345678910>>...40