Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java128 Log.w(TAG, "Failed talking with device policy service", e); in isAdminActive()
144 Log.w(TAG, "Failed talking with device policy service", e); in getActiveAdmins()
158 Log.w(TAG, "Failed talking with device policy service", e); in packageHasActiveAdmins()
175 Log.w(TAG, "Failed talking with device policy service", e); in removeActiveAdmin()
246 Log.w(TAG, "Failed talking with device policy service", e); in setPasswordQuality()
262 Log.w(TAG, "Failed talking with device policy service", e); in getPasswordQuality()
294 Log.w(TAG, "Failed talking with device policy service", e); in setPasswordMinimumLength()
310 Log.w(TAG, "Failed talking with device policy service", e); in getPasswordMinimumLength()
344 Log.w(TAG, "Failed talking with device policy service", e); in isActivePasswordSufficient()
363 Log.w(TAG, "Failed talking with device policy service", e); in getCurrentFailedPasswordAttempts()
[all …]
/frameworks/base/services/java/com/android/server/
DWindowManagerService.java811 WindowState w = localmWindows.get(i); in addWindowToListInOrderLocked() local
812 if (w.mBaseLayer > myLayer) { in addWindowToListInOrderLocked()
852 WindowState w = token.windows.get(i); in addWindowToListInOrderLocked() local
853 final int wSublayer = w.mSubLayer; in addWindowToListInOrderLocked()
856 windowWithLargestSublayer = w; in addWindowToListInOrderLocked()
866 wSublayer >= 0 ? attached : w, win); in addWindowToListInOrderLocked()
876 placeWindowBefore(w, win); in addWindowToListInOrderLocked()
901 static boolean canBeImeTarget(WindowState w) { in canBeImeTarget() argument
902 final int fl = w.mAttrs.flags in canBeImeTarget()
905 return w.isVisibleOrAdding(); in canBeImeTarget()
[all …]
/frameworks/base/media/libstagefright/codecs/aacenc/src/
Dblock_switch.c114 Word32 i, w; in BlockSwitching() local
140 for (w=0; w<BLOCK_SWITCH_WINDOWS; w++) { in BlockSwitching()
141 blockSwitchingControl->windowNrg[0][w] = blockSwitchingControl->windowNrg[1][w]; in BlockSwitching()
142 blockSwitchingControl->windowNrgF[0][w] = blockSwitchingControl->windowNrgF[1][w]; in BlockSwitching()
155 for (w=0; w<BLOCK_SWITCH_WINDOWS; w++) { in BlockSwitching()
161 windowNrgF_Shf = norm_l(blockSwitchingControl->windowNrgF[1][w]); in BlockSwitching()
165 windowNrgF_Tmp = blockSwitchingControl->windowNrgF[1][w] << windowNrgF_Shf; in BlockSwitching()
176 blockSwitchingControl->lastAttackIndex = w; in BlockSwitching()
178 enM1 = blockSwitchingControl->windowNrgF[1][w]; in BlockSwitching()
283 Word32 w, i, wOffset, tidx, ch; in CalcWindowEnergy() local
[all …]
Dpsy_main.c657 Word32 w; in advancePsychShort() local
663 for(w = 0; w < TRANS_FAC; w++) { in advancePsychShort()
676 psyData->sfbEnergy.sfbShort[w], in advancePsychShort()
677 &psyData->sfbEnergySum.sfbShort[w]); in advancePsychShort()
686 w, in advancePsychShort()
688 psyData->sfbEnergy.sfbShort[w]); in advancePsychShort()
695 w, in advancePsychShort()
705 w, in advancePsychShort()
709 data0 = psyData->sfbThreshold.sfbShort[w]; in advancePsychShort()
710 data1 = psyData->sfbEnergy.sfbShort[w]; in advancePsychShort()
[all …]
/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
80 data.writeInt32(w); in requestBuffer()
104 data.writeInt32(buffers.w); in registerBuffers()
133 uint32_t w, uint32_t h, int32_t format, int32_t orientation) in createOverlay() argument
137 data.writeInt32(w); in createOverlay()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java192 Log.w(TAG, "getTextAfterCursor on inactive InputConnection"); in executeMessage()
199 Log.w(TAG, "Got RemoteException calling setTextAfterCursor", e); in executeMessage()
208 Log.w(TAG, "getTextBeforeCursor on inactive InputConnection"); in executeMessage()
215 Log.w(TAG, "Got RemoteException calling setTextBeforeCursor", e); in executeMessage()
224 Log.w(TAG, "getSelectedText on inactive InputConnection"); in executeMessage()
231 Log.w(TAG, "Got RemoteException calling setSelectedText", e); in executeMessage()
240 Log.w(TAG, "getCursorCapsMode on inactive InputConnection"); in executeMessage()
247 Log.w(TAG, "Got RemoteException calling setCursorCapsMode", e); in executeMessage()
256 Log.w(TAG, "getExtractedText on inactive InputConnection"); in executeMessage()
263 Log.w(TAG, "Got RemoteException calling setExtractedText", e); in executeMessage()
[all …]
/frameworks/base/core/jni/
Dandroid_backup_BackupDataOutput.cpp44 dtor_native(JNIEnv* env, jobject clazz, int w) in dtor_native() argument
46 delete (BackupDataWriter*)w; in dtor_native()
50 writeEntityHeader_native(JNIEnv* env, jobject clazz, int w, jstring key, int dataSize) in writeEntityHeader_native() argument
53 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityHeader_native()
68 writeEntityData_native(JNIEnv* env, jobject clazz, int w, jbyteArray data, int size) in writeEntityData_native() argument
71 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityData_native()
91 setKeyPrefix_native(JNIEnv* env, jobject clazz, int w, jstring keyPrefixObj) in setKeyPrefix_native() argument
94 BackupDataWriter* writer = (BackupDataWriter*)w; in setKeyPrefix_native()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp103 const int w = bitmap.width(); in initTexture() local
107 GLint crop[4] = { 0, h, w, -h }; in initTexture()
108 texture->w = w; 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()
156 const int w = bitmap.width(); in initTexture() local
160 GLint crop[4] = { 0, h, w, -h }; in initTexture()
161 int tw = 1 << (31 - __builtin_clz(w)); in initTexture()
[all …]
/frameworks/base/opengl/libagl/
Dmipmap.cpp36 int w = base->width; in buildAPyramid() local
38 if ((w&h) == 1) in buildAPyramid()
41 w = (w>>1) ? : 1; in buildAPyramid()
46 const int bpr = w * pixelFormat.size; in buildAPyramid()
47 if (tex->reallocate(level, w, h, w, in buildAPyramid()
52 int stride = w; in buildAPyramid()
63 for (int x=0 ; x<w ; x++) { in buildAPyramid()
85 for (int x=0 ; x<w ; x++) { in buildAPyramid()
105 for (int x=0 ; x<w ; x++) { in buildAPyramid()
143 for (int x=0 ; x<w ; x++) { in buildAPyramid()
[all …]
Dvertex.cpp69 const int32_t rw = gglRecip28(v->clip.w); in perspective()
71 v->window.w = rw; in perspective()
90 const GLfixed w = v->clip.w; in clipFrustumPerspective() local
91 if (v->clip.x < -w) clip |= vertex_t::CLIP_L; in clipFrustumPerspective()
92 if (v->clip.x > w) clip |= vertex_t::CLIP_R; in clipFrustumPerspective()
93 if (v->clip.y < -w) clip |= vertex_t::CLIP_B; in clipFrustumPerspective()
94 if (v->clip.y > w) clip |= vertex_t::CLIP_T; in clipFrustumPerspective()
95 if (v->clip.z < -w) clip |= vertex_t::CLIP_N; in clipFrustumPerspective()
96 if (v->clip.z > w) clip |= vertex_t::CLIP_F; in clipFrustumPerspective()
148 v->window.w = v->clip.w << 12; in ogles_vertex_perspective2D()
/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()
274 src.crop.r = buffers.w; in Buffer()
277 src.img.w = buffers.hor_stride ?: buffers.w; in Buffer()
362 buffers.w, buffers.h, buffers.hor_stride, buffers.ver_stride); in BufferSource()
494 t.stride = src.img.w; in onDraw()
510 uint32_t w = mLayer.mTransformedBounds.width(); in initTempBuffer() local
512 if (buffers.w * h != buffers.h * w) { in initTempBuffer()
[all …]
DLayerBlur.cpp116 int w = mTransformedBounds.width(); in onDraw() local
121 w += X; in onDraw()
128 if (w<0 || h<0) { in onDraw()
162 int32_t s = w; in onDraw()
165 s = (w + 1) & ~1; in onDraw()
174 glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels); in onDraw()
179 bl.width = w; in onDraw()
187 glTexImage2D(GL_TEXTURE_2D, 0, mReadFormat, w, h, 0, in onDraw()
189 mWidthScale = 1.0f / w; in onDraw()
193 GLuint tw = 1 << (31 - clz(w)); in onDraw()
[all …]
DLayerDim.cpp47 void LayerDim::initDimmer(SurfaceFlinger* flinger, uint32_t w, uint32_t h) in initDimmer() argument
51 sWidth = w; in initDimmer()
81 GLshort w = sWidth; in onDraw() local
86 { w, h }, in onDraw()
87 { w, 0 } in onDraw()
/frameworks/base/opengl/tests/linetex/
Dlinetex.cpp46 EGLint w, h; in main() local
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
67 printf("w=%d, h=%d\n", w, h); in main()
85 { w/2, 0 }, in main()
86 { w/2, h } in main()
96 glViewport(0, 0, w, h); in main()
99 glOrthof(0, w, 0, h, 0, 1); in main()
/frameworks/base/libs/ui/
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()
107 rec.w = w; in alloc()
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
74 width = w; 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()
139 this->width = w; in initSize()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadset.java199 Log.w(TAG, "Proxy not attached to service"); in getState()
218 Log.w(TAG, "Proxy not attached to service"); in getCurrentHeadset()
245 Log.w(TAG, "Proxy not attached to service"); in connectHeadset()
263 Log.w(TAG, "Proxy not attached to service"); in isConnected()
282 Log.w(TAG, "Proxy not attached to service"); in disconnectHeadset()
301 Log.w(TAG, "Proxy not attached to service"); in startVoiceRecognition()
319 Log.w(TAG, "Proxy not attached to service"); in stopVoiceRecognition()
350 Log.w(TAG, "Proxy not attached to service"); in setPriority()
368 Log.w(TAG, "Proxy not attached to service"); in getPriority()
393 Log.w(TAG, "Proxy not attached to service"); in getBatteryUsageHint()
[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()
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_huffman_decoding.cpp130 int32 w; in pvmp3_huffman_quad_decoding() local
146 w = (y >> 2) & 1; in pvmp3_huffman_quad_decoding()
147 if (w) in pvmp3_huffman_quad_decoding()
151 w = -w; in pvmp3_huffman_quad_decoding()
175 w = 0; in pvmp3_huffman_quad_decoding()
181 *(is + 1) = w; in pvmp3_huffman_quad_decoding()
/frameworks/base/core/java/android/os/
DVibrator.java48 Log.w(TAG, "Failed to vibrate; no vibrator service."); in vibrate()
54 Log.w(TAG, "Failed to vibrate.", e); in vibrate()
74 Log.w(TAG, "Failed to vibrate; no vibrator service."); in vibrate()
84 Log.w(TAG, "Failed to vibrate.", e); in vibrate()
102 Log.w(TAG, "Failed to cancel vibration.", e); in cancel()
/frameworks/base/core/java/android/widget/
DAnalogClock.java154 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
155 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
175 int w = dial.getIntrinsicWidth(); in onDraw() local
180 if (availableWidth < w || availableHeight < h) { in onDraw()
182 float scale = Math.min((float) availableWidth / (float) w, in onDraw()
189 dial.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
197 w = hourHand.getIntrinsicWidth(); in onDraw()
199 hourHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
209 w = minuteHand.getIntrinsicWidth(); in onDraw()
211 minuteHand.setBounds(x - (w / 2), y - (h / 2), x + (w / 2), y + (h / 2)); in onDraw()
/frameworks/base/libs/rs/
DrsAllocation.cpp255 uint32_t w, uint32_t h, const void *data, uint32_t sizeBytes) in subData() argument
258 uint32_t lineSize = eSize * w; in subData()
281 uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) in subData() argument
365 uint32_t w = out.getDimX(); in mip565() local
373 for (uint32_t x=0; x < w; x++) { in mip565()
384 uint32_t w = out.getDimX(); in mip8888() local
392 for (uint32_t x=0; x < w; x++) { in mip8888()
403 uint32_t w = out.getDimX(); in mip8() local
411 for (uint32_t x=0; x < w; x++) { in mip8()
524 RsAllocation rsi_AllocationCreateFromBitmap(Context *rsc, uint32_t w, uint32_t h, RsElement _dst, R… in rsi_AllocationCreateFromBitmap() argument
[all …]
/frameworks/base/opengl/tests/fillrate/
Dfillrate.cpp45 EGLint w, h; in main() local
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
66 printf("w=%d, h=%d\n", w, h); in main()
96 { w, h }, in main()
97 { w, 0 } in main()
109 glViewport(0, 0, w, h); in main()
112 glOrthof(0, w, 0, h, 0, 1); in main()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DExceptionTextView.java53 protected void makeNewLayout(int w, int hintWidth, in makeNewLayout() argument
57 if (w < 0) { in makeNewLayout()
59 w = 100; in makeNewLayout()
62 super.makeNewLayout(w, hintWidth, boring, hintMetrics, ellipsizedWidth, in makeNewLayout()
/frameworks/base/services/surfaceflinger/tests/screencap/
Dscreencap.cpp43 uint32_t w, h; in main() local
45 status_t err = composer->captureScreen(0, &heap, &w, &h, &f, 0, 0); in main()
52 w, h, heap->getBase()); in main()
57 b.setConfig(SkBitmap::kARGB_8888_Config, w, h); in main()

12345678910>>...20