Home
last modified time | relevance | path

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

12345678910>>...43

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCapsModeUtilsTests.java41 final int w = TextUtils.CAP_MODE_WORDS; in allPathsForCaps() local
43 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore); in allPathsForCaps()
44 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore); in allPathsForCaps()
46 onePathForCaps(cs, expectedResult, c | w, sp, hasSpaceBefore); in allPathsForCaps()
48 onePathForCaps(cs, expectedResult, w, sp, hasSpaceBefore); in allPathsForCaps()
54 final int w = TextUtils.CAP_MODE_WORDS; in testGetCapsMode() local
64 allPathsForCaps("", c | w | s, sp, false); in testGetCapsMode()
67 allPathsForCaps("Word ", c | w, sp, false); in testGetCapsMode()
68 allPathsForCaps("Word. ", c | w | s, sp, false); in testGetCapsMode()
70 allPathsForCaps("Word.. ", c | w | s, sp, false); in testGetCapsMode()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.cpp23 float** db_SetupImageReferences_f(float *im,int w,int h) in db_SetupImageReferences_f() argument
31 img[i]=im+w*i; in db_SetupImageReferences_f()
36 unsigned char** db_SetupImageReferences_u(unsigned char *im,int w,int h) in db_SetupImageReferences_u() argument
46 img[i]=im+w*i; in db_SetupImageReferences_u()
50 float** db_AllocImage_f(int w,int h,int over_allocation) in db_AllocImage_f() argument
54 im=new float [w*h+over_allocation]; in db_AllocImage_f()
55 img=db_SetupImageReferences_f(im,w,h); in db_AllocImage_f()
60 unsigned char** db_AllocImage_u(int w,int h,int over_allocation) in db_AllocImage_u() argument
64 im=new unsigned char [w*h+over_allocation]; in db_AllocImage_u()
65 img=db_SetupImageReferences_u(im,w,h); in db_AllocImage_u()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppParams.java236 Log.w(TAG, "MAX_LIST_COUNT: Wrong length received: " + tagLength in ParseParams()
244 Log.w(TAG, "START_OFFSET: Wrong length received: " + tagLength + " expected: " in ParseParams()
252 Log.w(TAG, "FILTER_MESSAGE_TYPE: Wrong length received: " + tagLength in ParseParams()
262 Log.w(TAG, "FILTER_PERIOD_BEGIN: Wrong length received: " + tagLength + in ParseParams()
270 Log.w(TAG, "FILTER_PERIOD_END: Wrong length received: " + tagLength + in ParseParams()
276 Log.w(TAG, "FILTER_READ_STATUS: Wrong length received: " + tagLength + in ParseParams()
286 Log.w(TAG, "FILTER_RECIPIENT: Wrong length received: " + tagLength + in ParseParams()
294 Log.w(TAG, "FILTER_ORIGINATOR: Wrong length received: " + tagLength + in ParseParams()
300 Log.w(TAG, "FILTER_PRIORITY: Wrong length received: " + tagLength + in ParseParams()
308 Log.w(TAG, "ATTACHMENT: Wrong length received: " + tagLength + " expected: " in ParseParams()
[all …]
DBluetoothMapObexServer.java321 Log.w(TAG, "Wrong UUID length"); in onConnect()
326 Log.w(TAG, "Wrong UUID"); in onConnect()
567 Log.w(TAG,"pushMessage: folderElement == null - sending OBEX_HTTP_PRECON_FAILED"); in pushMessage()
591 if(D) Log.w(TAG, "mObserver or parsed message not available" ); in pushMessage()
600 if(D) Log.w(TAG, "Wrong message type recieved" ); in pushMessage()
607 if(D) Log.w(TAG, "Message handle not created" ); in pushMessage()
623 if(D) Log.w(TAG, "acquireUnstableContentProviderOrThrow FAILED"); in pushMessage()
675 Log.w(TAG, "Wrongly formatted message handle: " + msgHandle); in setMessageStatus()
678 Log.w(TAG, "Message type not found in handle string: " + msgHandle); in setMessageStatus()
685 if(D) Log.w(TAG,"setMessageStatusDeleted failed"); in setMessageStatus()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java138 float w = canvas.getWidth(); in onDraw() local
144 drawHorizontalPath(w, h, r, d); in onDraw()
147 drawVerticalDownPath(w, h, r, d); in onDraw()
149 drawVerticalPath(w, h, r, d); in onDraw()
168 private void drawHorizontalPath(float w, float h, float r, float d) { in drawHorizontalPath() argument
170 mPath.moveTo(w, 0); in drawHorizontalPath()
181 mPath.lineTo(w, h); in drawHorizontalPath()
183 mPath.lineTo(w, r + d + r); in drawHorizontalPath()
184 mPath.lineTo(w - d, r + d); in drawHorizontalPath()
185 mPath.lineTo(w, r); in drawHorizontalPath()
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java694 LogUtils.w(TAG, e, "Exception upgrading EmailProviderBody.db from <v5"); in upgradeBodyToVersion5()
705 LogUtils.w(TAG, e, "Exception upgrading EmailProviderBody.db from v5 to v6"); in upgradeBodyFromVersion5ToVersion6()
715 LogUtils.w(TAG, e, "Exception upgrading EmailProviderBody.db from v6 to v8"); in upgradeBodyFromVersion6ToVersion8()
752 final FileWriter w = new FileWriter(htmlFile); in upgradeBodyFromVersion100ToVersion101() local
754 w.write(htmlString); in upgradeBodyFromVersion100ToVersion101()
756 w.close(); in upgradeBodyFromVersion100ToVersion101()
767 final FileWriter w = new FileWriter(textFile); in upgradeBodyFromVersion100ToVersion101() local
769 w.write(textString); in upgradeBodyFromVersion100ToVersion101()
771 w.close(); in upgradeBodyFromVersion100ToVersion101()
784 LogUtils.w(TAG, e, "Exception upgrading EmailProviderBody.db from v100 to v101"); in upgradeBodyFromVersion100ToVersion101()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java198 Log.w(TAG, "cannot read header"); in loadIndex()
203 Log.w(TAG, "cannot read header magic"); in loadIndex()
208 Log.w(TAG, "version mismatch"); in loadIndex()
220 Log.w(TAG, "header checksum does not match"); in loadIndex()
226 Log.w(TAG, "invalid max entries"); in loadIndex()
230 Log.w(TAG, "invalid max bytes"); in loadIndex()
234 Log.w(TAG, "invalid active region"); in loadIndex()
238 Log.w(TAG, "invalid active entries"); in loadIndex()
242 Log.w(TAG, "invalid active bytes"); in loadIndex()
247 Log.w(TAG, "invalid index file length"); in loadIndex()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java149 Log.w(LOGTAG, "Failed to read EXIF orientation", e); in getMetadataOrientation()
156 Log.w(LOGTAG, "Failed to close InputStream", e); in getMetadataOrientation()
207 int w = bitmap.getWidth(); in orientBitmap() local
213 int tmp = w; in orientBitmap()
214 w = h; in orientBitmap()
219 matrix.setRotate(90, w / 2f, h / 2f); in orientBitmap()
222 matrix.setRotate(180, w / 2f, h / 2f); in orientBitmap()
225 matrix.setRotate(270, w / 2f, h / 2f); in orientBitmap()
234 matrix.setRotate(90, w / 2f, h / 2f); in orientBitmap()
238 matrix.setRotate(270, w / 2f, h / 2f); in orientBitmap()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DBitmapUtil.java47 public static Bitmap decodeByteArray(byte[] src, int w, int h) { in decodeByteArray() argument
56 opts.inSampleSize = Math.min(opts.outWidth / w, opts.outHeight / h); in decodeByteArray()
60 LogUtils.w(TAG, t, "BitmapUtils unable to decode image"); in decodeByteArray()
74 public static Bitmap decodeByteArrayWithCenterCrop(byte[] src, int w, int h) { in decodeByteArrayWithCenterCrop() argument
76 final Bitmap decoded = decodeByteArray(src, w, h); in decodeByteArrayWithCenterCrop()
77 return centerCrop(decoded, w, h); in decodeByteArrayWithCenterCrop()
80 LogUtils.w(TAG, t, "BitmapUtils unable to crop image"); in decodeByteArrayWithCenterCrop()
96 public static Bitmap centerCrop(final Bitmap src, final int w, final int h) { in centerCrop() argument
97 return crop(src, w, h, 0.5f, 0.5f); in centerCrop()
131 public static Bitmap crop(final Bitmap src, final int w, final int h, in crop() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java45 int w = bitmap.getWidth(); in doInBackground() local
47 int[] pixels = new int[w * h]; in doInBackground()
48 bitmap.getPixels(pixels, 0, w, 0, 0, w, h); in doInBackground()
49 for (int i = 0; i < w; i++) { in doInBackground()
51 int index = j * w + i; in doInBackground()
88 float w = getWidth(); // - Spline.curveHandleSize(); in drawHistogram() local
91 float wl = w / histogram.length; in drawHistogram()
101 canvas.drawRect(dx, 0, dx + w, h, mPaint); in drawHistogram()
102 canvas.drawLine(dx + w / 3, 0, dx + w / 3, h, mPaint); in drawHistogram()
103 canvas.drawLine(dx + 2 * w / 3, 0, dx + 2 * w / 3, h, mPaint); in drawHistogram()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallAdapter.java59 Log.w(this, "answerCall, unknown call id: %s", callId); in answerCall()
82 Log.w(this, "setRingback, unknown call id: %s", callId); in rejectCall()
105 Log.w(this, "playDtmfTone, unknown call id: %s", callId); in playDtmfTone()
128 Log.w(this, "stopDtmfTone, unknown call id: %s", callId); in stopDtmfTone()
151 Log.w(this, "postDialContinue, unknown call id: %s", callId); in postDialContinue()
174 Log.w(this, "disconnectCall, unknown call id: %s", callId); in disconnectCall()
196 Log.w(this, "holdCall, unknown call id: %s", callId); in holdCall()
218 Log.w(this, "unholdCall, unknown call id: %s", callId); in unholdCall()
241 Log.w(this, "phoneAccountSelected, unknown call id: %s", callId); in phoneAccountSelected()
298 Log.w(this, "conference, unknown call id: %s or %s", callId, otherCallId); in conference()
[all …]
DCallAudioRouteStateMachine.java266 Log.w(this, "Ignoring switch to bluetooth command. Not available."); in processMessage()
274 Log.w(this, "Ignoring switch to headset command. Not available."); in processMessage()
328 Log.w(this, "Ignoring switch to bluetooth command. Not available."); in processMessage()
335 Log.w(this, "Ignoring switch to headset command. Not available."); in processMessage()
435 Log.w(this, "Ignoring switch to earpiece command. Not available."); in processMessage()
443 Log.w(this, "Ignoring switch to bluetooth command. Not available."); in processMessage()
498 Log.w(this, "Ignoring switch to earpiece command. Not available."); in processMessage()
505 Log.w(this, "Ignoring switch to bluetooth command. Not available."); in processMessage()
614 Log.w(this, "Ignoring switch to earpiece command. Not available."); in processMessage()
628 Log.w(this, "Ignoring switch to headset command. Not available."); in processMessage()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java94 int w = entry.texture.getWidth(); in drawEntry() local
113 if (w > h) { in drawEntry()
116 mSource.set((w - h) / 2, 0, (w + h) / 2, h); in drawEntry()
124 mSource.set(0, 0, (w - h) / 2, h); in drawEntry()
129 mSource.set((w + h) / 2, 0, w, h); in drawEntry()
136 mSource.set(0, (h - w) / 2, w, (h + w) / 2); in drawEntry()
144 mSource.set(0, 0, w, (h - w) / 2); in drawEntry()
149 mSource.set(0, (w + h) / 2, w, h); in drawEntry()
DPhotoView.java480 int w = right - left; in onLayout() local
482 mTileView.layout(0, 0, w, h); in onLayout()
483 mEdgeView.layout(0, 0, w, h); in onLayout()
485 mUndoBar.layout(0, h - mUndoBar.getMeasuredHeight(), w, h); in onLayout()
518 int w = getWidth(); in updateCameraRect() local
521 int tmp = w; in updateCameraRect()
522 w = h; in updateCameraRect()
534 case 180: mCameraRect.set(w - r, h - b, w - l, h - t); break; in updateCameraRect()
535 case 270: mCameraRect.set(t, w - r, b, w - l); break; in updateCameraRect()
636 int w = mTileView.mImageWidth; in updateSize() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java159 int w = (int) (parentSize * widthMultiplier) + widthConstant; in resolveWidth() local
160 return w <= 0 ? WRAP_CONTENT : w; in resolveWidth()
168 int w = (int) (parentSize * leftMarginMultiplier) + leftMarginConstant; in resolveLeftMargin() local
169 return w < 0 ? 0 : w; in resolveLeftMargin()
174 int w = (int) (parentSize * leftPaddingMultiplier) + leftPaddingConstant; in resolveLeftPadding() local
175 return w < 0 ? 0 : w; in resolveLeftPadding()
182 int w = (int) (parentSize * rightMarginMultiplier) + rightMarginConstant; in resolveRightMargin() local
183 return w < 0 ? 0 : w; in resolveRightMargin()
188 int w = (int) (parentSize * rightPaddingMultiplier) + rightPaddingConstant; in resolveRightPadding() local
189 return w < 0 ? 0 : w; in resolveRightPadding()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskJpegEncode.java102 final int w = img.getWidth(); in convertYUV420ImageToPackedNV21() local
112 final int data_offset = w * h; in convertYUV420ImageToPackedNV21()
134 final int w, final int h) { in dummyConvertYUV420ImageToPackedNV21() argument
135 final int y_size = w * h; in dummyConvertYUV420ImageToPackedNV21()
136 final int data_offset = w * h; in dummyConvertYUV420ImageToPackedNV21()
139 dataCopy[i] = (byte) ((((i % w) * 255) / w) & 255); in dummyConvertYUV420ImageToPackedNV21()
144 for (int j = 0; j < w / 2; j++) { in dummyConvertYUV420ImageToPackedNV21()
145 int offset = data_offset + w * i + j * 2; in dummyConvertYUV420ImageToPackedNV21()
147 dataCopy[offset + 1] = (byte) ((255 * j) / (w / 2) & 255); in dummyConvertYUV420ImageToPackedNV21()
163 public byte[] convertNv21toJpeg(byte[] data_copy, int w, int h, int[] strides) { in convertNv21toJpeg() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DDrmConvertSession.java57 Log.w(TAG, "Conversion of Mimetype: " + mimeType in open()
60 Log.w(TAG, "Could not access Open DrmFramework.", e); in open()
63 Log.w(TAG, in open()
66 Log.w(TAG, "DrmManagerClient didn't initialize properly."); in open()
104 Log.w(TAG, "Buffer with data to convert is illegal. Convertsession: " in convert()
107 Log.w(TAG, "Could not convert data. Convertsession: " + in convert()
145 Log.w(TAG, "File: " + filename + " could not be found.", e); in close()
148 Log.w(TAG, "Could not access File: " + filename + " .", e); in close()
151 Log.w(TAG, "Could not open file in mode: rw", e); in close()
153 Log.w(TAG, "Access to File: " + filename + in close()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorSVRectView.java95 int w = mBitmap.getWidth(); in fillBitmap() local
97 int[] buff = new int[w * h]; in fillBitmap()
100 for (int i = 0; i < w * h; i++) { in fillBitmap()
101 float sat = (i % w) / (float) w; in fillBitmap()
102 float val = (w - i / w) / (float) w; in fillBitmap()
107 mBitmap.setPixels(buff, 0, w, 0, 0, w, h); in fillBitmap()
169 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
170 mWidth = w; in onSizeChanged()
173 mCtrX = w / 2f; in onSizeChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java763 Log.w(TAG,"setGattProfileServiceState(): invalid state...Leaving..."); in setGattProfileServiceState()
899 Log.w(TAG, "enable() - Not allowed for non-active user and non system user"); in enable()
910 Log.w(TAG, "enableNoAuto() - Not allowed for non-active user and non system user"); in enableNoAutoConnect()
922 Log.w(TAG, "disable() - Not allowed for non-active user and non system user"); in disable()
934 Log.w(TAG, "getAddress() - Not allowed for non-active user and non system user"); in getAddress()
945 Log.w(TAG, "getUuids() - Not allowed for non-active user"); in getUuids()
957 Log.w(TAG, "getName() - Not allowed for non-active user and non system user"); in getName()
968 Log.w(TAG, "setName() - Not allowed for non-active user"); in setName()
979 Log.w(TAG, "getScanMode() - Not allowed for non-active user"); in getScanMode()
990 Log.w(TAG, "setScanMode() - Not allowed for non-active user"); in setScanMode()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java381 for (OperationInfo w : work) { in startWork()
382 if (w != null) { in startWork()
383 aqs.startDelete(w.token, w.cookie, w.uri, w.selection, w.selectionArgs, in startWork()
384 w.delayMillis); in startWork()
394 for (OperationInfo w : sorted) { in generateSortedWork()
395 if (w != null) { in generateSortedWork()
396 w.calculateScheduledTime(); in generateSortedWork()
404 for (OperationInfo w : work) { in generateSortedWork()
405 if (w != null) { in generateSortedWork()
406 Log.d(TAG, "Token#" + w.token + " delay=" + w.delayMillis); in generateSortedWork()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java153 public int compareTo(final WordProperty w) { in compareTo() argument
154 if (getProbability() < w.getProbability()) return 1; in compareTo()
155 if (getProbability() > w.getProbability()) return -1; in compareTo()
156 return mWord.compareTo(w.mWord); in compareTo()
169 WordProperty w = (WordProperty)o; in equals()
170 return mProbabilityInfo.equals(w.mProbabilityInfo) in equals()
171 && mWord.equals(w.mWord) && equals(mNgrams, w.mNgrams) in equals()
172 && mIsNotAWord == w.mIsNotAWord && mIsPossiblyOffensive == w.mIsPossiblyOffensive in equals()
173 && mHasNgrams == w.mHasNgrams; in equals()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java236 LogUtils.w(LogUtils.TAG, "Returning NullService for %s", protocol); in getService()
271 LogUtils.w(LogUtils.TAG, e, "finishAccountManagerBlocker"); in finishAccountManagerBlocker()
273 LogUtils.w(LogUtils.TAG, e, "finishAccountManagerBlocker"); in finishAccountManagerBlocker()
275 LogUtils.w(LogUtils.TAG, e, "finishAccountManagerBlocker"); in finishAccountManagerBlocker()
352 LogUtils.w(LogUtils.TAG, "Converting %s to %s", amAccount.name, newProtocol); in updateAccountManagerType()
369 LogUtils.w(LogUtils.TAG, "Updated HostAuths"); in updateAccountManagerType()
384 LogUtils.w(LogUtils.TAG, "Email: %s, Contacts: %s Calendar: %s", in updateAccountManagerType()
398 LogUtils.w(LogUtils.TAG, "Get calendar key FAILED"); in updateAccountManagerType()
410 LogUtils.w(LogUtils.TAG, "Get contacts key FAILED"); in updateAccountManagerType()
415 LogUtils.w(LogUtils.TAG, "Got calendar key: %s", in updateAccountManagerType()
[all …]
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DWeekButton.java39 public static void setSuggestedWidth(int w) { in setSuggestedWidth() argument
40 mWidth = w; in setSuggestedWidth()
47 int w = getMeasuredWidth(); in onMeasure() local
48 if (h > 0 && w > 0) { in onMeasure()
49 if (w < h) { in onMeasure()
51 h = w; in onMeasure()
53 } else if (h < w) { in onMeasure()
55 w = h; in onMeasure()
59 setMeasuredDimension(w, h); in onMeasure()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java229 Log.w(LOGTAG, "could not load image for cropping"); in doneLoadBitmap()
373 Log.w(LOGTAG, "cannot read original file, no input URI given"); in regenerateInputStream()
379 Log.w(LOGTAG, "cannot read file: " + mInUri.toString(), e); in regenerateInputStream()
405 Log.w(LOGTAG, "cannot write file, no output URI given"); in BitmapIOTask()
410 Log.w(LOGTAG, "cannot write file: " + mOutUri.toString(), e); in BitmapIOTask()
446 Log.w(LOGTAG, "could not downsample bitmap to return in data"); in doInBackground()
467 Log.w(LOGTAG, "cannot find crop for full size image"); in doInBackground()
475 Log.w(LOGTAG, "crop has bad values for full size image"); in doInBackground()
485 Log.w(LOGTAG, "cannot open region decoder for file: " + mInUri.toString(), e); in doInBackground()
512 Log.w(LOGTAG, "cannot decode file: " + mInUri.toString()); in doInBackground()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java213 private void drawGrid(Canvas canvas, float w, float h) { in drawGrid() argument
219 float stepW = w / 9; in drawGrid()
224 canvas.drawLine(0, h, w, 0, gPaint); in drawGrid()
229 stepW = w / 3; in drawGrid()
231 canvas.drawLine(0, j * stepH, w, j * stepH, gPaint); in drawGrid()
235 canvas.drawLine(w, 0, w, h, gPaint); in drawGrid()
236 canvas.drawLine(0, 0, w, 0, gPaint); in drawGrid()
237 canvas.drawLine(0, h, w, h, gPaint); in drawGrid()
242 float w = canvasWidth - mCurveHandleSize; in draw() local
270 points[i] = new ControlPoint(p.x * w, p.y * h); in draw()
[all …]

12345678910>>...43