| /developers/samples/android/common/src/java/com/example/android/common/midi/ |
| D | MidiPortConnector.java | 46 if (mConnection != null) { in close() 50 mConnection = null; in close() 52 if (mSourceDevice != null) { in close() 54 mSourceDevice = null; in close() 56 if (mDestinationDevice != null) { in close() 58 mDestinationDevice = null; in close() 98 destinationDeviceInfo, destinationPortIndex, null, null); in connectToDevicePort() 119 if (destinationDevice == null) { in connectToDevicePort() 122 if (listener != null) { in connectToDevicePort() 123 listener.onPortsConnected(null); in connectToDevicePort() [all …]
|
| /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/ |
| D | MidiPortConnector.java | 46 if (mConnection != null) { in close() 50 mConnection = null; in close() 52 if (mSourceDevice != null) { in close() 54 mSourceDevice = null; in close() 56 if (mDestinationDevice != null) { in close() 58 mDestinationDevice = null; in close() 98 destinationDeviceInfo, destinationPortIndex, null, null); in connectToDevicePort() 119 if (destinationDevice == null) { in connectToDevicePort() 122 if (listener != null) { in connectToDevicePort() 123 listener.onPortsConnected(null); in connectToDevicePort() [all …]
|
| /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/ |
| D | MidiPortConnector.java | 46 if (mConnection != null) { in close() 50 mConnection = null; in close() 52 if (mSourceDevice != null) { in close() 54 mSourceDevice = null; in close() 56 if (mDestinationDevice != null) { in close() 58 mDestinationDevice = null; in close() 98 destinationDeviceInfo, destinationPortIndex, null, null); in connectToDevicePort() 119 if (destinationDevice == null) { in connectToDevicePort() 122 if (listener != null) { in connectToDevicePort() 123 listener.onPortsConnected(null); in connectToDevicePort() [all …]
|
| /developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
| D | FilledAutofillField.java | 67 this(datasetId, fieldTypeName, textValue, dateValue, null); in FilledAutofillField() 73 this(datasetId, fieldTypeName, textValue, null, null); in FilledAutofillField() 79 this(datasetId, fieldTypeName, null, dateValue, null); in FilledAutofillField() 85 this(datasetId, fieldTypeName, null, null, toggleValue); in FilledAutofillField() 90 this(datasetId, fieldTypeName, null, null, null); in FilledAutofillField() 119 return mTextValue == null && mDateValue == null && mToggleValue == null; in isNull() 125 if (o == null || getClass() != o.getClass()) return false; in equals() 129 if (mTextValue != null ? !mTextValue.equals(that.mTextValue) : that.mTextValue != null) in equals() 131 if (mDateValue != null ? !mDateValue.equals(that.mDateValue) : that.mDateValue != null) in equals() 133 … if (mToggleValue != null ? !mToggleValue.equals(that.mToggleValue) : that.mToggleValue != null) in equals() [all …]
|
| D | DatasetWithFilledAutofillFields.java | 33 if (filledAutofillFields == null) { in add() 42 if (o == null || getClass() != o.getClass()) return false; in equals() 46 if (autofillDataset != null ? !autofillDataset.equals(that.autofillDataset) : in equals() 47 that.autofillDataset != null) in equals() 49 return filledAutofillFields != null ? in equals() 51 that.filledAutofillFields == null; in equals() 56 int result = autofillDataset != null ? autofillDataset.hashCode() : 0; in hashCode() 57 result = 31 * result + (filledAutofillFields != null ? filledAutofillFields.hashCode() : 0); in hashCode()
|
| /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/ |
| D | FilledAutofillField.java | 67 this(datasetId, fieldTypeName, textValue, dateValue, null); in FilledAutofillField() 73 this(datasetId, fieldTypeName, textValue, null, null); in FilledAutofillField() 79 this(datasetId, fieldTypeName, null, dateValue, null); in FilledAutofillField() 85 this(datasetId, fieldTypeName, null, null, toggleValue); in FilledAutofillField() 90 this(datasetId, fieldTypeName, null, null, null); in FilledAutofillField() 119 return mTextValue == null && mDateValue == null && mToggleValue == null; in isNull() 125 if (o == null || getClass() != o.getClass()) return false; in equals() 129 if (mTextValue != null ? !mTextValue.equals(that.mTextValue) : that.mTextValue != null) in equals() 131 if (mDateValue != null ? !mDateValue.equals(that.mDateValue) : that.mDateValue != null) in equals() 133 … if (mToggleValue != null ? !mToggleValue.equals(that.mToggleValue) : that.mToggleValue != null) in equals() [all …]
|
| D | DatasetWithFilledAutofillFields.java | 33 if (filledAutofillFields == null) { in add() 42 if (o == null || getClass() != o.getClass()) return false; in equals() 46 if (autofillDataset != null ? !autofillDataset.equals(that.autofillDataset) : in equals() 47 that.autofillDataset != null) in equals() 49 return filledAutofillFields != null ? in equals() 51 that.filledAutofillFields == null; in equals() 56 int result = autofillDataset != null ? autofillDataset.hashCode() : 0; in hashCode() 57 result = 31 * result + (filledAutofillFields != null ? filledAutofillFields.hashCode() : 0); in hashCode()
|
| /developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/ |
| D | QueryBuilder.java | 31 private Float mWidth = null; 34 private Integer mWeight = null; 37 private Float mItalic = null; 40 private Boolean mBesteffort = null; 82 if (mWeight == null && mWidth == null && mItalic == null && mBesteffort == null) { in build() 87 if (mWeight != null) { in build() 90 if (mWidth != null) { in build() 93 if (mItalic != null) { in build() 96 if (mBesteffort != null) { in build()
|
| /developers/build/prebuilts/gradle/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/ |
| D | QueryBuilder.java | 31 private Float mWidth = null; 34 private Integer mWeight = null; 37 private Float mItalic = null; 40 private Boolean mBesteffort = null; 82 if (mWeight == null && mWidth == null && mItalic == null && mBesteffort == null) { in build() 87 if (mWeight != null) { in build() 90 if (mWidth != null) { in build() 93 if (mItalic != null) { in build() 96 if (mBesteffort != null) { in build()
|
| /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
| D | BluetoothChatService.java | 111 if (mConnectThread != null) { in start() 113 mConnectThread = null; in start() 117 if (mConnectedThread != null) { in start() 119 mConnectedThread = null; in start() 123 if (mSecureAcceptThread == null) { in start() 127 if (mInsecureAcceptThread == null) { in start() 146 if (mConnectThread != null) { in connect() 148 mConnectThread = null; in connect() 153 if (mConnectedThread != null) { in connect() 155 mConnectedThread = null; in connect() [all …]
|
| /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
| D | BluetoothChatService.java | 111 if (mConnectThread != null) { in start() 113 mConnectThread = null; in start() 117 if (mConnectedThread != null) { in start() 119 mConnectedThread = null; in start() 123 if (mSecureAcceptThread == null) { in start() 127 if (mInsecureAcceptThread == null) { in start() 146 if (mConnectThread != null) { in connect() 148 mConnectThread = null; in connect() 153 if (mConnectedThread != null) { in connect() 155 mConnectedThread = null; in connect() [all …]
|
| /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/ |
| D | TvContractUtils.java | 75 Cursor cursor = null; in updateChannels() 78 cursor = resolver.query(channelsUri, projection, null, null, null); in updateChannels() 79 while (cursor != null && cursor.moveToNext()) { in updateChannels() 85 if (cursor != null) { in updateChannels() 101 if (videoFormat != null) { in updateChannels() 108 if (rowId == null) { in updateChannels() 112 resolver.update(uri, values, null, null); in updateChannels() 127 resolver.delete(TvContract.buildChannelUri(rowId), null, null); in updateChannels() local 135 Cursor cursor = null; in getChannelCount() 137 cursor = resolver.query(uri, projection, null, null, null); in getChannelCount() [all …]
|
| /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
| D | Card.java | 61 private String mTag = null; 63 private String mTitle = null; 64 private String mDescription = null; 66 private View mCardView = null; 67 private View mOverlayView = null; 68 private TextView mTitleView = null; 69 private TextView mDescView = null; 70 private View mActionAreaView = null; 72 private Animator mOngoingAnimator = null; 96 private CardProgress mCardProgress = null; [all …]
|
| /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
| D | ImageWorker.java | 77 if (data == null) { in loadImage() 81 BitmapDrawable value = null; in loadImage() 83 if (mImageCache != null) { in loadImage() 87 if (value != null) { in loadImage() 90 if (listener != null) { in loadImage() 120 loadImage(data, imageView, null); in loadImage() 203 if (bitmapWorkerTask != null) { in cancelWork() 222 if (bitmapWorkerTask != null) { in cancelPotentialWork() 224 if (bitmapData == null || !bitmapData.equals(data)) { in cancelPotentialWork() 244 if (imageView != null) { in getBitmapWorkerTask() [all …]
|
| D | ImageFetcher.java | 101 mHttpDiskCache = null; in initHttpDiskCache() 113 if (mHttpDiskCache != null && !mHttpDiskCache.isClosed()) { in clearCacheInternal() 122 mHttpDiskCache = null; in clearCacheInternal() 133 if (mHttpDiskCache != null) { in flushCacheInternal() 150 if (mHttpDiskCache != null) { in closeCacheInternal() 154 mHttpDiskCache = null; in closeCacheInternal() 175 if (networkInfo == null || !networkInfo.isConnectedOrConnecting()) { in checkConnection() 194 FileDescriptor fileDescriptor = null; in processBitmap() 195 FileInputStream fileInputStream = null; in processBitmap() 205 if (mHttpDiskCache != null) { in processBitmap() [all …]
|
| /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
| D | ImageWorker.java | 77 if (data == null) { in loadImage() 81 BitmapDrawable value = null; in loadImage() 83 if (mImageCache != null) { in loadImage() 87 if (value != null) { in loadImage() 90 if (listener != null) { in loadImage() 120 loadImage(data, imageView, null); in loadImage() 203 if (bitmapWorkerTask != null) { in cancelWork() 222 if (bitmapWorkerTask != null) { in cancelPotentialWork() 224 if (bitmapData == null || !bitmapData.equals(data)) { in cancelPotentialWork() 244 if (imageView != null) { in getBitmapWorkerTask() [all …]
|
| D | ImageFetcher.java | 101 mHttpDiskCache = null; in initHttpDiskCache() 113 if (mHttpDiskCache != null && !mHttpDiskCache.isClosed()) { in clearCacheInternal() 122 mHttpDiskCache = null; in clearCacheInternal() 133 if (mHttpDiskCache != null) { in flushCacheInternal() 150 if (mHttpDiskCache != null) { in closeCacheInternal() 154 mHttpDiskCache = null; in closeCacheInternal() 175 if (networkInfo == null || !networkInfo.isConnectedOrConnecting()) { in checkConnection() 194 FileDescriptor fileDescriptor = null; in processBitmap() 195 FileInputStream fileInputStream = null; in processBitmap() 205 if (mHttpDiskCache != null) { in processBitmap() [all …]
|
| /developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
| D | RemotePlayer.java | 62 if (mCallback != null) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 77 if (mCallback != null) { 132 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { in play() local 144 if (mCallback != null) { in play() 163 if (!mClient.hasSession() || item.getRemoteItemId() == null) { in getStatus() 172 mClient.getStatus(item.getRemoteItemId(), null, new ItemActionCallback() { in getStatus() local 186 if (update && mCallback != null) { in getStatus() 194 if (update && mCallback != null) { in getStatus() 210 mClient.pause(null, new SessionActionCallback() { in pause() [all …]
|
| /developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
| D | RemotePlayer.java | 62 if (mCallback != null) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 77 if (mCallback != null) { 132 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { in play() local 144 if (mCallback != null) { in play() 163 if (!mClient.hasSession() || item.getRemoteItemId() == null) { in getStatus() 172 mClient.getStatus(item.getRemoteItemId(), null, new ItemActionCallback() { in getStatus() local 186 if (update && mCallback != null) { in getStatus() 194 if (update && mCallback != null) { in getStatus() 210 mClient.pause(null, new SessionActionCallback() { in pause() [all …]
|
| /developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
| D | NetworkFragment.java | 61 if (networkFragment == null) { in getInstance() 90 mCallback = null; in onDetach() 113 if (mDownloadTask != null) { in cancelDownload() 115 mDownloadTask = null; in cancelDownload() 146 if (mCallback != null) { in onPreExecute() 148 if (networkInfo == null || !networkInfo.isConnected() || in onPreExecute() 152 mCallback.updateFromDownload(null); in onPreExecute() 163 Result result = null; in doInBackground() 164 if (!isCancelled() && urls != null && urls.length > 0) { in doInBackground() 169 if (resultString != null) { in doInBackground() [all …]
|
| /developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
| D | NetworkFragment.java | 61 if (networkFragment == null) { in getInstance() 90 mCallback = null; in onDetach() 113 if (mDownloadTask != null) { in cancelDownload() 115 mDownloadTask = null; in cancelDownload() 146 if (mCallback != null) { in onPreExecute() 148 if (networkInfo == null || !networkInfo.isConnected() || in onPreExecute() 152 mCallback.updateFromDownload(null); in onPreExecute() 163 Result result = null; in doInBackground() 164 if (!isCancelled() && urls != null && urls.length > 0) { in doInBackground() 169 if (resultString != null) { in doInBackground() [all …]
|
| /developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
| D | SimpleWebServer.java | 84 if (null != mServerSocket) { in stop() 86 mServerSocket = null; in stop() 120 BufferedReader reader = null; in handle() 121 PrintStream output = null; in handle() 123 String route = null; in handle() 141 if (null == route) { in handle() 146 if (null == bytes) { in handle() 159 if (null != output) { in handle() 162 if (null != reader) { in handle() 186 InputStream input = null; in loadContent() [all …]
|
| /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
| D | SimpleWebServer.java | 84 if (null != mServerSocket) { in stop() 86 mServerSocket = null; in stop() 120 BufferedReader reader = null; in handle() 121 PrintStream output = null; in handle() 123 String route = null; in handle() 141 if (null == route) { in handle() 146 if (null == bytes) { in handle() 159 if (null != output) { in handle() 162 if (null != reader) { in handle() 186 InputStream input = null; in loadContent() [all …]
|
| /developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/ |
| D | SoundRecorder.java | 89 if (mRecordingAsyncTask != null) { in stopRecording() 95 if (mPlayingAsyncTask != null) { in stopPlaying() 111 if (mListener != null) { in startPlay() 163 if (soundRecorder != null) { in onPreExecute() 180 FileInputStream in = null; in doInBackground() 181 BufferedInputStream bis = null; in doInBackground() 195 if (in != null) { in doInBackground() 198 if (bis != null) { in doInBackground() 208 return null; in doInBackground() 224 if (soundRecorder != null) { in cleanup() [all …]
|
| /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
| D | CameraOps.java | 70 if (manager == null || errorDisplayer == null || in CameraOps() 71 readyListener == null || readyHandler == null) { in CameraOps() 91 if (mCameraDevice != null) { in openCamera() 119 if (mCameraDevice != null) { 122 mCameraDevice = null; 123 mCameraSession = null; 124 mSurfaces = null; 145 if (device == null) { in createCaptureRequest() 192 if (mCameraDevice == null || mSurfaces == null) return; in startCameraSession() 201 mCameraDevice = null; in startCameraSession() [all …]
|