Returns the ViewGroup used as a parent for the content view.

@return The content view's parent.
170849
public ViewGroup getContentContainer() {
        if (mDragMode == MENU_DRAG_CONTENT) {
            return mContentContainer;
        } else {
            return (ViewGroup) findViewById(android.R.id.content);
        }
    }
96691
@Override public final VH onCreateViewHolder(ViewGroup parent, int viewType) {
    VH viewHolder;
    if (isHeaderType(viewType)) {
      viewHolder = onCreateHeaderViewHolder(parent, viewType);
    } else if (isFooterType(viewType)) {
      viewHolder = onCreateFooterViewHolder(parent, viewType);
    } else {
      viewHolder = onCreateItemViewHolder(parent, viewType);
    }
    return viewHolder;
  }
1191614
public final View createNewView(final Context context, final ViewGroup parent) {
        View view = mLayoutInflater.inflate(mLayoutResourceId, parent, false);
        SparseArray<Holder> holders = new SparseArray<Holder>();

        int size = mViewIdsAndMetaCache.size();
        for (int i = 0; i < size; i++) {
            int viewId = mViewIdsAndMetaCache.keyAt(i);
            Meta meta = mViewIdsAndMetaCache.get(viewId);
            View viewFromLayout = view.findViewById(viewId);
            if (viewFromLayout == null) {
                String message = String.format("Cannot find View, check the 'viewId' " +
                        "attribute on method %s.%s()",
                            mDataType.getName(), meta.method.getName());
                throw new IllegalStateException(message);
            }
            holders.append(viewId, new Holder(viewFromLayout, meta));
            mAnnotatedViewIds.add(viewId);
        }
        view.setTag(mLayoutResourceId, holders);

        return view;
    }
271576
private Renderer createRenderer(T content, ViewGroup parent) {
    int prototypeIndex = getPrototypeIndex(content);
    Renderer renderer = getPrototypeByIndex(prototypeIndex).copy();
    renderer.onCreate(content, layoutInflater, parent);
    return renderer;
  }
348900
public String getParentFolderType(String rootPath) {

        String parent = CmsResource.getParentFolder(rootPath);
        if (parent == null) {
            return null;
        }
        String type = m_folderTypes.get(parent);
        // type may be null
        return type;
    }
678111
def parent(self):
        
        parent_impl_node = self.adapter.get_node_parent(self.impl_node)
        return self.adapter.wrap_node(
            parent_impl_node, self.adapter.impl_document, self.adapter)
1260061
public JBasePanel getToolbarParent()
    {
        JBasePanel parent = (JBasePanel)this.getTargetScreen(JBasePanel.class);
        if (parent == null)
            if (m_parent instanceof JBasePanel)
                parent = (JBasePanel)m_parent;
        if (parent == null)
            return this;
        return parent.getToolbarParent();
    }
458917
private ThreadGroup getRootThreadGroup() {
	
	    if ( rootThreadGroup != null )
	        return rootThreadGroup;
	    
	    ThreadGroup tg = Thread.currentThread( ).getThreadGroup( );
	    ThreadGroup ptg;
	    while ( (ptg = tg.getParent( )) != null )
	        tg = ptg;
	    
	    return tg;
		
	}
169025
public void show(ViewGroup parent){
        if(mState == STATE_SHOWING || mState == STATE_DISMISSING)
            return;

        if(getParent() != parent) {
            if(getParent() != null)
                ((ViewGroup) getParent()).removeView(this);

            parent.addView(this);
        }

        show();
    }
1128588
public String getType()
    {
    IVarDef parent = getParent();
    return parent==null? type_ : parent.getType();
    }
630772
public function getParent() {

		$pageClass = Yii::$app->cms->getPageClass( $this->type );

		return $this->hasOne( $pageClass, [ 'id' => 'parentId' ] );
	}
236339
function() {
        var childViews = this._childViews;
        // get parentView before calling super because it'll be destroyed
        var nonVirtualParentView = get(this, 'parentView');
        var viewName = this.viewName;
        var childLen, i;

        if (!this._super()) { return; }

        // remove from non-virtual parent view if viewName was specified
        if (viewName && nonVirtualParentView) {
          nonVirtualParentView.set(viewName, null);
        }

        return this;
      }
257761
@NonNull
    @Override
    public RedirectAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent,
                                                         int viewType) {
        // create a new view
        final ViewGroup pollingView = (LinearLayout) LayoutInflater.from(parent.getContext())
                .inflate(R.layout.polling_list_item, parent, false);
        return new ViewHolder(pollingView);
    }
1288840
public Map<String, CmsContainerBean> getParentContainers() {

        if (m_parentContainers == null) {
            initPageData();
        }
        return Collections.unmodifiableMap(m_parentContainers);
    }
830264
public String getParentIdentifier() {

        // Translate null parent to proper identifier
        String parentIdentifier = getModel().getParentIdentifier();
        if (parentIdentifier == null)
            return RootConnectionGroup.IDENTIFIER;

        return parentIdentifier;
        
    }
605240
public JSConsumerKey getParent()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getParent");

    JSConsumerKey key = this;
    if(keyGroup != null)
      key = keyGroup;

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getParent", key);

    return key;
  }
667444
@Override
	public View getView(int position, View convertView, ViewGroup parent){
		
		VH holder;
		
		if(convertView == null){
			
			// Load the view from scratch
			convertView = inflater.inflate(viewResource, parent, false);
			
			// Load the ViewHolder
			holder = createHolder(convertView);
			
			// set holder to the tag
			convertView.setTag(holder);
			
		}else{
			
			// Pull the view holder from convertView's tag
			holder = (VH) convertView.getTag();
			
		}	


		// bind the data to the holder
		bindHolder(holder, position, getItem(position));
		
		return convertView;
	}