Home
last modified time | relevance | path

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

1234567891011

/development/perftests/panorama/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 …]
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java89 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected()
91 Log.w(TAG, "No such provider: AndroidKeyStore"); in onOptionsItemSelected()
93 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected()
100 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected()
102 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected()
104 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected()
106 Log.w(TAG, "Invalid Key", e); in onOptionsItemSelected()
108 Log.w(TAG, "Invalid Signature", e); in onOptionsItemSelected()
110 Log.w(TAG, "IO Exception", e); in onOptionsItemSelected()
112 Log.w(TAG, "Error occurred while loading certificates", e); in onOptionsItemSelected()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java276 Log.w(TAG, "Could not list keys", e); in doInBackground()
279 Log.w(TAG, "Could not list keys", e); in doInBackground()
282 Log.w(TAG, "Could not list keys", e); in doInBackground()
285 Log.w(TAG, "Could not list keys", e); in doInBackground()
325 Log.w(TAG, "Could not generate key", e); in doInBackground()
328 Log.w(TAG, "Could not generate key", e); in doInBackground()
331 Log.w(TAG, "Could not generate key", e); in doInBackground()
364 Log.w(TAG, "Not an instance of a PrivateKeyEntry"); in doInBackground()
374 Log.w(TAG, "Could not generate key", e); in doInBackground()
377 Log.w(TAG, "Could not generate key", e); in doInBackground()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DVertices.java58 float w = bm.getWidth(); in SampleView() local
61 setXY(mTexs, 0, w/2, h/2); in SampleView()
63 setXY(mTexs, 2, w, 0); in SampleView()
64 setXY(mTexs, 3, w, h); in SampleView()
67 setXY(mVerts, 0, w/2, h/2); in SampleView()
69 setXY(mVerts, 2, w, 0); in SampleView()
70 setXY(mVerts, 3, w, h); in SampleView()
DBitmapDecode.java91 int w = mBitmap2.getWidth(); in SampleView() local
93 int[] pixels = new int[w*h]; in SampleView()
94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); in SampleView()
95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h, in SampleView()
97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h, in SampleView()
DXfermodes.java37 static Bitmap makeDst(int w, int h) { in makeDst() argument
38 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in makeDst()
43 c.drawOval(new RectF(0, 0, w*3/4, h*3/4), p); in makeDst()
48 static Bitmap makeSrc(int w, int h) { in makeSrc() argument
49 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in makeSrc()
54 c.drawRect(w/3, h/3, w*19/20, h*19/20, p); in makeSrc()
/development/samples/Snake/src/com/example/android/snake/
DBackgroundView.java77 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
78 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
82 w / 2, h / 2, in onSizeChanged()
84 w, 0, in onSizeChanged()
85 w, h, in onSizeChanged()
/development/perftests/panorama/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()
DPgmImage.cpp29 PgmImage::PgmImage(int w, int h, int format) : in PgmImage() argument
30 m_colors(255),m_w(w),m_h(h),m_format(format),m_over_allocation(256) in PgmImage()
35 PgmImage::PgmImage(unsigned char *data, int w, int h) : in PgmImage() argument
36 m_colors(255),m_w(w),m_h(h),m_format(PGM_BINARY_GRAYMAP),m_over_allocation(256) in PgmImage()
41 PgmImage::PgmImage(std::vector<unsigned char> &data, int w, int h) : in PgmImage() argument
42 m_colors(255),m_w(w),m_h(h),m_format(PGM_BINARY_GRAYMAP),m_over_allocation(256) in PgmImage()
44 if ( data.size() == w*h ) in PgmImage()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/
DLogger.java84 public void w(String msg) { in w() method in Logger
85 Log.w(APP_TAG, getMsg(msg)); in w()
88 public void w(String msg, Throwable t) { in w() method in Logger
89 Log.w(APP_TAG, getMsg(msg), t); in w()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DGrid.java32 public Grid(int w, int h) { in Grid() argument
33 if (w < 0 || w >= 65536) { in Grid()
39 if (w * h >= 65536) { in Grid()
43 mW = w; in Grid()
45 int size = w * h; in Grid()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java105 Log.w("NDKHelper", "Coundn't load a file:" + path); in loadTexture()
139 Log.w("NDKHelper", "Coundn't load a file:" + path); in openBitmap()
157 int w = bmp.getWidth(); in getBitmapPixels() local
159 bmp.getPixels(pixels, 0, w, 0, 0, w, h); in getBitmapPixels()
171 Log.w("NDKHelper", "ai.nativeLibraryDir:" + ai.nativeLibraryDir); in getNativeLibraryDirectory()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java105 Log.w("NDKHelper", "Coundn't load a file:" + path); in loadTexture()
139 Log.w("NDKHelper", "Coundn't load a file:" + path); in openBitmap()
157 int w = bmp.getWidth(); in getBitmapPixels() local
159 bmp.getPixels(pixels, 0, w, 0, 0, w, h); in getBitmapPixels()
171 Log.w("NDKHelper", "ai.nativeLibraryDir:" + ai.nativeLibraryDir); in getNativeLibraryDirectory()
/development/perftests/panorama/feature_stab/src/dbreg/
Dvp_motionmodel.h221 #define VP_PROJX_3D(m,x,y,z,f,w) ((MXX(m)*(x)+MXY(m)*(y)+MXZ(m)*(z)+MXW(m))/(w)) argument
222 #define VP_PROJY_3D(m,x,y,z,f,w) ((MYX(m)*(x)+MYY(m)*(y)+MYZ(m)*(z)+MYW(m))/(w)) argument
223 #define VP_PROJZ_3D(m,x,y,z,f,w) ((MZX(m)*(x)+MZY(m)*(y)+MZZ(m)*(z)+MZW(m))/(w)) argument
259 #define VP_PROJX(m,x,y,w,f) (\ argument
260 (MXX(m)*((VP_PAR)x)+MXY(m)*((VP_PAR)y)+MXW(m)*((VP_PAR)f))/((VP_PAR)w))
263 #define VP_PROJY(m,x,y,w,f) (\ argument
264 (MYX(m)*((VP_PAR)x)+MYY(m)*((VP_PAR)y)+MYW(m)*((VP_PAR)f))/((VP_PAR)w))
276 int n, int w, int h, double zoom);
278 int xo, int yo, int w, int h);
Ddbreg.h432 inline void db_GenerateHomographyLut(float ** lut_x,float ** lut_y,int w,int h,const double H[9]) in db_GenerateHomographyLut() argument
449 for ( int i = 0; i < w; ++i ) in db_GenerateHomographyLut()
480 inline void db_WarpImageLutFast_rgb(const unsigned char * const * src, unsigned char ** dst, int w,… in db_WarpImageLutFast_rgb() argument
486 for ( int i = 0; i < w; ++i ) in db_WarpImageLutFast_rgb()
491 if ( xd >= w || yd >= h || in db_WarpImageLutFast_rgb()
526 … db_WarpImageLutBilinear_rgb(const unsigned char * const * src, unsigned char ** dst, int w, int h, in db_WarpImageLutBilinear_rgb() argument
532 for ( int i = 0; i < w; ++i ) in db_WarpImageLutBilinear_rgb()
537 if ( xd > w-2 || yd > h-2 || in db_WarpImageLutBilinear_rgb()
/development/perftests/panorama/feature_mos/src/mosaic/
DPyramid.cpp115 int off, off2, height, h, w; in BorderSpread() local
127 for (w = left; w--;) in BorderSpread()
128 base[-1 - w] = base[0]; in BorderSpread()
129 for (w = right; w--;) in BorderSpread()
130 base[off2 + w + 1] = base[off2]; in BorderSpread()
227 for (int w = width; w--; s++, p += 2) { in BorderReduceOdd() local
244 for (int w = out->pitch; w--; s++, p++) { in BorderReduceOdd() local
/development/samples/browseable/NetworkConnect/src/com.example.android.common.logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/BorderlessButtons/src/com.example.android.common.logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/PermissionRequest/src/com.example.android.common/logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/StorageProvider/src/com.example.android.common/logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/TextSwitcher/src/com.example.android.common.logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/CardReader/src/com.example.android.common/logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()
/development/samples/browseable/BasicContactables/src/com.example.android.common.logger/
DLog.java157 public static void w(String tag, String msg, Throwable tr) { in w() method in Log
167 public static void w(String tag, String msg) { in w() method in Log
168 w(tag, msg, null); in w()
178 public static void w(String tag, Throwable tr) { in w() method in Log
179 w(tag, null, tr); in w()

1234567891011