/developers/samples/android/common/src/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 86 for (MidiDeviceInfo info : infos) { in MidiPortSelector() 87 onDeviceAdded(info); in MidiPortSelector() 98 private int getInfoPortCount(final MidiDeviceInfo info) { in getInfoPortCount() argument 100 ? info.getInputPortCount() : info.getOutputPortCount(); in getInfoPortCount() 105 public void onDeviceAdded(final MidiDeviceInfo info) { in onDeviceAdded() argument 106 int portCount = getInfoPortCount(info); in onDeviceAdded() 108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded() 116 public void onDeviceRemoved(final MidiDeviceInfo info) { in onDeviceRemoved() argument 117 int portCount = getInfoPortCount(info); in onDeviceRemoved() 119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved() [all …]
|
D | MidiTools.java | 32 for (MidiDeviceInfo info : midiManager.getDevices()) { in findDevice() 33 String deviceManufacturer = info.getProperties() in findDevice() 37 String deviceProduct = info.getProperties() in findDevice() 40 return info; in findDevice()
|
D | MidiInputPortSelector.java | 52 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local 53 if (info != null) { in onPortSelected() 54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected() 58 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected() 64 Log.e(MidiConstants.TAG, "could not open input port on " + info); in onPortSelected()
|
D | MidiOutputPortSelector.java | 54 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local 55 if (info != null) { in onPortSelected() 56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected() 61 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected() 67 "could not open output port for " + info); in onPortSelected()
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 86 for (MidiDeviceInfo info : infos) { in MidiPortSelector() 87 onDeviceAdded(info); in MidiPortSelector() 98 private int getInfoPortCount(final MidiDeviceInfo info) { in getInfoPortCount() argument 100 ? info.getInputPortCount() : info.getOutputPortCount(); in getInfoPortCount() 105 public void onDeviceAdded(final MidiDeviceInfo info) { in onDeviceAdded() argument 106 int portCount = getInfoPortCount(info); in onDeviceAdded() 108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded() 116 public void onDeviceRemoved(final MidiDeviceInfo info) { in onDeviceRemoved() argument 117 int portCount = getInfoPortCount(info); in onDeviceRemoved() 119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved() [all …]
|
D | MidiTools.java | 32 for (MidiDeviceInfo info : midiManager.getDevices()) { in findDevice() 33 String deviceManufacturer = info.getProperties() in findDevice() 37 String deviceProduct = info.getProperties() in findDevice() 40 return info; in findDevice()
|
D | MidiInputPortSelector.java | 52 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local 53 if (info != null) { in onPortSelected() 54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected() 58 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected() 64 Log.e(MidiConstants.TAG, "could not open input port on " + info); in onPortSelected()
|
D | MidiOutputPortSelector.java | 54 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local 55 if (info != null) { in onPortSelected() 56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected() 61 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected() 67 "could not open output port for " + info); in onPortSelected()
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 86 for (MidiDeviceInfo info : infos) { in MidiPortSelector() 87 onDeviceAdded(info); in MidiPortSelector() 98 private int getInfoPortCount(final MidiDeviceInfo info) { in getInfoPortCount() argument 100 ? info.getInputPortCount() : info.getOutputPortCount(); in getInfoPortCount() 105 public void onDeviceAdded(final MidiDeviceInfo info) { in onDeviceAdded() argument 106 int portCount = getInfoPortCount(info); in onDeviceAdded() 108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded() 116 public void onDeviceRemoved(final MidiDeviceInfo info) { in onDeviceRemoved() argument 117 int portCount = getInfoPortCount(info); in onDeviceRemoved() 119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved() [all …]
|
D | MidiTools.java | 32 for (MidiDeviceInfo info : midiManager.getDevices()) { in findDevice() 33 String deviceManufacturer = info.getProperties() in findDevice() 37 String deviceProduct = info.getProperties() in findDevice() 40 return info; in findDevice()
|
D | MidiInputPortSelector.java | 52 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local 53 if (info != null) { in onPortSelected() 54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected() 58 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected() 64 Log.e(MidiConstants.TAG, "could not open input port on " + info); in onPortSelected()
|
D | MidiOutputPortSelector.java | 54 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local 55 if (info != null) { in onPortSelected() 56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected() 61 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected() 67 "could not open output port for " + info); in onPortSelected()
|
/developers/samples/android/accessibility/CheckableLayout/Application/src/main/java/com/example/android/checkablelayout/ |
D | CheckableFrameLayout.java | 80 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument 81 super.onInitializeAccessibilityNodeInfo(info); in onInitializeAccessibilityNodeInfo() 82 info.setCheckable(true); in onInitializeAccessibilityNodeInfo() 83 info.setChecked(isChecked()); in onInitializeAccessibilityNodeInfo()
|
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
D | MediaCodecWrapper.java | 52 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() argument 283 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in peekSample() local 286 info.offset, in peekSample() 287 info.size, in peekSample() 288 info.presentationTimeUs, in peekSample() 289 info.flags); in peekSample() 332 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); in update() local 333 … while ((index = mDecoder.dequeueOutputBuffer(info, 0)) != MediaCodec.INFO_TRY_AGAIN_LATER) { in update() 359 mOutputBufferInfo[index] = info; in update()
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
D | MediaCodecWrapper.java | 52 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() argument 283 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in peekSample() local 286 info.offset, in peekSample() 287 info.size, in peekSample() 288 info.presentationTimeUs, in peekSample() 289 info.flags); in peekSample() 332 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); in update() local 333 … while ((index = mDecoder.dequeueOutputBuffer(info, 0)) != MediaCodec.INFO_TRY_AGAIN_LATER) { in update() 359 mOutputBufferInfo[index] = info; in update()
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
D | MediaCodecWrapper.java | 52 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() argument 283 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in peekSample() local 286 info.offset, in peekSample() 287 info.size, in peekSample() 288 info.presentationTimeUs, in peekSample() 289 info.flags); in peekSample() 332 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); in update() local 333 … while ((index = mDecoder.dequeueOutputBuffer(info, 0)) != MediaCodec.INFO_TRY_AGAIN_LATER) { in update() 359 mOutputBufferInfo[index] = info; in update()
|
/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
D | GLToolbox.java | 31 String info = GLES20.glGetShaderInfoLog(shader); in loadShader() local 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info); in loadShader() 60 String info = GLES20.glGetProgramInfoLog(program); in createProgram() local 62 throw new RuntimeException("Could not link program: " + info); in createProgram()
|
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/ |
D | GLToolbox.java | 31 String info = GLES20.glGetShaderInfoLog(shader); in loadShader() local 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info); in loadShader() 60 String info = GLES20.glGetProgramInfoLog(program); in createProgram() local 62 throw new RuntimeException("Could not link program: " + info); in createProgram()
|
/developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
D | MidiPrinter.java | 91 public static String formatDeviceInfo(MidiDeviceInfo info) { in formatDeviceInfo() argument 93 if (info != null) { in formatDeviceInfo() 94 Bundle properties = info.getProperties(); in formatDeviceInfo() 99 for (PortInfo port : info.getPorts()) { in formatDeviceInfo()
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
D | MidiPrinter.java | 91 public static String formatDeviceInfo(MidiDeviceInfo info) { in formatDeviceInfo() argument 93 if (info != null) { in formatDeviceInfo() 94 Bundle properties = info.getProperties(); in formatDeviceInfo() 99 for (PortInfo port : info.getPorts()) { in formatDeviceInfo()
|
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
D | CameraPreview.java | 74 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) { in calculatePreviewOrientation() argument 93 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in calculatePreviewOrientation() 94 result = (info.orientation + degrees) % 360; in calculatePreviewOrientation() 97 result = (info.orientation - degrees + 360) % 360; in calculatePreviewOrientation()
|
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
D | CameraPreview.java | 74 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) { in calculatePreviewOrientation() argument 93 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in calculatePreviewOrientation() 94 result = (info.orientation + degrees) % 360; in calculatePreviewOrientation() 97 result = (info.orientation - degrees + 360) % 360; in calculatePreviewOrientation()
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
D | CameraPreview.java | 74 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) { in calculatePreviewOrientation() argument 93 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in calculatePreviewOrientation() 94 result = (info.orientation + degrees) % 360; in calculatePreviewOrientation() 97 result = (info.orientation - degrees + 360) % 360; in calculatePreviewOrientation()
|
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
D | CameraPreview.java | 74 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) { in calculatePreviewOrientation() argument 93 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in calculatePreviewOrientation() 94 result = (info.orientation + degrees) % 360; in calculatePreviewOrientation() 97 result = (info.orientation - degrees + 360) % 360; in calculatePreviewOrientation()
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
D | DeviceDetailFragment.java | 57 private WifiP2pInfo info; field in DeviceDetailFragment 134 info.groupOwnerAddress.getHostAddress()); in onActivityResult() 140 public void onConnectionInfoAvailable(final WifiP2pInfo info) { in onConnectionInfoAvailable() argument 144 this.info = info; in onConnectionInfoAvailable() 150 + ((info.isGroupOwner == true) ? getResources().getString(R.string.yes) in onConnectionInfoAvailable() 155 view.setText("Group Owner IP - " + info.groupOwnerAddress.getHostAddress()); in onConnectionInfoAvailable() 160 if (info.groupFormed && info.isGroupOwner) { in onConnectionInfoAvailable() 163 } else if (info.groupFormed) { in onConnectionInfoAvailable()
|