/developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
D | MidiPrinter.java | 50 public static String getName(int status) { in getName() argument 51 if (status >= 0xF0) { in getName() 52 int index = status & 0x0F; in getName() 54 } else if (status >= 0x80) { in getName() 55 int index = (status >> 4) & 0x07; in getName() 73 int status = statusByte & 0xFF; in formatMessage() local 74 sb.append(getName(status)).append("("); in formatMessage() 76 if ((status >= 0x80) && (status < 0xF0)) { // channel message in formatMessage() 77 int channel = status & 0x0F; in formatMessage()
|
D | MidiScope.java | 71 public void onDeviceStatusChanged(MidiDeviceStatus status) { in onDeviceStatusChanged() argument 73 if (status.isInputPortOpen(0)) { in onDeviceStatusChanged() 76 status.getDeviceInfo()); in onDeviceStatusChanged()
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/midiscope/ |
D | MidiPrinter.java | 50 public static String getName(int status) { in getName() argument 51 if (status >= 0xF0) { in getName() 52 int index = status & 0x0F; in getName() 54 } else if (status >= 0x80) { in getName() 55 int index = (status >> 4) & 0x07; in getName() 73 int status = statusByte & 0xFF; in formatMessage() local 74 sb.append(getName(status)).append("("); in formatMessage() 76 if ((status >= 0x80) && (status < 0xF0)) { // channel message in formatMessage() 77 int channel = status & 0x0F; in formatMessage()
|
D | MidiScope.java | 71 public void onDeviceStatusChanged(MidiDeviceStatus status) { in onDeviceStatusChanged() argument 73 if (status.isInputPortOpen(0)) { in onDeviceStatusChanged() 76 status.getDeviceInfo()); in onDeviceStatusChanged()
|
/developers/build/templates/unmanaged/.google/ |
D | packaging.yaml.ftl | 6 status: <#if sample.metadata.status?is_node>${sample.metadata.status}<#else>PUBLISHED</#if>
|
/developers/samples/android/media/MidiSynth/Application/src/main/java/com/example/android/midisynth/ |
D | MidiSynthDeviceService.java | 51 public void onDeviceStatusChanged(MidiDeviceStatus status) { in onDeviceStatusChanged() argument 52 if (status.isInputPortOpen(0) && !mSynthStarted) { in onDeviceStatusChanged() 55 } else if (!status.isInputPortOpen(0) && mSynthStarted) { in onDeviceStatusChanged()
|
/developers/build/templates/base-build/.google/ |
D | packaging.yaml.ftl | 6 status: <#if sample.metadata.status?is_node>${sample.metadata.status}<#else>PUBLISHED</#if>
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/midisynth/ |
D | MidiSynthDeviceService.java | 51 public void onDeviceStatusChanged(MidiDeviceStatus status) { in onDeviceStatusChanged() argument 52 if (status.isInputPortOpen(0) && !mSynthStarted) { in onDeviceStatusChanged() 55 } else if (!status.isInputPortOpen(0) && mSynthStarted) { in onDeviceStatusChanged()
|
/developers/build/templates/base/.google/ |
D | packaging.yaml.ftl | 6 status: <#if sample.metadata.status?is_node>${sample.metadata.status}<#else>PUBLISHED</#if>
|
/developers/samples/android/wearable/wear/Quiz/ |
D | template-params.xml | 41 …which allows the phone application to update the status of the question (i.e. did the user answer … 50 <status>DEPRECATED</status>
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 132 public void onDeviceStatusChanged(final MidiDeviceStatus status) { in onDeviceStatusChanged() argument 136 MidiDeviceInfo info = status.getDeviceInfo(); in onDeviceStatusChanged() 137 Log.i(MidiConstants.TAG, "MidiPortSelector.onDeviceStatusChanged status = " + status in onDeviceStatusChanged() 146 if (status.isInputPortOpen(i)) { // busy? in onDeviceStatusChanged()
|
/developers/samples/android/common/src/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 132 public void onDeviceStatusChanged(final MidiDeviceStatus status) { in onDeviceStatusChanged() argument 136 MidiDeviceInfo info = status.getDeviceInfo(); in onDeviceStatusChanged() 137 Log.i(MidiConstants.TAG, "MidiPortSelector.onDeviceStatusChanged status = " + status in onDeviceStatusChanged() 146 if (status.isInputPortOpen(i)) { // busy? in onDeviceStatusChanged()
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/ |
D | MidiPortSelector.java | 132 public void onDeviceStatusChanged(final MidiDeviceStatus status) { in onDeviceStatusChanged() argument 136 MidiDeviceInfo info = status.getDeviceInfo(); in onDeviceStatusChanged() 137 Log.i(MidiConstants.TAG, "MidiPortSelector.onDeviceStatusChanged status = " + status in onDeviceStatusChanged() 146 if (status.isInputPortOpen(i)) { // busy? in onDeviceStatusChanged()
|
/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
D | FitDistanceWatchFaceConfigActivity.java | 10 import com.google.android.gms.common.api.Status; 213 PendingResult<Status> pendingResult = Fitness.ConfigApi.disableFit(mGoogleApiClient); in onSwitchClicked() 215 pendingResult.setResultCallback(new ResultCallback<Status>() { in onSwitchClicked() 217 public void onResult(Status status) { in onSwitchClicked() 219 if (status.isSuccess()) { in onSwitchClicked()
|
/developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
D | FitDistanceWatchFaceConfigActivity.java | 10 import com.google.android.gms.common.api.Status; 213 PendingResult<Status> pendingResult = Fitness.ConfigApi.disableFit(mGoogleApiClient); in onSwitchClicked() 215 pendingResult.setResultCallback(new ResultCallback<Status>() { in onSwitchClicked() 217 public void onResult(Status status) { in onSwitchClicked() 219 if (status.isSuccess()) { in onSwitchClicked()
|
/developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
D | MainActivity.java | 80 * The status of questions will be updated on the phone when the user answers them. 314 * Sets the question's status to be the default "unanswered." This will be updated when the 323 ((TextView) questionStatusElem.findViewById(R.id.status)) in setNewQuestionStatus() 342 // Update the answered question's status. in onDataChanged() 348 // Update the deleted question's status by marking it as left blank. in onDataChanged() 361 * This involves changing the question's text color and changing the status text for it. 367 TextView questionStatus = (TextView) questionStatusElement.findViewById(R.id.status); in updateQuestionStatus() 386 TextView questionStatus = (TextView) questionStatusElement.findViewById(R.id.status); in markQuestionLeftBlank() 436 // Reset quiz status in phone layout. in resetQuiz() 440 TextView questionStatus = (TextView) questionStatusElement.findViewById(R.id.status); in resetQuiz() [all …]
|
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
D | MainActivity.java | 80 * The status of questions will be updated on the phone when the user answers them. 314 * Sets the question's status to be the default "unanswered." This will be updated when the 323 ((TextView) questionStatusElem.findViewById(R.id.status)) in setNewQuestionStatus() 342 // Update the answered question's status. in onDataChanged() 348 // Update the deleted question's status by marking it as left blank. in onDataChanged() 361 * This involves changing the question's text color and changing the status text for it. 367 TextView questionStatus = (TextView) questionStatusElement.findViewById(R.id.status); in updateQuestionStatus() 386 TextView questionStatus = (TextView) questionStatusElement.findViewById(R.id.status); in markQuestionLeftBlank() 436 // Reset quiz status in phone layout. in resetQuiz() 440 TextView questionStatus = (TextView) questionStatusElement.findViewById(R.id.status); in resetQuiz() [all …]
|
/developers/samples/android/ui/window/BasicImmersiveMode/ |
D | template-params.xml | 42 <status>PUBLISHED</status> 72 …AVIGATION and SYSTEM_UI_FLAG_FULLSCREEN flags, hides the navigation and status bars and lets your…
|
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
D | WearableMainActivity.java | 22 import com.google.android.gms.common.api.Status; 355 .setResultCallback(new ResultCallback<Status>() { in requestLocation() 358 public void onResult(Status status) { in requestLocation() 359 if (status.getStatus().isSuccess()) { in requestLocation() 366 + "status code: " in requestLocation() 367 + status.getStatusCode() + ", message: " + status in requestLocation() 425 + "status: " + dataItemResult.getStatus() in addLocationEntry()
|
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
D | WearableMainActivity.java | 22 import com.google.android.gms.common.api.Status; 355 .setResultCallback(new ResultCallback<Status>() { in requestLocation() 358 public void onResult(Status status) { in requestLocation() 359 if (status.getStatus().isSuccess()) { in requestLocation() 366 + "status code: " in requestLocation() 367 + status.getStatusCode() + ", message: " + status in requestLocation() 425 + "status: " + dataItemResult.getStatus() in addLocationEntry()
|
/developers/samples/android/ui/window/AdvancedImmersiveMode/ |
D | template-params.xml | 41 <status>PUBLISHED</status> 70 `SYSTEM_UI_FLAG_FULLSCREEN` flags, hides the navigation and status bars
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
D | AsyncTask.java | 242 private volatile Status mStatus = Status.PENDING; 275 * Indicates the current status of the task. Each status will be set only once 278 public enum Status { enum in AsyncTask 350 * Returns the current status of this task. 352 * @return The current status. 354 public final Status getStatus() { in getStatus() 554 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 592 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 598 if (mStatus != Status.PENDING) { in executeOnExecutor() 610 mStatus = Status.RUNNING; in executeOnExecutor() [all …]
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
D | AsyncTask.java | 242 private volatile Status mStatus = Status.PENDING; 275 * Indicates the current status of the task. Each status will be set only once 278 public enum Status { enum in AsyncTask 350 * Returns the current status of this task. 352 * @return The current status. 354 public final Status getStatus() { in getStatus() 554 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 592 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}. 598 if (mStatus != Status.PENDING) { in executeOnExecutor() 610 mStatus = Status.RUNNING; in executeOnExecutor() [all …]
|
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
D | StorageProviderFragment.java | 31 * Toggles the user's login status via a login menu option, and enables/disables the cloud storage 62 // Notify the system that the status of our roots has changed. This will trigger in onOptionsItemSelected() 73 * Dummy function to change the user's authorization status.
|
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
D | StorageProviderFragment.java | 31 * Toggles the user's login status via a login menu option, and enables/disables the cloud storage 62 // Notify the system that the status of our roots has changed. This will trigger in onOptionsItemSelected() 73 * Dummy function to change the user's authorization status.
|