/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPopupWindow.java | 19 private View contentView; 33 public void __constructor__(View contentView) { 34 setContentView(contentView); 38 public void __constructor__(View contentView, int width, int height, boolean focusable) { 39 __constructor__(contentView); 46 public void setContentView(View contentView) { 47 this.contentView = contentView; 48 context = contentView.getContext(); 53 return contentView; [all...] |
ShadowTabSpec.java | 22 private View contentView; 98 contentView = factory.createTabContent(this.tag); 114 return contentView;
|
ShadowActivity.java | 39 private View contentView; 98 * Sets the {@code contentView} for this {@code Activity} by invoking the 106 contentView = getLayoutInflater().inflate(layoutResID, new FrameLayout(realActivity)); 112 contentView = view; 138 * Checks to ensure that the{@code contentView} has been set 142 * @throws RuntimeException if the {@code contentView} has not been called first 149 if (contentView != null) { 150 return contentView.findViewById(id); 162 contentViewContainer.addView(contentView, 0); 265 * @return the {@code contentView} set by one of the {@code setContentView()} method [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
StreamItemAdapter.java | 112 final View contentView = view.findViewById(R.id.stream_item_content); 117 contentView.setTag(streamItem); 118 contentView.setFocusable(true); 119 contentView.setOnClickListener(mItemClickListener); 120 contentView.setEnabled(true); 122 contentView.setTag(null); 123 contentView.setFocusable(false); 124 contentView.setOnClickListener(null); 126 contentView.setClickable(false); 127 contentView.setEnabled(false) [all...] |
/frameworks/base/core/java/android/app/ |
Notification.java | 195 public RemoteViews contentView; 198 * A large-format version of {@link #contentView}, giving the Notification an 604 contentView = RemoteViews.CREATOR.createFromParcel(parcel); 667 if (heavy && this.contentView != null) { 668 that.contentView = this.contentView.clone(); 734 contentView = null; 797 if (contentView != null) { 799 contentView.writeToParcel(parcel, 0); 867 * Sets the {@link #contentView} field to be a view with the standard "Latest Event [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
NetworkItemView.js | 39 var contentView = WebInspector.ResourceView.resourceViewForResource(resource); 44 if (contentView.hasContent()) { 46 contentView.visible = false; 47 this._tabbedPane.appendTab("content", WebInspector.UIString("Content"), contentView);
|
/frameworks/base/core/java/android/webkit/ |
PluginFullScreenHolder.java | 53 public void setContentView(View contentView) { 62 mLayout.addView(contentView, layoutParams); 69 if (contentView instanceof SurfaceView) { 70 final SurfaceView sView = (SurfaceView) contentView; 76 mContentView = contentView;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PopupWindowTest.java | 43 View contentView = new View(null); 44 popupWindow.setContentView(contentView); 46 assertThat(popupWindow.getContentView(), is(contentView)); 128 private View contentView; 134 contentView = new View(Robolectric.application); 135 contentView.setId(R.id.content_view); 141 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true); 148 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true); 156 PopupWindow popupWindow = new PopupWindow(contentView); 163 PopupWindow popupWindow = new PopupWindow(contentView); [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 370 RemoteViews contentView = new RemoteViews(context.getPackageName(), 372 contentView.setImageViewResource(R.id.image, R.drawable.stat_notify_calendar); 373 contentView.setTextViewText(R.id.title, title); 374 contentView.setTextViewText(R.id.text, summaryText); 378 contentView.setViewVisibility(R.id.map_button, View.GONE); 380 contentView.setViewVisibility(R.id.map_button, View.VISIBLE); 381 contentView.setOnClickPendingIntent(R.id.map_button, mapIntent); 382 contentView.setViewVisibility(R.id.end_padding, View.GONE); 386 contentView.setViewVisibility(R.id.call_button, View.GONE); 388 contentView.setViewVisibility(R.id.call_button, View.VISIBLE) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
NotificationTest.java | 79 final RemoteViews contentView = new RemoteViews(mContext.getPackageName(), 81 mNotification.contentView = contentView; 104 assertNotNull(result.contentView); 138 mNotification.contentView = null; 143 assertNull(result.contentView); 159 assertTrue(mNotification.contentView instanceof RemoteViews); 160 assertNotNull(mNotification.contentView);
|
/external/webkit/Source/WebCore/platform/mac/ |
WebCoreView.m | 60 NSView *view = [self contentView];
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
WebInspectorProxyMac.mm | 115 NSView *contentView = [window contentView]; 116 [m_inspectorView.get() setFrame:[contentView bounds]]; 118 [contentView addSubview:m_inspectorView.get()];
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtErrorActivity.java | 74 TextView contentView = (TextView)view.findViewById(R.id.content); 75 contentView.setText(mErrorContent);
|
BluetoothOppBtEnableActivity.java | 71 TextView contentView = (TextView)view.findViewById(R.id.content); 72 contentView.setText(getString(R.string.bt_enable_line1) + "\n\n"
|
/sdk/emulator/opengl/tests/translator_tests/MacCommon/ |
setup_gl.m | 30 [[win contentView] addSubview:glView];
|
/external/chromium/chrome/browser/resources/net_internals/ |
tabswitcherview.js | 48 tab.contentView.setGeometry(left, contentTop, width, contentHeight); 59 activeTab.contentView.show(isVisible); 70 TabSwitcherView.prototype.addTab = function(id, contentView, switchOnClick) { 71 var tab = new TabEntry(id, contentView); 83 tab.contentView.show(false); 124 newTab.contentView.setParameters(params); 151 function TabEntry(id, contentView) { 153 this.contentView = contentView; 159 this.contentView.show(isSelected) [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
DumpRenderTreeWindow.mm | 94 if ([[[self contentView] subviews] count] > 0) { 95 firstView = [[[self contentView] subviews] objectAtIndex:0];
|
/external/webkit/Source/WebKit/mac/WebInspector/ |
WebNodeHighlighter.mm | 60 NSView *view = [[[[[_inspectedWebView mainFrame] frameView] documentView] enclosingScrollView] contentView];
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebViewEventHandling.mm | 162 NSView *contentView = [[event window] contentView]; 163 NSPoint locationForHitTest = [[contentView superview] convertPoint:[event locationInWindow] fromView:nil]; 164 for (NSView *hitView = [contentView hitTest:locationForHitTest]; hitView; hitView = [hitView superview]) {
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
NativeMacSubWindow.m | 51 [[win contentView] addSubview:glView];
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
WebTextInputWindowController.m | 66 _inputTextView = [[NSTextView alloc] initWithFrame:[self.contentView frame]]; 69 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]]; 71 self.contentView = scrollView;
|
/external/webkit/Source/WebKit2/UIProcess/API/mac/ |
WKTextInputWindowController.mm | 65 _inputTextView = [[NSTextView alloc] initWithFrame:[self.contentView frame]]; 68 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]]; 70 self.contentView = scrollView;
|
/external/webkit/Source/WebKit/mac/Carbon/ |
CarbonWindowAdapter.mm | 84 - (id)_initContent:(const NSRect *)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag contentView:aView; 148 ControlRef contentView; 190 self = (CarbonWindowAdapter*)[super _initContent:NULL styleMask:styleMask backing:backingStoreType defer:YES contentView:carbonWindowContentView]; 227 HIViewFindByID( HIViewGetRoot( _windowRef ), kHIViewWindowContentID, &contentView ); 228 osStatus = InstallEventHandler( GetControlEventTarget( contentView ), NSCarbonWindowHandleEvent, 1, &kControlBoundsChangedEvent, (void*)self, &_eventHandler); 541 // There's no override of _initContent:styleMask:backing:defer:contentView:, despite the fact that NSWindow's modifies _auxiliaryStorage->_auxWFlags.hasShadow, because it will never get called if the class instance is properly initialized with -[NSCarbonWindow initWithCarbonWindowRef:takingOwnership:]. 635 HIViewRef contentView; 637 GetRootControl( GetControlOwner( view ), &contentView ); 638 HIViewAdvanceFocus( contentView, 0 ); 653 HIViewRef contentView; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
StatusBarNotifications.java | 217 // can set the contentView field to your own RemoteViews object. 231 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.status_bar_balloon); 232 contentView.setTextViewText(R.id.text, text); 233 contentView.setImageViewResource(R.id.icon, moodId); 234 notif.contentView = contentView;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
TabsAdapter.java | 146 final View contentView = mTabs.get(position).view; 147 if (contentView instanceof CaffeinatedScrollView) { 148 ((CaffeinatedScrollView) contentView).awakenScrollBars();
|