Add header view.

@param view
@param index
@param lp
334330
public void addHeaderView(View view, int index, ViewGroup.LayoutParams lp) {
        mHeader.addView(view, index, lp);
    }
261594
public void addBodyView(View view, int index, ViewGroup.LayoutParams lp) {
        mBody.addView(view, index, lp);
    }
533215
def add_view(self, view):
        

        self.add_child(view)
        self.views.append(view)
1048402
@NonNull protected View createLoadingView(View view) {
    return view.findViewById(R.id.loadingView);
  }
305576
void changeDragViewViewAlpha() {
    if (enableHorizontalAlphaEffect) {
      float alpha = 1 - getHorizontalDragOffset();
      if (alpha == 0) {
        alpha = 1;
      }
      ViewHelper.setAlpha(dragView, alpha);
    }
  }
955569
public function addView(string $view, array $data): void
    {
        $num = count($this->views) + 1;
        $key = '#' . $num . ' ' . $view;

        $this->views[$key] = $this->getDataFormatter()->formatVar($data);
    }
913240
protected void updateView() {

        if (CmsLogFileApp.LOG_FOLDER.isEmpty()) {
            return;
        }

        try {
            m_logView.setFilePath((String)m_logfile.getValue());
            m_logView.setWindowSize(getSize());
            m_logView.setFileEncoding(getChar());
            String content = "<pre style='line-height:1.1;'>";
            content += m_logView.readFilePortion();
            content += "</pre>";
            m_fileContent.setValue(content);
            m_panelComp.setScrollTop(100000000);
        } catch (CmsRfsException e) {
            LOG.error(e.getLocalizedMessage(), e);
        }

    }
1190893
public void setElementView(String elementView) {

        m_elementView = elementView;
        if (LOG.isDebugEnabled()) {
            LOG.debug("Setting element view to " + elementView);

        }
    }
744148
public void setView(int which , boolean fixed , Se3_F64 worldToView ) {
		views[which].known = fixed;
		views[which].worldToView.set(worldToView);
	}
1130915
public void setHelpView(JBaseHtmlEditor helpEditor)
    {
    	if (m_helpEditor != null)
    		m_helpEditor.setCallingApplet(null);
    	m_helpEditor = helpEditor;
    	if (m_helpEditor != null)
    		m_helpEditor.setCallingApplet(this);
    }
782085
@Override
    public void addHeader(String hdr, String value) {
        this.response.addHeader(hdr, value);
    }
25242
@Override
    public void addContentView(View view, LayoutParams params) {
        getSherlock().addContentView(view, params);
    }
653045
private static void enableView(final View view, final boolean enable) {
    view.setEnabled(enable);
    view.setAlpha(enable ? 1f : 0.1f);
  }
958956
private void addViews(MpxjTreeNode parentNode, ProjectFile file)
   {
      for (View view : file.getViews())
      {
         final View v = view;
         MpxjTreeNode childNode = new MpxjTreeNode(view)
         {
            @Override public String toString()
            {
               return v.getName();
            }
         };
         parentNode.add(childNode);
      }
   }
294920
public void drawLeft(View view, Canvas c) {
        int left = view.getLeft() - mWidth;
        int top = view.getTop() - mHeight;
        int right = left + mWidth;
        int bottom = view.getBottom() + mHeight;
        mDivider.setBounds(left, top, right, bottom);
        mDivider.draw(c);
    }
1305202
public void setHeader(Layout headerLayout) {
        if (getCompositionRoot() != null && this.headerLayout != null) {
            getCompositionRoot().removeComponent(this.headerLayout);
        }
        this.headerLayout = headerLayout;
        if (headerLayout != null) {
            headerLayout.addStyleName(ValoTheme.MENU_TITLE);
            if (getCompositionRoot() != null) {
                if (this.logo != null) {
                    getCompositionRoot().addComponent(headerLayout, 1);
                } else {
                    getCompositionRoot().addComponentAsFirst(headerLayout);
                }
            }
        }
    }
212423
private int addView( DMatrixRMaj P , Point2D_F64 a , int index ) {

		final double sx = stats.stdX, sy = stats.stdY;
//		final double cx = stats.meanX, cy = stats.meanY;


		// Easier to read the code when P is broken up this way
		double r11 = P.data[0], r12 = P.data[1], r13 = P.data[2],  r14=P.data[3];
		double r21 = P.data[4], r22 = P.data[5], r23 = P.data[6],  r24=P.data[7];
		double r31 = P.data[8], r32 = P.data[9], r33 = P.data[10], r34=P.data[11];

		// These rows are derived by applying the scaling matrix to pixels and camera matrix
		// px = (a.x/sx - cx/sx)
		// A[0,0] = a.x*r31 - r11            (before normalization)
		// A[0,0] = px*r31 - (r11-cx*r31)/sx (after normalization)

		// first row
		A.data[index++] = (a.x*r31-r11)/sx;
		A.data[index++] = (a.x*r32-r12)/sx;
		A.data[index++] = (a.x*r33-r13)/sx;
		A.data[index++] = (a.x*r34-r14)/sx;

		// second row
		A.data[index++] = (a.y*r31-r21)/sy;
		A.data[index++] = (a.y*r32-r22)/sy;
		A.data[index++] = (a.y*r33-r23)/sy;
		A.data[index++] = (a.y*r34-r24)/sy;

		return index;
	}