Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_dequantize_sample.cpp194 int32 cb = 0; in pvmp3_dequantize_sample() local
230 cb++; /* critical band counter */ in pvmp3_dequantize_sample()
239 cb = 3; in pvmp3_dequantize_sample()
243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; in pvmp3_dequantize_sample()
247 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; in pvmp3_dequantize_sample()
249 cb_width = cb; in pvmp3_dequantize_sample()
250 cb_begin = mp3_sfBandIndex[sfreq].s[cb] * 3; in pvmp3_dequantize_sample()
257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample()
265 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; in pvmp3_dequantize_sample()
266 cb_width = cb; in pvmp3_dequantize_sample()
[all …]
/frameworks/base/native/android/
Dstorage_manager.cpp52 , cb(_cb) in ObbCallback()
57 AStorageManager_obbCallbackFunc cb; member in ObbCallback
74 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); in registerObbCallback() local
77 mCallbacks.push(cb); in registerObbCallback()
79 return cb; in registerObbCallback()
111 ObbCallback* cb = mCallbacks.editItemAt(i); in fireCallback() local
112 if (cb->nonce == nonce) { in fireCallback()
113 target = cb; in fireCallback()
121 target->cb(filename, state, target->data); in fireCallback()
129 ObbCallback* cb = registerObbCallback(func, data); in mountObb() local
[all …]
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java114 Callback cb = new Callback(callback, cookie); in register() local
115 binder.linkToDeath(cb, 0); in register()
116 mCallbacks.put(binder, cb); in register()
143 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() local
144 if (cb != null) { in unregister()
145 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in unregister()
162 for (Callback cb : mCallbacks.values()) { in kill()
163 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in kill()
242 for (Callback cb : mCallbacks.values()) { in beginBroadcast()
243 active[i++] = cb; in beginBroadcast()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
Dh264bsdWriteMacroblock.s29 cb RN 4 label
95 LDR cb, [image, #0x10]
118 VLD1 {qRow0, qRow1}, [data]! ;cb rows 0,1,2,3
120 VLD1 {qRow2, qRow3}, [data]! ;cb rows 4,5,6,7
126 VST1 {dRow0}, [cb@64], cwidth
129 VST1 {dRow1}, [cb@64], cwidth
132 VST1 {dRow2}, [cb@64], cwidth
135 VST1 {dRow3}, [cb@64], cwidth
138 VST1 {dRow4}, [cb@64], cwidth
141 VST1 {dRow5}, [cb@64], cwidth
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_image.c87 u32 *lum, *cb, *cr; in h264bsdWriteMacroblock() local
102 cb = (u32*)image->cb; in h264bsdWriteMacroblock()
105 ASSERT(!((u32)cb&0x3)); in h264bsdWriteMacroblock()
129 *cb++ = tmp1; in h264bsdWriteMacroblock()
130 *cb++ = tmp2; in h264bsdWriteMacroblock()
131 cb += width-2; in h264bsdWriteMacroblock()
179 u8 *lum, *cb, *cr; in h264bsdWriteOutputBlocks() local
204 cb = (image->data + picSize * 256 + row * picWidth * 64 + col * 8); in h264bsdWriteOutputBlocks()
205 cr = (cb + picSize * 64); in h264bsdWriteOutputBlocks()
284 imageBlock = cb; in h264bsdWriteOutputBlocks()
Dh264bsd_util.c282 image->cb = (u8*)(image->data + picSize * 256 + tmp * 64 + col * 8); in h264bsdSetCurrImageMbPointers()
283 image->cr = (u8*)(image->cb + picSize * 64); in h264bsdSetCurrImageMbPointers()
Dh264bsd_image.h52 u8 *cb; member
/frameworks/base/media/java/android/media/
DIAudioService.aidl38 void setStreamSolo(int streamType, boolean state, IBinder cb); in setStreamSolo() argument
40 void setStreamMute(int streamType, boolean state, IBinder cb); in setStreamMute() argument
60 void setMode(int mode, IBinder cb); in setMode() argument
82 int requestAudioFocus(int mainStreamType, int durationHint, IBinder cb, IAudioFocusDispatcher l, in requestAudioFocus() argument
101 void startBluetoothSco(IBinder cb); in startBluetoothSco() argument
103 void stopBluetoothSco(IBinder cb); in stopBluetoothSco() argument
DAudioService.java649 public void setStreamSolo(int streamType, boolean state, IBinder cb) { in setStreamSolo() argument
653 mStreamStates[stream].mute(cb, state); in setStreamSolo()
658 public void setStreamMute(int streamType, boolean state, IBinder cb) { in setStreamMute() argument
660 mStreamStates[streamType].mute(cb, state); in setStreamMute()
802 SetModeDeathHandler(IBinder cb, int pid) { in SetModeDeathHandler() argument
803 mCb = cb; in SetModeDeathHandler()
843 public void setMode(int mode, IBinder cb) { in setMode() argument
857 newModeOwnerPid = setModeInt(mode, cb, Binder.getCallingPid()); in setMode()
869 int setModeInt(int mode, IBinder cb, int pid) { in setModeInt() argument
871 if (cb == null) { in setModeInt()
[all …]
DAudioSystem.java161 public static void setErrorCallback(ErrorCallback cb) in setErrorCallback() argument
164 mErrorCallback = cb; in setErrorCallback()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
Dh264bsdWriteMacroblock.S31 #define cb r4 macro
97 LDR cb, [image, #0x10]
128 VST1 {dRow0}, [cb,:64], cwidth
131 VST1 {dRow1}, [cb,:64], cwidth
134 VST1 {dRow2}, [cb,:64], cwidth
137 VST1 {dRow3}, [cb,:64], cwidth
140 VST1 {dRow4}, [cb,:64], cwidth
143 VST1 {dRow5}, [cb,:64], cwidth
145 VST1 {dRow6}, [cb,:64], cwidth
147 VST1 {dRow7}, [cb,:64]
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java252 final Callback cb = getCallback(); in setContentView() local
253 if (cb != null && !isDestroyed()) { in setContentView()
254 cb.onContentChanged(); in setContentView()
271 final Callback cb = getCallback(); in setContentView() local
272 if (cb != null && !isDestroyed()) { in setContentView()
273 cb.onContentChanged(); in setContentView()
283 final Callback cb = getCallback(); in addContentView() local
284 if (cb != null && !isDestroyed()) { in addContentView()
285 cb.onContentChanged(); in addContentView()
361 final Callback cb = getCallback(); in preparePanel() local
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DIFaceLockInterface.aidl25 void registerCallback(IFaceLockCallback cb); in registerCallback() argument
26 void unregisterCallback(IFaceLockCallback cb); in unregisterCallback() argument
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditLayout.java53 public ActionMode startActionModeForChild(View sourceView, ActionMode.Callback cb) { in startActionModeForChild() argument
54 final ExtractActionMode mode = new ExtractActionMode(cb); in startActionModeForChild()
100 public ExtractActionMode(Callback cb) { in ExtractActionMode() argument
103 mCallback = cb; in ExtractActionMode()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java793 public void setCallback(String packageName, ITextToSpeechCallback cb) {
799 mCallbacks.setCallback(packageName, cb);
820 public void setCallback(String packageName, ITextToSpeechCallback cb) { in setCallback() argument
823 if (cb != null) { in setCallback()
824 register(cb, packageName); in setCallback()
825 old = mAppToCallback.put(packageName, cb); in setCallback()
829 if (old != null && old != cb) { in setCallback()
836 ITextToSpeechCallback cb; in dispatchUtteranceCompleted() local
838 cb = mAppToCallback.get(packageName); in dispatchUtteranceCompleted()
840 if (cb == null) return; in dispatchUtteranceCompleted()
[all …]
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.cpp75 JSAMPROW cb[8]; in compress() local
79 planes[1] = cb; in compress()
103 cb[i/2] = uRows + offset; in compress()
148 JSAMPROW cb[16]; in compress() local
152 planes[1] = cb; in compress()
174 cb[i] = uRows + offset; in compress()
/frameworks/base/native/include/android/
Dstorage_manager.h104 AStorageManager_obbCallbackFunc cb, void* data);
110 AStorageManager_obbCallbackFunc cb, void* data);
/frameworks/base/media/libstagefright/codecs/aacdec/
Dgetics.cpp444 Int cb; in getics() local
525 cb = sect[i].sect_cb; in getics()
531 *pCodebookMap++ = cb; /* cannot use memset for Int */ in getics()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java54 public void setPriorityAndCallBack(int p, IBinderThreadPriorityService cb) { fail(); } in setPriorityAndCallBack() argument
55 public void callBack(IBinderThreadPriorityService cb) { fail(); } in callBack() argument
133 public void callBack(IBinderThreadPriorityService cb) { in testCallBackFromServiceWithPriority()
/frameworks/base/core/java/android/hardware/
DCamera.java516 public final void setPreviewCallback(PreviewCallback cb) { in setPreviewCallback() argument
517 mPreviewCallback = cb; in setPreviewCallback()
522 setHasPreviewCallback(cb != null, false); in setPreviewCallback()
534 public final void setOneShotPreviewCallback(PreviewCallback cb) { in setOneShotPreviewCallback() argument
535 mPreviewCallback = cb; in setOneShotPreviewCallback()
538 setHasPreviewCallback(cb != null, false); in setOneShotPreviewCallback()
563 public final void setPreviewCallbackWithBuffer(PreviewCallback cb) { in setPreviewCallbackWithBuffer() argument
564 mPreviewCallback = cb; in setPreviewCallbackWithBuffer()
567 setHasPreviewCallback(cb != null, true); in setPreviewCallbackWithBuffer()
693 PreviewCallback cb = mPreviewCallback; in handleMessage() local
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java216 int cb = getComposingSpanEnd(content); in deleteSurroundingText() local
217 if (cb < ca) { in deleteSurroundingText()
219 ca = cb; in deleteSurroundingText()
220 cb = tmp; in deleteSurroundingText()
222 if (ca != -1 && cb != -1) { in deleteSurroundingText()
224 if (cb > b) b = cb; in deleteSurroundingText()
/frameworks/base/graphics/java/android/graphics/
DColor.java133 final float cb = (V - b) / vtemp; in hue() local
136 H = cb - cg; in hue()
138 H = 2 + cr - cb; in hue()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DBaseAdapter.java205 Checkable cb = (Checkable) view; in fillView() local
212 resolvedRef, ViewAttribute.IS_CHECKED, cb.isChecked()); in fillView()
219 cb.setChecked((Boolean) value); in fillView()
/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java136 public void setCallback(Callback cb) { in setCallback() argument
137 mCallback = cb; in setCallback()
DMenuDialogHelper.java128 public void setPresenterCallback(MenuPresenter.Callback cb) { in setPresenterCallback() argument
129 mPresenterCallback = cb; in setPresenterCallback()

123