Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 9 of 9) sorted by relevance

/pdk/apps/TestingCamera/src/com/android/testingcamera/
DSnapshotDialogFragment.java125 TestingCamera parent = (TestingCamera) getActivity(); in onRequestPermissionsResult() local
127 parent.log("Storage write permission granted"); in onRequestPermissionsResult()
130 parent.log("Denied storage write permission; cannot save"); in onRequestPermissionsResult()
141 TestingCamera parent = (TestingCamera) getActivity(); in saveFile() local
142 parent.log("Saving image"); in saveFile()
144 if (parent.checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) in saveFile()
146 parent.log("Requesting storage write permission"); in saveFile()
147 parent.requestPermissions(new String[] {Manifest.permission.WRITE_EXTERNAL_STORAGE}, in saveFile()
148 parent.PERMISSIONS_REQUEST_SNAPSHOT); in saveFile()
152 File targetFile = parent.getOutputMediaFile(TestingCamera.MEDIA_TYPE_IMAGE); in saveFile()
[all …]
DTestingCamera.java496 public void onItemSelected(AdapterView<?> parent,
508 public void onNothingSelected(AdapterView<?> parent) {
528 public void onItemSelected(AdapterView<?> parent,
554 public void onNothingSelected(AdapterView<?> parent) {
562 public void onItemSelected(AdapterView<?> parent,
574 public void onNothingSelected(AdapterView<?> parent) {
625 public void onItemSelected(AdapterView<?> parent,
684 public void onItemSelected(AdapterView<?> parent,
705 public void onItemSelected(AdapterView<?> parent,
720 public void onNothingSelected(AdapterView<?> parent) {
[all …]
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DCheckableListAdapter.java58 public View getView(final int position, View convertView, ViewGroup parent) { in getView() argument
63 row = (CheckBox) inflater.inflate(R.layout.checkable_list_item, parent, false); in getView()
DSurfaceViewSubPane.java151 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
157 public void onNothingSelected(AdapterView<?> parent) {
DTextureViewSubPane.java133 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
139 public void onNothingSelected(AdapterView<?> parent) {
DTargetControlPane.java225 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
246 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
DImageReaderSubPane.java492 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
498 public void onNothingSelected(AdapterView<?> parent) {
505 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
510 public void onNothingSelected(AdapterView<?> parent) {
DCameraControlPane.java686 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
694 public void onNothingSelected(AdapterView<?> parent) {
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DTestingCamera2.java738 public void onItemSelected(AdapterView<?> parent, View view, int position,
751 public void onNothingSelected(AdapterView<?> parent) {