Home
last modified time | relevance | path

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

12345678910>>...19

/packages/apps/Camera/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/Browser/src/com/android/browser/
DBrowserWebViewFactory.java47 WebView w = instantiateWebView(null, android.R.attr.webViewStyle, privateBrowsing); in createWebView() local
48 initWebViewSettings(w); in createWebView()
49 return w; in createWebView()
52 protected void initWebViewSettings(WebView w) { in initWebViewSettings() argument
53 w.setScrollbarFadingEnabled(true); in initWebViewSettings()
54 w.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY); in initWebViewSettings()
55 w.setMapTrackballToArrowKeys(false); // use trackball directly in initWebViewSettings()
57 w.getSettings().setBuiltInZoomControls(true); in initWebViewSettings()
62 w.getSettings().setDisplayZoomControls(!supportsMultiTouch); in initWebViewSettings()
67 s.startManagingSettings(w.getSettings()); in initWebViewSettings()
DNetworkStateHandler.java100 WebView w = mController.getCurrentWebView(); in onNetworkToggle() local
101 if (w != null) { in onNetworkToggle()
102 w.setNetworkAvailable(up); in onNetworkToggle()
111 WebView w = mController.getCurrentWebView(); in sendNetworkType() local
112 if (w != null) { in sendNetworkType()
113 w.setNetworkType(type, subtype); in sendNetworkType()
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
DWord.java46 public int compareTo(Word w) { in compareTo() argument
47 if (mFrequency < w.mFrequency) return 1; in compareTo()
48 if (mFrequency > w.mFrequency) return -1; in compareTo()
49 return mWord.compareTo(w.mWord); in compareTo()
61 Word w = (Word)o; in equals()
62 return mFrequency == w.mFrequency && mWord.equals(w.mWord) in equals()
63 && mBigrams.equals(w.mBigrams); in equals()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEditingUtils.java189 String[] w = spaceRegex.split(prev); in getPreviousWord()
192 if (w.length < 2 || w[w.length - 2].length() <= 0) return null; in getPreviousWord()
195 char lastChar = w[w.length - 2].charAt(w[w.length - 2].length() - 1); in getPreviousWord()
198 return w[w.length - 2]; in getPreviousWord()
216 String[] w = spaceRegex.split(prev); in getThisWord()
219 if (w.length < 1 || w[w.length - 1].length() <= 0) return null; in getThisWord()
222 char lastChar = w[w.length - 1].charAt(w[w.length - 1].length() - 1); in getThisWord()
225 return w[w.length - 1]; in getThisWord()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDrmConvertSession.java55 Log.w(Constants.TAG, "Conversion of Mimetype: " + mimeType in open()
58 Log.w(Constants.TAG, "Could not access Open DrmFramework.", e); in open()
61 Log.w(Constants.TAG, in open()
64 Log.w(Constants.TAG, "DrmManagerClient didn't initialize properly."); in open()
101 Log.w(Constants.TAG, "Buffer with data to convert is illegal. Convertsession: " in convert()
104 Log.w(Constants.TAG, "Could not convert data. Convertsession: " + in convert()
142 Log.w(Constants.TAG, "File: " + filename + " could not be found.", e); in close()
145 Log.w(Constants.TAG, "Could not access File: " + filename + " .", e); in close()
148 Log.w(Constants.TAG, "Could not open file in mode: rw", e); in close()
150 Log.w(Constants.TAG, "Access to File: " + filename + in close()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java196 Log.w(TAG, "cannot read header"); in loadIndex()
201 Log.w(TAG, "cannot read header magic"); in loadIndex()
206 Log.w(TAG, "version mismatch"); in loadIndex()
218 Log.w(TAG, "header checksum does not match"); in loadIndex()
224 Log.w(TAG, "invalid max entries"); in loadIndex()
228 Log.w(TAG, "invalid max bytes"); in loadIndex()
232 Log.w(TAG, "invalid active region"); in loadIndex()
236 Log.w(TAG, "invalid active entries"); in loadIndex()
240 Log.w(TAG, "invalid active bytes"); in loadIndex()
245 Log.w(TAG, "invalid index file length"); in loadIndex()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DMessageListAdapter.java321 Log.w("colsMap", e.getMessage()); in ColumnsMap()
327 Log.w("colsMap", e.getMessage()); in ColumnsMap()
333 Log.w("colsMap", e.getMessage()); in ColumnsMap()
339 Log.w("colsMap", e.getMessage()); in ColumnsMap()
345 Log.w("colsMap", e.getMessage()); in ColumnsMap()
351 Log.w("colsMap", e.getMessage()); in ColumnsMap()
357 Log.w("colsMap", e.getMessage()); in ColumnsMap()
363 Log.w("colsMap", e.getMessage()); in ColumnsMap()
369 Log.w("colsMap", e.getMessage()); in ColumnsMap()
375 Log.w("colsMap", e.getMessage()); in ColumnsMap()
[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/Camera/src/com/android/camera/ui/
DRotateLayout.java68 int w = 0, h = 0; in onMeasure() local
73 w = mChild.getMeasuredWidth(); in onMeasure()
79 w = mChild.getMeasuredHeight(); in onMeasure()
83 setMeasuredDimension(w, h); in onMeasure()
95 mChild.setTranslationX(w); in onMeasure()
99 mChild.setTranslationX(w); in onMeasure()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DLog.java38 public static int w(String tag, String msg) { in w() method in Log
39 return android.util.Log.w(tag, msg); in w()
41 public static int w(String tag, String msg, Throwable tr) { in w() method in Log
42 return android.util.Log.w(tag, msg, tr); in w()
44 public static int w(String tag, Throwable tr) { in w() method in Log
45 return android.util.Log.w(tag, tr); in w()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DLog.java38 public static int w(String tag, String msg) { in w() method in Log
39 return android.util.Log.w(tag, msg); in w()
41 public static int w(String tag, String msg, Throwable tr) { in w() method in Log
42 return android.util.Log.w(tag, msg, tr); in w()
44 public static int w(String tag, Throwable tr) { in w() method in Log
45 return android.util.Log.w(tag, tr); in w()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DLog.java38 public static int w(String tag, String msg) { in w() method in Log
39 return android.util.Log.w(tag, msg); in w()
41 public static int w(String tag, String msg, Throwable tr) { in w() method in Log
42 return android.util.Log.w(tag, msg, tr); in w()
44 public static int w(String tag, Throwable tr) { in w() method in Log
45 return android.util.Log.w(tag, tr); in w()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLog.java38 public static int w(String tag, String msg) { in w() method in Log
39 return android.util.Log.w(tag, msg); in w()
41 public static int w(String tag, String msg, Throwable tr) { in w() method in Log
42 return android.util.Log.w(tag, msg, tr); in w()
44 public static int w(String tag, Throwable tr) { in w() method in Log
45 return android.util.Log.w(tag, tr); in w()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java75 Log.w(TAG, "Unable to read version"); in NdefPushProtocol()
80 Log.w(TAG, "Got version " + version + ", expected " + VERSION); in NdefPushProtocol()
88 Log.w(TAG, "Unable to read numMessages"); in NdefPushProtocol()
92 Log.w(TAG, "No NdefMessage inside NdefMessageSet packet"); in NdefPushProtocol()
104 Log.w(TAG, "Unable to read action for message " + i); in NdefPushProtocol()
112 Log.w(TAG, "Unable to read length for message " + i); in NdefPushProtocol()
121 Log.w(TAG, "Unable to read bytes for message " + i); in NdefPushProtocol()
125 Log.w(TAG, "Read " + lengthRead + " bytes but expected " + in NdefPushProtocol()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPickerItem.java70 final int w = getWidth(); in onDraw() local
73 frameBounds.set(0, 0, w, h); in onDraw()
76 mOverlay.setBounds(w - mOverlay.getIntrinsicWidth(), in onDraw()
77 h - mOverlay.getIntrinsicHeight(), w, h); in onDraw()
89 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
90 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
/packages/apps/Launcher2/src/com/android/launcher2/
DSpringLoadedDragController.java53 Workspace w = mLauncher.getWorkspace(); in onAlarm() local
54 int page = w.indexOfChild(mScreen); in onAlarm()
55 if (page != w.getCurrentPage()) { in onAlarm()
56 w.snapToPage(page); in onAlarm()
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
DPhaseBeamView.java19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
20 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
25 mRS.setSurface(holder, w, h); in surfaceChanged()
28 mRender.init(240, mRS, getResources(), w, h); in surfaceChanged()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
DNoiseFieldView.java19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
20 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
25 mRS.setSurface(holder, w, h); in surfaceChanged()
28 mRender.init(240, mRS, getResources(), w, h); in surfaceChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
DWaveformImage.java41 ByteArrayOutputStream waveBuffer, int w, int h, int start, int end) { in drawWaveform() argument
42 final Bitmap b = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in drawWaveform()
67 int delta = size / (numSamplePerPixel * w); in drawWaveform()
69 numSamplePerPixel = size / w; in drawWaveform()
77 for (int i = 0; i < w - 1 ; i++) { in drawWaveform()
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
DGalaxyView.java22 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { in surfaceChanged() argument
23 super.surfaceChanged(holder, format, w, h); in surfaceChanged()
28 mRS.setSurface(holder, w, h); in surfaceChanged()
31 mRender.init(mRS, getResources(), w, h); in surfaceChanged()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DAbsSeekBar.java225 protected void onSizeChanged(int w, int h, int oldw, int oldh) {
226 updateThumbPos(w, h);
229 private void updateThumbPos(int w, int h) {
236 int trackWidth = Math.min(mMaxWidth, w - mPaddingLeft - mPaddingRight);
243 setThumbPos(w, h, thumb, scale, 0);
249 w - mPaddingRight - gapForCenteringTrack - mPaddingLeft,
255 d.setBounds(0, 0, w - mPaddingRight - mPaddingLeft, h - mPaddingBottom
260 setThumbPos(w, h, thumb, scale, gap);
274 setThumbPos(w, h, thumb, scale, 0);
280w - mPaddingRight - mPaddingLeft, h - mPaddingBottom - gapForCenteringTrack
[all …]
/packages/apps/Camera/jni/feature_stab/src/dbregtest/
Ddbregtest.cpp147 int w,h; in main() local
171 w = ref.GetWidth(); in main()
176 …reg.Init(w,h,motion_model_type,DEFAULT_MAX_ITERATIONS,linear_polish,quarter_resolution,DB_POINT_ST… in main()
177 lut_x = db_AllocImage_f(w,h); in main()
178 lut_y = db_AllocImage_f(w,h); in main()
226 db_GenerateHomographyLut(lut_x,lut_y,w,h,H); in main()
229 PgmImage warped(w,h,format); in main()
236 … db_WarpImageLutBilinear_rgb(color_ref.GetRowPointers(),warped.GetRowPointers(),w,h,lut_x,lut_y); in main()
238 db_WarpImageLut_u(ref.GetRowPointers(),warped.GetRowPointers(),w,h,lut_x,lut_y,DB_WARP_FAST); in main()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetUtils.java51 Log.w(TAG, "fail to get image of " + image.toString()); in createWidgetBitmap()
58 int w = bitmap.getWidth(); in createWidgetBitmap() local
63 scale = Math.max((float) sStackPhotoWidth / w, in createWidgetBitmap()
67 (float) sStackPhotoHeight / w); in createWidgetBitmap()
77 canvas.drawBitmap(bitmap, -w / 2, -h / 2, paint); in createWidgetBitmap()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java40 Log.w(TAG, "toBytes(): " + e + ": " + object); in toBytes()
52 Log.w(TAG, "fromBytes(): " + e); in fromBytes()
65 Log.w(TAG, "toMd5(): " + e); in toMd5()
86 Log.w(TAG, "cert file read error: " + e); in readFile()
93 Log.w(TAG, "cannot delete cert: " + file); in deleteFile()

12345678910>>...19