OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mHolder
(Results
1 - 25
of
43
) sorted by null
1
2
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
SavedQueryViewHolderTest.java
47
private SavedQueryViewHolder
mHolder
;
58
mHolder
= new SavedQueryViewHolder(mView);
64
mHolder
.onBind(mSearchFragment, result);
66
mHolder
.itemView.performClick();
InlineSwitchViewHolderTest.java
61
private InlineSwitchViewHolder
mHolder
;
72
mHolder
= new InlineSwitchViewHolder(
75
ReflectionHelpers.setField(
mHolder
, "mMetricsFeatureProvider",
81
assertThat(
mHolder
.titleView).isNotNull();
82
assertThat(
mHolder
.summaryView).isNotNull();
83
assertThat(
mHolder
.iconView).isNotNull();
84
assertThat(
mHolder
.switchView).isNotNull();
91
mHolder
.onBind(mFragment, result);
93
assertThat(
mHolder
.switchView.isChecked()).isTrue();
95
mHolder
.switchView.performClick()
[
all
...]
IntentSearchViewHolderTest.java
76
private IntentSearchViewHolder
mHolder
;
88
mHolder
= new IntentSearchViewHolder(view);
97
assertThat(
mHolder
.titleView).isNotNull();
98
assertThat(
mHolder
.summaryView).isNotNull();
99
assertThat(
mHolder
.iconView).isNotNull();
100
assertThat(
mHolder
.breadcrumbView).isNotNull();
106
mHolder
.onBind(mFragment, result);
107
mHolder
.itemView.performClick();
109
assertThat(
mHolder
.titleView.getText()).isEqualTo(TITLE);
110
assertThat(
mHolder
.summaryView.getText()).isEqualTo(SUMMARY)
[
all
...]
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
CameraPreviewView.java
12
public SurfaceHolder
mHolder
;
28
mHolder
= getHolder();
29
mHolder
.addCallback(this);
30
mHolder
.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DocumentHolderTest.java
37
DocumentHolder
mHolder
;
44
mHolder
= new DocumentHolder(getContext(), inflater.inflate(R.layout.item_doc_list, null)) {
50
mHolder
.addKeyEventListener(mListener);
52
mHolder
.itemView.requestLayout();
53
mHolder
.itemView.invalidate();
79
mHolder
.itemView.getHitRect(rect);
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
LayoutPreferenceTest.java
46
private PreferenceViewHolder
mHolder
;
53
mHolder
= PreferenceViewHolder.createInstanceForTests(LayoutInflater.from(mContext)
62
mPreference.onBindViewHolder(
mHolder
);
64
mHolder
.itemView.callOnClick();
67
assertThat(
mHolder
.itemView.isFocusable()).isTrue();
68
assertThat(
mHolder
.itemView.isClickable()).isTrue();
74
mPreference.onBindViewHolder(
mHolder
);
76
assertThat(
mHolder
.itemView.isFocusable()).isFalse();
77
assertThat(
mHolder
.itemView.isClickable()).isFalse();
85
mPreference.onBindViewHolder(
mHolder
);
[
all
...]
MusicViewHolderControllerTest.java
62
private AppViewHolder
mHolder
;
73
mHolder
= AppViewHolder.createOrRecycle(inflater, null);
78
mController.setupView(
mHolder
);
80
assertThat(
mHolder
.summary.getText().toString()).isEqualTo("0.00B");
89
mController.setupView(
mHolder
);
91
assertThat(
mHolder
.summary.getText().toString()).isEqualTo("1.00B");
PhotosViewHolderControllerTest.java
43
private AppViewHolder
mHolder
;
55
mHolder
= AppViewHolder.createOrRecycle(inflater, null);
60
mController.setupView(
mHolder
);
62
assertThat(
mHolder
.summary.getText().toString()).isEqualTo("0.00B");
71
mController.setupView(
mHolder
);
73
assertThat(
mHolder
.summary.getText().toString()).isEqualTo("11.00B");
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/
CameraPreview.java
41
private SurfaceHolder
mHolder
;
64
mHolder
= getHolder();
65
mHolder
.addCallback(this);
122
if (
mHolder
.getSurface() == null) {
141
mCamera.setPreviewDisplay(
mHolder
);
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/
CameraPreview.java
39
private SurfaceHolder
mHolder
;
58
mHolder
= getHolder();
59
mHolder
.addCallback(this);
81
if (
mHolder
.getSurface() == null) {
100
mCamera.setPreviewDisplay(
mHolder
);
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/
CameraPreview.java
41
private SurfaceHolder
mHolder
;
64
mHolder
= getHolder();
65
mHolder
.addCallback(this);
122
if (
mHolder
.getSurface() == null) {
141
mCamera.setPreviewDisplay(
mHolder
);
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/
CameraPreview.java
39
private SurfaceHolder
mHolder
;
58
mHolder
= getHolder();
59
mHolder
.addCallback(this);
81
if (
mHolder
.getSurface() == null) {
100
mCamera.setPreviewDisplay(
mHolder
);
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
CameraPreview.java
39
private SurfaceHolder
mHolder
;
58
mHolder
= getHolder();
59
mHolder
.addCallback(this);
81
if (
mHolder
.getSurface() == null) {
100
mCamera.setPreviewDisplay(
mHolder
);
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
CameraPreview.java
39
private SurfaceHolder
mHolder
;
58
mHolder
= getHolder();
59
mHolder
.addCallback(this);
81
if (
mHolder
.getSurface() == null) {
100
mCamera.setPreviewDisplay(
mHolder
);
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DataPlansSyncTimePreferenceTest.java
43
private PreferenceViewHolder
mHolder
;
54
mHolder
= PreferenceViewHolder.createInstanceForTests(view);
61
mPreference.onBindViewHolder(
mHolder
);
63
TextView syncTimeTextView = (TextView)
mHolder
.findViewById(android.R.id.title);
ManageDataPlansPreferenceTest.java
41
private PreferenceViewHolder
mHolder
;
52
mHolder
= PreferenceViewHolder.createInstanceForTests(view);
57
mPreference.onBindViewHolder(
mHolder
);
58
Button managePlanButton = (Button)
mHolder
.findViewById(R.id.manage_data_plans);
DataPlanSummaryPreferenceTest.java
56
private PreferenceViewHolder
mHolder
;
67
mHolder
= PreferenceViewHolder.createInstanceForTests(view);
77
mPreference.onBindViewHolder(
mHolder
);
79
TextView planUsageTextView = (TextView)
mHolder
.findViewById(android.R.id.title);
81
TextView planNameTextView = (TextView)
mHolder
.findViewById(android.R.id.text1);
83
TextView planDescriptionTextView = (TextView)
mHolder
.findViewById(android.R.id.text2);
97
mPreference.onBindViewHolder(
mHolder
);
99
TextView planUsageTextView = (TextView)
mHolder
.findViewById(android.R.id.title);
104
TextView planNameTextView = (TextView)
mHolder
.findViewById(android.R.id.text1);
107
TextView planDescriptionTextView = (TextView)
mHolder
.findViewById(android.R.id.text2)
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
FixedLineSummaryPreferenceTest.java
48
private PreferenceViewHolder
mHolder
;
60
mHolder
= spy(PreferenceViewHolder.createInstanceForTests(view));
61
when(
mHolder
.findViewById(android.R.id.summary)).thenReturn(mSummary);
66
mPreference.onBindViewHolder(
mHolder
);
75
mPreference.onBindViewHolder(
mHolder
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
RVCVCameraPreview.java
36
private SurfaceHolder
mHolder
;
70
mHolder
= getHolder();
71
mHolder
.addCallback(this);
75
mHolder
.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
124
if (
mHolder
.getSurface() == null || mCamera == null){
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
PlayVideoActivity.java
65
private SurfaceHolder
mHolder
;
83
mHolder
= mSurfaceView.getHolder();
84
mHolder
.addCallback(this);
85
mHolder
.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
96
mPlayer.setDisplay(
mHolder
);
190
mHolder
.setFixedSize(mVideoWidth, mVideoHeight);
/cts/tests/tests/media/src/android/media/cts/
MediaStubActivity.java
28
private SurfaceHolder
mHolder
;
37
mHolder
= surfaceV.getHolder();
55
return
mHolder
;
/packages/apps/Settings/tests/robotests/src/com/android/settings/
SummaryPreferenceTest.java
46
private PreferenceViewHolder
mHolder
;
58
mHolder
= PreferenceViewHolder.createInstanceForTests(view);
64
mPreference.onBindViewHolder(
mHolder
);
67
TextUtils.isEmpty(((TextView)
mHolder
.findViewById(android.R.id.text1)).getText()));
69
TextUtils.isEmpty(((TextView)
mHolder
.findViewById(android.R.id.text2)).getText()));
78
mPreference.onBindViewHolder(
mHolder
);
81
((TextView)
mHolder
.findViewById(android.R.id.text1)).getText());
83
((TextView)
mHolder
.findViewById(android.R.id.text2)).getText());
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
LinkablePreferenceTest.java
49
private PreferenceViewHolder
mHolder
;
65
mHolder
= PreferenceViewHolder.createInstanceForTests(mView);
67
mPreference.onBindViewHolder(
mHolder
);
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
CollapsibleCheckboxPreferenceGroupTest.java
45
private PreferenceViewHolder
mHolder
;
61
mHolder
= PreferenceViewHolder.createInstanceForTests(view);
66
mPreference.onBindViewHolder(
mHolder
);
68
assertThat(
mHolder
.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE);
69
assertThat(
mHolder
.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE);
70
assertThat(
mHolder
.findViewById(android.R.id.widget_frame).getVisibility())
81
mPreference.onBindViewHolder(
mHolder
);
84
assertThat(
mHolder
.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE);
85
assertThat(
mHolder
.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE);
86
assertThat(
mHolder
.findViewById(android.R.id.widget_frame).getVisibility()
[
all
...]
PhotosDeletionPreferenceTest.java
44
private PreferenceViewHolder
mHolder
;
62
mHolder
= PreferenceViewHolder.createInstanceForTests(view);
73
mPreference.onBindViewHolder(
mHolder
);
74
assertThat(
mHolder
.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE);
75
assertThat(
mHolder
.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE);
76
assertThat(
mHolder
.findViewById(android.R.id.widget_frame).getVisibility())
85
mPreference.onBindViewHolder(
mHolder
);
88
assertThat(
mHolder
.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE);
89
assertThat(
mHolder
.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE);
90
assertThat(
mHolder
.findViewById(android.R.id.checkbox).getVisibility()
[
all
...]
Completed in 1079 milliseconds
1
2