/packages/apps/Camera2/src/com/android/camera/ |
D | ButtonManager.java | 336 public void initializeButton(int buttonId, ButtonCallback cb) { in initializeButton() argument 337 initializeButton(buttonId, cb, null); in initializeButton() 348 public void initializeButton(int buttonId, ButtonCallback cb, ButtonCallback preCb) { in initializeButton() argument 352 initializeFlashButton(button, cb, preCb, R.array.camera_flashmode_icons); in initializeButton() 355 initializeTorchButton(button, cb, preCb, R.array.video_flashmode_icons); in initializeButton() 358 initializeHdrPlusFlashButton(button, cb, preCb, R.array.camera_flashmode_icons); in initializeButton() 361 initializeCameraButton(button, cb, preCb, R.array.camera_id_icons); in initializeButton() 364 initializeHdrPlusButton(button, cb, preCb, R.array.pref_camera_hdr_plus_icons); in initializeButton() 367 initializeHdrButton(button, cb, preCb, R.array.pref_camera_hdr_icons); in initializeButton() 370 initializeGridLinesButton(button, cb, preCb, R.array.grid_lines_icons); in initializeButton() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | NetworkQueryService.java | 111 public void startNetworkQuery(INetworkQueryServiceCallback cb, int phoneId) { 112 if (cb != null) { 115 mCallbacks.register(cb); 116 if (DBG) log("registering callback " + cb.getClass().toString()); 149 public void stopNetworkQuery(INetworkQueryServiceCallback cb) { 156 unregisterCallback(cb); 162 public void unregisterCallback(INetworkQueryServiceCallback cb) { 163 if (cb != null) { 165 if (DBG) log("unregistering callback " + cb.getClass().toString()); 166 mCallbacks.unregister(cb); [all …]
|
D | INetworkQueryService.aidl | 35 void startNetworkQuery(in INetworkQueryServiceCallback cb, in int phoneId); in startNetworkQuery() argument 43 void stopNetworkQuery(in INetworkQueryServiceCallback cb); in stopNetworkQuery() argument 52 void unregisterCallback(in INetworkQueryServiceCallback cb); in unregisterCallback() argument
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 120 IInstrumentClusterCallback cb; in setClusterActivityLaunchOptions() local 122 cb = mCallback; in setClusterActivityLaunchOptions() 124 if (cb == null) throw new CarNotConnectedException(); in setClusterActivityLaunchOptions() 126 cb.setClusterActivityLaunchOptions(category, activityOptions.toBundle()); in setClusterActivityLaunchOptions() 145 IInstrumentClusterCallback cb; in setClusterActivityState() local 147 cb = mCallback; in setClusterActivityState() 149 if (cb == null) throw new CarNotConnectedException(); in setClusterActivityState() 151 cb.setClusterActivityState(category, state); in setClusterActivityState() 173 IInstrumentClusterCallback cb; in dump() local 175 cb = mCallback; in dump() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | IntervalTimer.cpp | 33 bool IntervalTimer::set(int ms, TIMER_FUNC cb) in set() argument 37 if (cb == NULL) in set() 40 if (!create(cb)) in set() 43 if (cb != mCb) in set() 46 if (!create(cb)) in set() 82 bool IntervalTimer::create(TIMER_FUNC cb) in create() argument 93 se.sigev_notify_function = cb; in create() 95 mCb = cb; in create()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | MarginDrawable.java | 60 Rect cb = canvas.getClipBounds(); in draw() local 62 canvas.drawRect(0, 0, cb.right, s.top + 1, mPaint); in draw() 67 if (s.right < cb.right) { in draw() 68 canvas.drawRect(s.right - 1, s.top, cb.right, s.bottom, mPaint); in draw() 70 if (s.bottom < cb.bottom) { in draw() 71 canvas.drawRect(0, s.bottom - 1, cb.right, cb.bottom, mPaint); in draw()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSettingsAdapter.java | 113 holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_settings_item_check); in getChildView() 121 holder.cb.setOnCheckedChangeListener(new OnCheckedChangeListener() { in getChildView() 184 holder.cb.setChecked(child.mIsChecked); in getChildView() 233 holder.cb = in getGroupView() 250 holder.cb.setOnCheckedChangeListener(new OnCheckedChangeListener() { in getGroupView() 284 holder.cb.setChecked(groupItem.mIsChecked); in getGroupView() 301 public CheckBox cb; field in BluetoothMapSettingsAdapter.GroupHolder 308 public CheckBox cb; field in BluetoothMapSettingsAdapter.ChildHolder
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGetter.java | 180 Runnable cb = callback(mCurrentPosition, offset, 184 mHandler.postGetterCallback(cb); 216 Runnable cb = callback(mCurrentPosition, offset, 218 mHandler.postGetterCallback(cb); 267 public synchronized void setPosition(int position, ImageGetterCallback cb, 274 mCB = cb;
|
D | ViewImage.java | 401 public void run(final MenuHelper.MenuCallback cb) { in onCreateOptionsMenu() 407 cb.run(uri, image); in onCreateOptionsMenu() 494 ImageGetterCallback cb = new ImageGetterCallback() { in setImage() local 546 mGetter.setPosition(pos, cb, mAllImages, mHandler); in setImage() 784 ImageGetterCallback cb = new ImageGetterCallback() { in loadNextImage() local 873 mGetter.setPosition(pos, cb, mAllImages, mHandler); in loadNextImage()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 1616 MessageUpdateCallbackCounter cb = new MessageUpdateCallbackCounter(); in testCopyMessages1() local 1617 mFolder.copyMessages(mCopyMessages, mCopyToFolder, cb); in testCopyMessages1() 1619 assertEquals(0, cb.messageNotFoundCalled); in testCopyMessages1() 1620 assertEquals(2, cb.messageUidChangeCalled); in testCopyMessages1() 1632 MessageUpdateCallbackCounter cb = new MessageUpdateCallbackCounter(); in testCopyMessages2() local 1633 mFolder.copyMessages(mCopyMessages, mCopyToFolder, cb); in testCopyMessages2() 1635 assertEquals(0, cb.messageNotFoundCalled); in testCopyMessages2() 1636 assertEquals(2, cb.messageUidChangeCalled); in testCopyMessages2() 1716 MessageUpdateCallbackCounter cb = new MessageUpdateCallbackCounter(); in testCopyMessages6() local 1717 mFolder.copyMessages(mCopyMessages, mCopyToFolder, cb); in testCopyMessages6() [all …]
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceStub.java | 123 public void loadAttachment(final IEmailServiceCallback cb, final long accountId, in loadAttachment() argument 131 cb.loadAttachmentStatus(0, attachmentId, in loadAttachment() 140 cb.loadAttachmentStatus(messageId, attachmentId, in loadAttachment() 148 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, in loadAttachment() 154 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.IN_PROGRESS, 0); in loadAttachment() 182 cb.loadAttachmentStatus(messageId, attachmentId, in loadAttachment() 220 new MessageRetrievalListenerBridge(messageId, attachmentId, cb)); in loadAttachment() 233 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, 0); in loadAttachment() 243 cb.loadAttachmentStatus(0, attachmentId, EmailServiceStatus.CONNECTION_ERROR, 0); in loadAttachment()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 129 public synchronized void getPropConfigs(ArrayList<Integer> props, getPropConfigsCallback cb) { in getPropConfigs() argument 134 cb.onValues(StatusCode.INVALID_ARG, new ArrayList<>()); in getPropConfigs() 139 cb.onValues(StatusCode.OK, res); in getPropConfigs() 143 public synchronized void get(VehiclePropValue requestedPropValue, getCallback cb) { in get() argument 146 cb.onValues(StatusCode.INVALID_ARG, null); in get() 148 cb.onValues(StatusCode.OK, handler.onPropertyGet(requestedPropValue)); in get()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PanoramaMetadataSupport.java | 68 for (PanoramaSupportCallback cb : mCallbacksWaiting) { in clearCachedValues() 69 cb.panoramaInfoAvailable(mMediaObject, false, false); in clearCachedValues() 85 for (PanoramaSupportCallback cb : mCallbacksWaiting) { in onFutureDone() 86 cb.panoramaInfoAvailable(mMediaObject, mPanoramaMetadata.mUsePanoramaViewer, in onFutureDone()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraController.java | 318 final int cameraId, Handler handler, final CameraAgent.CameraOpenCallback cb) { in checkAndOpenCamera() argument 322 cameraManager.openCamera(handler, cameraId, cb); in checkAndOpenCamera() 327 cb.onCameraDisabled(cameraId); in checkAndOpenCamera() 334 CameraAgent.CameraPreviewDataCallback cb) { in setOneShotPreviewCallback() argument 335 mCameraProxy.setOneShotPreviewCallback(handler, cb); in setOneShotPreviewCallback()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | EmailServiceProxy.java | 117 public void loadAttachment(final IEmailServiceCallback cb, final long accountId, in loadAttachment() argument 124 mService.loadAttachment(cb, accountId, attachmentId, background); in loadAttachment() 128 if (cb != null) { in loadAttachment() 129 cb.loadAttachmentStatus(-1, attachmentId, in loadAttachment()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherStateTransitionAnimation.java | 132 PrivateTransitionCallbacks cb = new PrivateTransitionCallbacks(1f) { in startAnimationToAllApps() local 157 Workspace.State.NORMAL_HIDDEN, buttonView, toView, animated, PULLUP, cb); in startAnimationToAllApps() 382 PrivateTransitionCallbacks cb = new PrivateTransitionCallbacks(1f) { in startAnimationToWorkspaceFromAllApps() local 415 animated, type, onCompleteRunnable, cb); in startAnimationToWorkspaceFromAllApps() 425 PrivateTransitionCallbacks cb = in startAnimationToWorkspaceFromWidgets() local 445 animated, CIRCULAR_REVEAL, onCompleteRunnable, cb); in startAnimationToWorkspaceFromWidgets()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
D | Utility.java | 69 final CharBuffer cb = charset.decode(ByteBuffer.wrap(b)); in decode() local 70 return new String(cb.array(), 0, cb.length()); in decode()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSyncAdapter.java | 178 CheckBox cb = (CheckBox) view.findViewById(R.id.sync); in getView() local 179 cb.setChecked(selected); in getView() 272 CheckBox cb = (CheckBox) view.findViewById(R.id.sync); in onItemClick() local 273 cb.setChecked(row.synced); in onItemClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BaseModelUpdateTask.java | 83 Callbacks cb = mModel.getCallback(); in scheduleCallbackTask() 84 if (callbacks == cb && cb != null) { in scheduleCallbackTask()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | MaterialColorMapUtils.java | 58 final float cb = (V - b) / vtemp; in hue() local 61 H = cb - cg; in hue() 63 H = 2 + cr - cb; in hue()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MaterialColorMapUtils.java | 165 final float cb = (V - b) / vtemp; in hue() local 168 H = cb - cg; in hue() 170 H = 2 + cr - cb; in hue()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 2101 Callbacks cb = mCallbacks != null ? mCallbacks.get() : null; in run() 2102 if (callbacks == cb && cb != null) { in run() 2112 Callbacks cb = mCallbacks != null ? mCallbacks.get() : null; in run() 2113 if (callbacks == cb && cb != null) { in run() 2128 Callbacks cb = mCallbacks != null ? mCallbacks.get() : null; in run() 2129 if (callbacks == cb && cb != null) { in run() 2142 Callbacks cb = mCallbacks != null ? mCallbacks.get() : null; in run() 2143 if (callbacks == cb && cb != null) { in run()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | CarVendorExtensionManagerTest.java | 247 public synchronized void get(VehiclePropValue requestedPropValue, getCallback cb) { in get() argument 249 cb.onValues(StatusCode.INVALID_ARG, null); in get() 270 cb.onValues(StatusCode.OK, result); in get()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | SelectPhoneAccountDialogFragment.java | 204 CheckBox cb = in onCreateDialog() local 206 cb.setOnCheckedChangeListener(checkListener); in onCreateDialog() 207 cb.setChecked(mIsDefaultChecked); in onCreateDialog()
|
/packages/apps/Dialer/java/com/android/contacts/common/widget/ |
D | SelectPhoneAccountDialogFragment.java | 180 CheckBox cb = (CheckBox) checkboxLayout.findViewById(R.id.default_account_checkbox_view); in onCreateDialog() local 181 cb.setOnCheckedChangeListener(checkListener); in onCreateDialog() 182 cb.setChecked(mIsDefaultChecked); in onCreateDialog()
|