Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/frameworks/base/telephony/java/com/android/internal/telephony/
DBaseCommands.java106 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
107 Registrant r = new Registrant (h, what, obj); in registerForRadioStateChanged()
115 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() argument
117 mRadioStateChangedRegistrants.remove(h); in unregisterForRadioStateChanged()
121 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
122 Registrant r = new Registrant (h, what, obj); in registerForOn()
132 public void unregisterForOn(Handler h) { in unregisterForOn() argument
134 mOnRegistrants.remove(h); in unregisterForOn()
139 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
140 Registrant r = new Registrant (h, what, obj); in registerForAvailable()
[all …]
DCommandsInterface.java165 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument
166 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged() argument
174 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument
175 void unregisterForOn(Handler h); in unregisterForOn() argument
183 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument
184 void unregisterForAvailable(Handler h); in unregisterForAvailable() argument
192 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument
193 void unregisterForNotAvailable(Handler h); in unregisterForNotAvailable() argument
201 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument
202 void unregisterForOffOrNotAvailable(Handler h); in unregisterForOffOrNotAvailable() argument
[all …]
DPhoneBase.java300 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument
301 checkCorrectThread(h); in registerForPreciseCallStateChanged()
303 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
307 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged() argument
308 mPreciseCallStateRegistrants.remove(h); in unregisterForPreciseCallStateChanged()
321 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument
322 checkCorrectThread(h); in registerForUnknownConnection()
324 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
328 public void unregisterForUnknownConnection(Handler h) { in unregisterForUnknownConnection() argument
329 mUnknownConnectionRegistrants.remove(h); in unregisterForUnknownConnection()
[all …]
DPhoneProxy.java218 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument
219 mActivePhone.registerForUnknownConnection(h, what, obj); in registerForUnknownConnection()
222 public void unregisterForUnknownConnection(Handler h) { in unregisterForUnknownConnection() argument
223 mActivePhone.unregisterForUnknownConnection(h); in unregisterForUnknownConnection()
226 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument
227 mActivePhone.registerForPreciseCallStateChanged(h, what, obj); in registerForPreciseCallStateChanged()
230 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged() argument
231 mActivePhone.unregisterForPreciseCallStateChanged(h); in unregisterForPreciseCallStateChanged()
234 public void registerForNewRingingConnection(Handler h, int what, Object obj) { in registerForNewRingingConnection() argument
235 mActivePhone.registerForNewRingingConnection(h, what, obj); in registerForNewRingingConnection()
[all …]
DPhone.java331 void registerForUnknownConnection(Handler h, int what, Object obj); in registerForUnknownConnection() argument
336 void unregisterForUnknownConnection(Handler h); in unregisterForUnknownConnection() argument
347 void registerForPreciseCallStateChanged(Handler h, int what, Object obj); in registerForPreciseCallStateChanged() argument
353 void unregisterForPreciseCallStateChanged(Handler h); in unregisterForPreciseCallStateChanged() argument
368 void registerForNewRingingConnection(Handler h, int what, Object obj); in registerForNewRingingConnection() argument
375 void unregisterForNewRingingConnection(Handler h); in unregisterForNewRingingConnection() argument
385 void registerForIncomingRing(Handler h, int what, Object obj); in registerForIncomingRing() argument
392 void unregisterForIncomingRing(Handler h); in unregisterForIncomingRing() argument
403 void registerForRingbackTone(Handler h, int what, Object obj); in registerForRingbackTone() argument
409 void unregisterForRingbackTone(Handler h); in unregisterForRingbackTone() argument
[all …]
DCallManager.java1031 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument
1032 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect()
1039 public void unregisterForDisconnect(Handler h){ in unregisterForDisconnect() argument
1040 mDisconnectRegistrants.remove(h); in unregisterForDisconnect()
1052 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument
1053 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
1060 public void unregisterForPreciseCallStateChanged(Handler h){ in unregisterForPreciseCallStateChanged() argument
1061 mPreciseCallStateRegistrants.remove(h); in unregisterForPreciseCallStateChanged()
1068 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument
1069 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dpred_lt4_1_opt.s61 LDR r3, [r2], #4 @h[0], h[1]
66 SMULBB r10, r4, r3 @x[0] * h[0]
67 SMULBB r11, r6, r3 @x[1] * h[0]
68 SMULBB r12, r9, r3 @x[2] * h[0]
71 SMLABT r10, r6, r3, r10 @x[1] * h[1]
72 SMLABT r11, r9, r3, r11 @x[2] * h[1]
73 SMLABT r12, r4, r3, r12 @x[3] * h[1]
75 LDR r3, [r2], #4 @h[2], h[3]
77 SMLABB r10, r9, r3, r10 @x[2] * h[2]
78 SMLABB r11, r4, r3, r11 @x[3] * h[2]
[all …]
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_huffman_parsing.cpp139 struct huffcodetab *h; in pvmp3_huffman_parsing() local
185 h = &(pVars->ht[grInfo->table_select[0]]); in pvmp3_huffman_parsing()
186 if (h->linbits) in pvmp3_huffman_parsing()
197 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing()
200 h = &(pVars->ht[grInfo->table_select[1]]); in pvmp3_huffman_parsing()
201 if (h->linbits) in pvmp3_huffman_parsing()
212 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing()
215 h = &(pVars->ht[grInfo->table_select[2]]); in pvmp3_huffman_parsing()
216 if (h->linbits) in pvmp3_huffman_parsing()
227 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing()
[all …]
Dpvmp3_huffman_decoding.cpp122 void pvmp3_huffman_quad_decoding(struct huffcodetab *h, in pvmp3_huffman_quad_decoding() argument
132 y = (*h->pdec_huff_tab)(pMainData); in pvmp3_huffman_quad_decoding()
189 void pvmp3_huffman_pair_decoding(struct huffcodetab *h, /* pointer to huffman code record */ in pvmp3_huffman_pair_decoding() argument
197 uint16 cw = (*h->pdec_huff_tab)(pMainData); in pvmp3_huffman_pair_decoding()
244 void pvmp3_huffman_pair_decoding_linbits(struct huffcodetab *h, /* pointer to huffman code reco… in pvmp3_huffman_pair_decoding_linbits() argument
255 cw = (*h->pdec_huff_tab)(pMainData); in pvmp3_huffman_pair_decoding_linbits()
263 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); in pvmp3_huffman_pair_decoding_linbits()
281 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); in pvmp3_huffman_pair_decoding_linbits()
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
Dconvolve.cpp210 Word16 h[], /* (i) : impulse response */ in Convolve() argument
222 h = h + n; in Convolve()
224 s2 = ((Word32) * (x)) * *(h--); in Convolve()
225 s1 = ((Word32) * (x++)) * *(h); in Convolve()
229 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve()
230 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve()
231 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve()
232 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve()
235 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h), s2); in Convolve()
Dcbsearch.cpp185 Word16 h[], /* i : impulse response of weighted synthesis*/ in cbsearch() argument
216 h, in cbsearch()
231 h, in cbsearch()
246 h, in cbsearch()
261 h, in cbsearch()
289 h[i - T0], in cbsearch()
293 h[i] = in cbsearch()
295 h[i], in cbsearch()
306 h, in cbsearch()
345 temp = ((Word32)h[i - T0] * pit_sharpTmp) >> 15; in cbsearch()
[all …]
Dc1035pf.cpp403 Word16 h[], /* (i) : impulse response of weighted synthesis filter*/ in build_code() argument
497 p0 = h - *(p_codvec++); in build_code()
498 p1 = h - *(p_codvec++); in build_code()
499 p2 = h - *(p_codvec++); in build_code()
500 p3 = h - *(p_codvec++); in build_code()
501 p4 = h - *(p_codvec++); in build_code()
502 p5 = h - *(p_codvec++); in build_code()
503 p6 = h - *(p_codvec++); in build_code()
504 p7 = h - *(p_codvec++); in build_code()
505 p8 = h - *(p_codvec++); in build_code()
[all …]
/frameworks/base/opengl/libs/tools/
Dgenfiles17 ./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in
18 ./glapigen ../../include/GLES/glext.h > ../GLES_CM/glext_api.in
19 ./glapigen ../../include/GLES2/gl2.h > ../GLES2/gl2_api.in
20 ./glapigen ../../include/GLES2/gl2ext.h > ../GLES2/gl2ext_api.in
22 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in
23 ./glentrygen ../../include/GLES/glext.h > /tmp/glext_entries.in
24 ./glentrygen ../../include/GLES2/gl2.h > /tmp/gl2_entries.in
25 ./glentrygen ../../include/GLES2/gl2ext.h > /tmp/gl2ext_entries.in
/frameworks/base/libs/ui/
DGraphicBuffer.cpp52 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, in GraphicBuffer() argument
64 mInitCheck = initSize(w, h, reqFormat, reqUsage); in GraphicBuffer()
67 GraphicBuffer::GraphicBuffer(uint32_t w, uint32_t h, in GraphicBuffer() argument
75 height = h; in GraphicBuffer()
116 status_t GraphicBuffer::reallocate(uint32_t w, uint32_t h, PixelFormat f, in reallocate() argument
122 if (handle && w==width && h==height && f==format && reqUsage==usage) in reallocate()
130 return initSize(w, h, f, reqUsage); in reallocate()
133 status_t GraphicBuffer::initSize(uint32_t w, uint32_t h, PixelFormat format, in initSize() argument
137 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride); in initSize()
140 this->height = h; in initSize()
[all …]
DGraphicBufferAllocator.cpp68 rec.w, rec.s, rec.h, rec.format, rec.usage); in dump()
83 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, in alloc() argument
88 if (!w || !h) in alloc()
89 w = h = 1; in alloc()
95 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); in alloc()
97 err = sw_gralloc_handle_t::alloc(w, h, format, usage, handle, stride); in alloc()
101 w, h, format, usage, err, strerror(-err)); in alloc()
108 rec.h = h; in alloc()
112 rec.size = h * stride[0] * bytesPerPixel(format); in alloc()
/frameworks/base/include/private/ui/
Dsw_gralloc_handle.h58 static int validate(const native_handle* h) { in validate()
59 const sw_gralloc_handle_t* hnd = (const sw_gralloc_handle_t*)h; in validate()
60 if (!h || h->version != sizeof(native_handle) || in validate()
61 h->numInts != sNumInts || h->numFds != sNumFds || in validate()
69 static status_t alloc(uint32_t w, uint32_t h, int format,
75 int l, int t, int w, int h, void** vaddr);
/frameworks/base/core/java/android/os/
DRegistrant.java29 Registrant(Handler h, int what, Object obj) in Registrant() argument
31 refH = new WeakReference(h); in Registrant()
73 Handler h = getHandler(); in internalNotifyRegistrant() local
75 if (h == null) { in internalNotifyRegistrant()
84 h.sendMessage(msg); in internalNotifyRegistrant()
95 Handler h = getHandler(); in messageForRegistrant() local
97 if (h == null) { in messageForRegistrant()
102 Message msg = h.obtainMessage(); in messageForRegistrant()
DRegistrantList.java31 add(Handler h, int what, Object obj) in add() argument
33 add(new Registrant(h, what, obj)); in add()
37 addUnique(Handler h, int what, Object obj) in addUnique() argument
40 remove(h); in addUnique()
41 add(new Registrant(h, what, obj)); in addUnique()
110 remove(Handler h) in remove() argument
121 if (rh == null || rh == h) { in remove()
/frameworks/base/libs/surfaceflinger_client/
DISurface.cpp37 : w(0), h(0), hor_stride(0), ver_stride(0), format(0), in BufferHeap()
42 ISurface::BufferHeap::BufferHeap(uint32_t w, uint32_t h, in BufferHeap() argument
45 : w(w), h(h), hor_stride(hor_stride), ver_stride(ver_stride), in BufferHeap()
50 ISurface::BufferHeap::BufferHeap(uint32_t w, uint32_t h, in BufferHeap() argument
54 : w(w), h(h), hor_stride(hor_stride), ver_stride(ver_stride), in BufferHeap()
75 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) in requestBuffer() argument
81 data.writeInt32(h); in requestBuffer()
105 data.writeInt32(buffers.h); in registerBuffers()
133 uint32_t w, uint32_t h, int32_t format, int32_t orientation) in createOverlay() argument
138 data.writeInt32(h); in createOverlay()
[all …]
/frameworks/base/core/java/android/text/
DLayout.java906 float h = getPrimaryHorizontal(candidate); in getOffsetToLeftOf() local
908 if (h < horiz && h > besth) { in getOffsetToLeftOf()
910 besth = h; in getOffsetToLeftOf()
916 float h = getPrimaryHorizontal(candidate); in getOffsetToLeftOf() local
918 if (h < horiz && h > besth) { in getOffsetToLeftOf()
920 besth = h; in getOffsetToLeftOf()
930 float h = getPrimaryHorizontal(here); in getOffsetToLeftOf() local
932 if (h < horiz && h > besth) { in getOffsetToLeftOf()
934 besth = h; in getOffsetToLeftOf()
939 h = getPrimaryHorizontal(candidate); in getOffsetToLeftOf()
[all …]
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
Dpstfilt.cpp452 Word16 h[L_H]; in Post_Filter() local
493 Copy(Ap3, h, M + 1); in Post_Filter()
494 memset(&h[M + 1], 0, sizeof(Word16)*(L_H - M - 1)); in Post_Filter()
495 Syn_filt(Ap4, h, h, L_H, &h[M + 1], 0); in Post_Filter()
503 L_tmp2 = ((Word32) h[i]) * h[i]; in Post_Filter()
524 L_tmp2 = ((Word32) h[i]) * h[i + 1]; in Post_Filter()
/frameworks/base/services/surfaceflinger/
DLayerBuffer.cpp188 sp<OverlayRef> LayerBuffer::createOverlay(uint32_t w, uint32_t h, int32_t f, in createOverlay() argument
196 sp<OverlaySource> source = new OverlaySource(*this, &result, w, h, f, orientation); in createOverlay()
255 uint32_t w, uint32_t h, int32_t format, int32_t orientation) { in createOverlay() argument
259 result = owner->createOverlay(w, h, format, orientation); in createOverlay()
275 src.crop.b = buffers.h; in Buffer()
278 src.img.h = buffers.ver_stride ?: buffers.h; in Buffer()
362 buffers.w, buffers.h, buffers.hor_stride, buffers.ver_stride); in BufferSource()
495 t.vstride= src.img.h; in onDraw()
511 uint32_t h = mLayer.mTransformedBounds.height(); in initTempBuffer() local
512 if (buffers.w * h != buffers.h * w) { in initTempBuffer()
[all …]
DLayerBlur.cpp117 int h = mTransformedBounds.height(); in onDraw() local
119 GLint Y = fbHeight - (y + h); in onDraw()
125 h += Y; in onDraw()
128 if (w<0 || h<0) { in onDraw()
169 uint16_t* const pixels = (uint16_t*)malloc(s*h*pixelSize); in onDraw()
174 glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels); in onDraw()
180 bl.height = h; in onDraw()
187 glTexImage2D(GL_TEXTURE_2D, 0, mReadFormat, w, h, 0, in onDraw()
190 mHeightScale =-1.0f / h; in onDraw()
194 GLuint th = 1 << (31 - clz(h)); in onDraw()
[all …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp104 const int h = bitmap.height(); in initTexture() local
107 GLint crop[4] = { 0, h, w, -h }; in initTexture()
109 texture->h = h; in initTexture()
116 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, w, h, 0, GL_ALPHA, in initTexture()
120 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
124 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
157 const int h = bitmap.height(); in initTexture() local
160 GLint crop[4] = { 0, h, w, -h }; in initTexture()
162 int th = 1 << (31 - __builtin_clz(h)); in initTexture()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DProgramVertex.java136 public void setupOrthoWindow(int w, int h) { in setupOrthoWindow() argument
137 mProjection.loadOrtho(0,w, h,0, -1,1); in setupOrthoWindow()
141 public void setupOrthoNormalized(int w, int h) { in setupOrthoNormalized() argument
143 if(w > h) { in setupOrthoNormalized()
144 float aspect = ((float)w) / h; in setupOrthoNormalized()
147 float aspect = ((float)h) / w; in setupOrthoNormalized()
153 public void setupProjectionNormalized(int w, int h) { in setupProjectionNormalized() argument
158 if(w > h) { in setupProjectionNormalized()
159 float aspect = ((float)w) / h; in setupProjectionNormalized()
162 float aspect = ((float)h) / w; in setupProjectionNormalized()

12345678910>>...13