Home
last modified time | relevance | path

Searched refs:contentView (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DNotificationCompatImplBase.java169 RemoteViews contentView = new RemoteViews(context.getPackageName(), resId); in applyStandardTemplate() local
176 contentView.setImageViewBitmap(R.id.icon, largeIcon); in applyStandardTemplate()
178 contentView.setViewVisibility(R.id.icon, View.GONE); in applyStandardTemplate()
181 contentView.setTextViewText(R.id.title, contentTitle); in applyStandardTemplate()
184 contentView.setTextViewText(R.id.text, contentText); in applyStandardTemplate()
188 contentView.setTextViewText(R.id.info, contentInfo); in applyStandardTemplate()
189 contentView.setViewVisibility(R.id.info, View.VISIBLE); in applyStandardTemplate()
195 contentView.setTextViewText(R.id.info, context.getResources().getString( in applyStandardTemplate()
199 contentView.setTextViewText(R.id.info, f.format(number)); in applyStandardTemplate()
201 contentView.setViewVisibility(R.id.info, View.VISIBLE); in applyStandardTemplate()
[all …]
/frameworks/base/core/java/android/app/
DNotification.java255 public RemoteViews contentView; field in Notification
1435 contentView = RemoteViews.CREATOR.createFromParcel(parcel); in Notification()
1517 if (heavy && this.contentView != null) { in cloneInto()
1518 that.contentView = this.contentView.clone(); in cloneInto()
1599 contentView = null; in lightenPayload()
1679 if (contentView != null) { in writeToParcel()
1681 contentView.writeToParcel(parcel, 0); in writeToParcel()
1833 if (contentView != null) { in toString()
1834 sb.append(contentView.getPackage()); in toString()
1836 sb.append(Integer.toHexString(contentView.getLayoutId())); in toString()
[all …]
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDialogFragmentCompat.java72 View contentView = onCreateDialogView(context); in onCreateDialog() local
73 if (contentView != null) { in onCreateDialog()
74 onBindDialogView(contentView); in onCreateDialog()
75 builder.setView(contentView); in onCreateDialog()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceDialogFragment.java74 View contentView = onCreateDialogView(context); in onCreateDialog() local
75 if (contentView != null) { in onCreateDialog()
76 onBindDialogView(contentView); in onCreateDialog()
77 builder.setView(contentView); in onCreateDialog()
/frameworks/base/core/java/android/widget/
DPopupWindow.java278 public PopupWindow(View contentView) { in PopupWindow() argument
279 this(contentView, 0, 0); in PopupWindow()
308 public PopupWindow(View contentView, int width, int height) { in PopupWindow() argument
309 this(contentView, width, height, false); in PopupWindow()
324 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
325 if (contentView != null) { in PopupWindow()
326 mContext = contentView.getContext(); in PopupWindow()
330 setContentView(contentView); in PopupWindow()
503 public void setContentView(View contentView) { in setContentView() argument
508 mContentView = contentView; in setContentView()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseTestActivity.java44 final int contentView = getContentViewLayoutResId(); in onCreate() local
45 if (contentView > 0) { in onCreate()
46 setContentView(contentView); in onCreate()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java57 View contentView = getDecorContent().findViewById(contentRootId); in AppCompatActionBar() local
58 if (contentView != null) { in AppCompatActionBar()
59 assert contentView instanceof FrameLayout; in AppCompatActionBar()
60 setContentRoot((FrameLayout) contentView); in AppCompatActionBar()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java69 LinearLayout contentView = new LinearLayout(this); in onCreate() local
70 contentView.setOrientation(LinearLayout.VERTICAL); in onCreate()
71 setContentView(contentView); in onCreate()
84 contentView.addView(webView, new LayoutParams( in onCreate()
/frameworks/base/core/java/android/preference/
DDialogPreference.java298 View contentView = onCreateDialogView(); in showDialog() local
299 if (contentView != null) { in showDialog()
300 onBindDialogView(contentView); in showDialog()
301 mBuilder.setView(contentView); in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java1271 RemoteViews contentView = sbn.getNotification().contentView;
1275 if (contentView == null) {
1332 contentViewLocal = contentView.apply(
1372 publicViewLocal = publicNotification.contentView.apply(
1887 Log.w(TAG, "Couldn't reapply views for package " + n.contentView.getPackage(), e);
1928 + " contentView=" + oldNotification.getNotification().contentView
1934 + " contentView=" + n.contentView
1946 final RemoteViews oldContentView = oldNotification.getNotification().contentView;
1947 final RemoteViews contentView = n.contentView;
1955 ? oldPublicNotification.contentView : null;
[all …]
DActivatableNotificationView.java659 View contentView = getContentView(); in setContentAlpha() local
660 if (contentView.hasOverlappingRendering()) { in setContentAlpha()
663 int currentLayerType = contentView.getLayerType(); in setContentAlpha()
665 contentView.setLayerType(layerType, null); in setContentAlpha()
668 contentView.setAlpha(contentAlpha); in setContentAlpha()
/frameworks/data-binding/library/src/main/java/android/databinding/
DDataBindingUtil.java289 ViewGroup contentView = (ViewGroup) decorView.findViewById(android.R.id.content); in setContentView() local
290 T binding = inflate(activity.getLayoutInflater(), layoutId, contentView, false, in setContentView()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DSetupWizardLayoutTests.java90 View contentView = layout.findViewById(R.id.test_view_id); in testCustomTemplate() local
91 assertSame("The view added should be the same text view", tv, contentView); in testCustomTemplate()
/frameworks/support/v4/honeycomb/android/support/v4/app/
DNotificationCompatHoneycomb.java33 .setContent(n.contentView) in add()
/frameworks/support/v4/ics/android/support/v4/app/
DNotificationCompatIceCreamSandwich.java38 .setContent(n.contentView) in Builder()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java127 n.contentView = new RemoteViews(getPackageName(), R.layout.button_notification);
128 n.contentView.setOnClickPendingIntent(R.id.button, makeIntent2());
233 n.contentView.setInt(1 /*bogus*/, "bogus method", 666);
247 n.contentView.setInt(1 /*bogus*/, "bogus method", 666);
/frameworks/support/v4/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java49 .setContent(n.contentView) in Builder()
/frameworks/support/v4/api20/android/support/v4/app/
DNotificationCompatApi20.java48 .setContent(n.contentView) in Builder()
/frameworks/support/v4/api21/android/support/v4/app/
DNotificationCompatApi21.java72 .setContent(n.contentView) in Builder()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java215 final int contentView = selectContentView(); in installContent() local
216 mDialog.setContentView(contentView); in installContent()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java134 pw.println(prefix + " contentView=" + notification.contentView); in dump()
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java80 .setContent(n.contentView) in Builder()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java232 int contentView = selectContentView(); in installContent() local
233 mWindow.setContentView(contentView); in installContent()
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
DNotificationTests.java245 String.valueOf(n.contentView)); in summarize()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java1070 mNotification.contentView = views; in setContent()

12