OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mContentView
(Results
1 - 25
of
56
) sorted by null
1
2
3
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
CustomSnackbarUsage.java
33
private CoordinatorLayout
mContentView
;
40
mContentView
= findViewById(R.id.content_view);
45
final LayoutInflater inflater = LayoutInflater.from(
mContentView
.getContext());
48
R.layout.custom_snackbar_include,
mContentView
, false);
65
new CustomSnackbar(
mContentView
, content, contentViewCallback).setTitle("Custom title")
SnackbarUsage.java
33
private ViewGroup
mContentView
;
40
mContentView
= findViewById(R.id.content_view);
48
Snackbar.make(
mContentView
, "Short snackbar message", Snackbar.LENGTH_SHORT).show();
52
Snackbar.make(
mContentView
, "Short snackbar message", Snackbar.LENGTH_SHORT)
63
Snackbar.make(
mContentView
, "Long snackbar message which wraps onto another line and"
68
Snackbar.make(
mContentView
, "Long snackbar message which wraps onto another line and"
80
Snackbar.make(
mContentView
, "Long snackbar message which wraps onto another line and"
/packages/apps/DeskClock/src/com/android/deskclock/widget/
EmptyViewController.java
38
private final View
mContentView
;
50
mContentView
= contentView;
80
mContentView
.setVisibility(mIsEmpty ? View.GONE : View.VISIBLE);
/frameworks/base/core/java/com/android/internal/view/
TooltipPopup.java
35
private final View
mContentView
;
46
mContentView
= LayoutInflater.from(mContext).inflate(
48
mMessageView = (TextView)
mContentView
.findViewById(
74
wm.addView(
mContentView
, mLayoutParams);
83
wm.removeView(
mContentView
);
87
return
mContentView
;
91
return
mContentView
.getParent() != null;
148
mContentView
.measure(spec, spec);
149
final int tooltipHeight =
mContentView
.getMeasuredHeight();
/packages/apps/Settings/tests/robotests/src/com/android/settings/
MasterClearTest.java
67
private View
mContentView
;
89
mContentView
= LayoutInflater.from(mActivity).inflate(R.layout.master_clear, null);
157
mContentView
.findViewById(R.id.initiate_master_clear));
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java
55
private View
mContentView
;
73
mContentView
= inflater.inflate(R.layout.content_welcome, null);
74
final ImageView imageView = (ImageView)
mContentView
.findViewById(R.id.image);
75
mContentView
.setDrawingCacheEnabled(false);
78
mContentView
.setOnDragListener(new View.OnDragListener() {
102
mContentView
.setOnClickListener(new OnClickListener() {
119
mContentView
.setOnLongClickListener(new View.OnLongClickListener() {
132
return
mContentView
;
391
mContentView
.setSelected(false);
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
CrossfadeActivity.java
48
private View
mContentView
;
66
mContentView
= findViewById(R.id.content);
70
mContentView
.setVisibility(View.GONE);
103
* Cross-fades between {@link #
mContentView
} and {@link #mLoadingView}.
107
final View showView = contentLoaded ?
mContentView
: mLoadingView;
108
final View hideView = contentLoaded ? mLoadingView :
mContentView
;
/packages/apps/Settings/src/com/android/settings/
CryptKeeperConfirm.java
98
private View
mContentView
;
152
mFinalButton = (Button)
mContentView
.findViewById(R.id.execute_encrypt);
159
mContentView
= inflater.inflate(R.layout.crypt_keeper_confirm, null);
161
return
mContentView
;
MasterClearConfirm.java
52
private View
mContentView
;
140
mContentView
.findViewById(R.id.execute_master_clear)
158
mContentView
= inflater.inflate(R.layout.master_clear_confirm, null);
161
return
mContentView
;
167
(TextView)
mContentView
.findViewById(R.id.master_clear_confirm);
ResetNetworkConfirm.java
57
private View
mContentView
;
134
mContentView
.findViewById(R.id.execute_reset_network)
152
mContentView
= inflater.inflate(R.layout.reset_network_confirm, null);
154
return
mContentView
;
ResetNetwork.java
62
private View
mContentView
;
135
mSubscriptionSpinner = (Spinner)
mContentView
.findViewById(R.id.reset_network_subscription);
185
mInitiateButton = (Button)
mContentView
.findViewById(R.id.initiate_reset_network);
205
mContentView
= inflater.inflate(R.layout.reset_network, null);
208
return
mContentView
;
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
LoadingViewControllerTest.java
45
private View
mContentView
;
53
mContentView
= new View(mContext);
55
mController = new LoadingViewController(mLoadingView,
mContentView
);
62
assertThat(
mContentView
.getVisibility()).isEqualTo(View.VISIBLE);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DrawerLayoutDoubleTest.java
56
private View
mContentView
;
64
mContentView
= mDrawerLayout.findViewById(R.id.content);
75
// thrown since
mContentView
is not a drawer.
77
mDrawerLayout.isDrawerOpen(
mContentView
));
84
// thrown since
mContentView
is not a drawer.
86
mDrawerLayout.isDrawerVisible(
mContentView
));
93
// thrown since
mContentView
is not a drawer.
94
onView(withId(R.id.drawer_layout)).perform(openDrawer(
mContentView
));
101
// thrown since
mContentView
is not a drawer.
102
onView(withId(R.id.drawer_layout)).perform(closeDrawer(
mContentView
));
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/
MoveScreensaverRunnable.java
34
* {@link #
mContentView
} if {@link #mSaverView} is transparent. It also schedules itself to run
50
private final View
mContentView
;
52
/** The display within the {@link #
mContentView
} that is randomly positioned. */
63
mContentView
= contentView;
104
//
mContentView
are untrustworthy if this was caused by a configuration change. To
107
final int smallestDim = Math.min(
mContentView
.getWidth(),
mContentView
.getHeight());
118
// Select a new random position anywhere in
mContentView
that will fit mSaverView.
119
final float newX = getRandomPoint(
mContentView
.getWidth() - mSaverView.getWidth());
120
final float newY = getRandomPoint(
mContentView
.getHeight() - mSaverView.getHeight())
[
all
...]
ScreensaverActivity.java
69
Utils.refreshAlarm(ScreensaverActivity.this,
mContentView
);
80
Utils.refreshAlarm(ScreensaverActivity.this,
mContentView
);
89
Utils.updateDate(mDateFormat, mDateFormatForAccessibility,
mContentView
);
96
private View
mContentView
;
109
mContentView
= findViewById(R.id.saver_container);
110
mMainClockView =
mContentView
.findViewById(R.id.main_clock);
122
mContentView
.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE
127
mContentView
.setOnSystemUiVisibilityChangeListener(new InteractionListener());
129
mPositionUpdater = new MoveScreensaverRunnable(
mContentView
, mMainClockView);
162
Utils.updateDate(mDateFormat, mDateFormatForAccessibility,
mContentView
);
[
all
...]
/packages/apps/Settings/src/com/android/settings/widget/
LoadingViewController.java
34
public final View
mContentView
;
38
mContentView
= contentView;
61
handleLoadingContainer(mLoadingView,
mContentView
, done, animate);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
MessagePageFrameLayout.java
64
View
mContentView
= getRootView().findViewById(R.id.message_content);
83
mContentView
.offsetTopAndBottom(offset);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
TooltipPopup.java
48
private final View
mContentView
;
59
mContentView
= LayoutInflater.from(mContext).inflate(R.layout.tooltip, null);
60
mMessageView = (TextView)
mContentView
.findViewById(R.id.message);
84
wm.addView(
mContentView
, mLayoutParams);
93
wm.removeView(
mContentView
);
97
return
mContentView
.getParent() != null;
163
mContentView
.measure(spec, spec);
164
final int tooltipHeight =
mContentView
.getMeasuredHeight();
/developers/samples/android/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/
MainActivity.java
109
private View
mContentView
;
183
mContentView
= findViewById(R.id.content_view);
339
mContentView
.setPadding(x, y, 0, 0);
365
mContentView
.setPadding(0, 0, 0, 0);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrintPreviewController.java
57
private final PrintContentView
mContentView
;
84
mContentView
= (PrintContentView) activity.findViewById(R.id.options_content);
96
return
mContentView
.isOptionsOpened();
100
mContentView
.closeOptions();
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
MainInteractionSession.java
61
private View
mContentView
;
113
if (
mContentView
== null) return; // Happens when ui is not enabled.
114
mContentView
.getViewTreeObserver().addOnPreDrawListener(
118
mContentView
.getViewTreeObserver().removeOnPreDrawListener(this);
119
Display d =
mContentView
.getDisplay();
123
intent.putExtra(Utils.EXTRA_CONTENT_VIEW_HEIGHT,
mContentView
.getHeight());
124
intent.putExtra(Utils.EXTRA_CONTENT_VIEW_WIDTH,
mContentView
.getWidth());
221
mContentView
= f.inflate(R.layout.assist_layer,null);
223
return
mContentView
;
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DeviceDetailFragment.java
55
private View
mContentView
= null;
68
mContentView
= inflater.inflate(R.layout.device_detail, null);
69
mContentView
.findViewById(R.id.btn_connect).setOnClickListener(new View.OnClickListener() {
94
mContentView
.findViewById(R.id.btn_disconnect).setOnClickListener(
104
mContentView
.findViewById(R.id.btn_start_client).setOnClickListener(
118
return
mContentView
;
127
TextView statusText = (TextView)
mContentView
.findViewById(R.id.status_text);
148
TextView view = (TextView)
mContentView
.findViewById(R.id.group_owner);
154
view = (TextView)
mContentView
.findViewById(R.id.device_info);
161
new FileServerAsyncTask(getActivity(),
mContentView
.findViewById(R.id.status_text)
[
all
...]
DeviceListFragment.java
47
View
mContentView
= null;
59
mContentView
= inflater.inflate(R.layout.device_list, null);
60
return
mContentView
;
149
TextView view = (TextView)
mContentView
.findViewById(R.id.my_name);
151
view = (TextView)
mContentView
.findViewById(R.id.my_status);
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DeviceDetailFragment.java
56
private View
mContentView
= null;
69
mContentView
= inflater.inflate(R.layout.device_detail, null);
70
mContentView
.findViewById(R.id.btn_connect).setOnClickListener(new View.OnClickListener() {
95
mContentView
.findViewById(R.id.btn_disconnect).setOnClickListener(
104
mContentView
.findViewById(R.id.btn_start_client).setOnClickListener(
117
return
mContentView
;
126
TextView statusText = (TextView)
mContentView
.findViewById(R.id.status_text);
147
TextView view = (TextView)
mContentView
.findViewById(R.id.group_owner);
153
view = (TextView)
mContentView
.findViewById(R.id.device_info);
160
new FileServerAsyncTask(getActivity(),
mContentView
.findViewById(R.id.status_text)
[
all
...]
DeviceListFragment.java
47
View
mContentView
= null;
59
mContentView
= inflater.inflate(R.layout.device_list, null);
60
return
mContentView
;
149
TextView view = (TextView)
mContentView
.findViewById(R.id.my_name);
151
view = (TextView)
mContentView
.findViewById(R.id.my_status);
Completed in 498 milliseconds
1
2
3