Home
last modified time | relevance | path

Searched refs:context (Results 1 – 12 of 12) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DPaneLayout.java73 public PaneLayout(Context context, AttributeSet attrs) { in PaneLayout() argument
74 super(context, attrs); in PaneLayout()
79 setUpUI(context, attrs); in PaneLayout()
82 public PaneLayout(Context context, AttributeSet attrs, String paneXmlName) { in PaneLayout() argument
83 super(context, attrs); in PaneLayout()
87 setUpUI(context, attrs); in PaneLayout()
98 private void setUpUI(Context context, AttributeSet attrs) { in setUpUI() argument
101 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in setUpUI()
108 context.getTheme().obtainStyledAttributes(attrs, R.styleable.PaneLayout, 0, 0); in setUpUI()
183 public TargetPaneLayout(Context context, AttributeSet attrs) { in TargetPaneLayout() argument
[all …]
DLogPane.java47 public LogPane(Context context, AttributeSet attrs) { in LogPane() argument
48 super(context, attrs); in LogPane()
54 TextView titleText = new TextView(context); in LogPane()
57 context.getResources().getDimension(R.dimen.pane_title_text)); in LogPane()
63 mLogTextView = new TextView(context); in LogPane()
DTargetSubPane.java26 public TargetSubPane(Context context, AttributeSet attrs) { in TargetSubPane() argument
27 super(context, attrs); in TargetSubPane()
DFixedAspectSurfaceView.java45 public FixedAspectSurfaceView(Context context, AttributeSet attrs) { in FixedAspectSurfaceView() argument
46 super(context, attrs); in FixedAspectSurfaceView()
50 context.getTheme().obtainStyledAttributes(attrs, in FixedAspectSurfaceView()
DRequestControlPane.java86 public RequestControlPane(Context context, AttributeSet attrs) { in RequestControlPane() argument
87 super(context, attrs, null, null); in RequestControlPane()
90 setUpUI(context); in RequestControlPane()
143 private void setUpUI(Context context) { in setUpUI() argument
146 context.getResources().getString(R.string.request_pane_title), mPaneId); in setUpUI()
150 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in setUpUI()
165 mOutputAdapter = new CheckableListAdapter(context, R.layout.checkable_list_item, in setUpUI()
DCheckableListAdapter.java42 public CheckableListAdapter(Context context, int resource, List<CheckableItem> objects) { in CheckableListAdapter() argument
43 super(context, resource, objects); in CheckableListAdapter()
44 mContext = context; in CheckableListAdapter()
DTargetControlPane.java90 public TargetControlPane(Context context, AttributeSet attrs) { in TargetControlPane() argument
91 super(context, attrs, null, null); in TargetControlPane()
94 setUpUI(context); in TargetControlPane()
167 private void setUpUI(Context context) { in setUpUI() argument
171 context.getResources().getString(R.string.target_pane_title), mPaneId); in setUpUI()
175 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in setUpUI()
DControlPane.java75 public ControlPane(Context context, AttributeSet attrs, StatusListener listener, in ControlPane() argument
77 super(context, attrs); in ControlPane()
83 LayoutInflater inflater = (LayoutInflater)context.getSystemService in ControlPane()
DSurfaceViewSubPane.java57 public SurfaceViewSubPane(Context context, AttributeSet attrs) { in SurfaceViewSubPane() argument
58 super(context, attrs); in SurfaceViewSubPane()
61 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in SurfaceViewSubPane()
DTextureViewSubPane.java51 public TextureViewSubPane(Context context, AttributeSet attrs) { in TextureViewSubPane() argument
52 super(context, attrs); in TextureViewSubPane()
55 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in TextureViewSubPane()
DCameraControlPane.java157 public CameraControlPane(Context context, AttributeSet attrs) { in CameraControlPane() argument
158 super(context, attrs, null, null); in CameraControlPane()
161 setUpUI(context); in CameraControlPane()
363 private void setUpUI(Context context) { in setUpUI() argument
366 context.getResources().getString(R.string.camera_pane_title), in setUpUI()
371 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in setUpUI()
DImageReaderSubPane.java126 public ImageReaderSubPane(Context context, AttributeSet attrs) { in ImageReaderSubPane() argument
127 super(context, attrs); in ImageReaderSubPane()
130 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ImageReaderSubPane()