Home
last modified time | relevance | path

Searched refs:im (Results 1 – 25 of 48) sorted by relevance

12

/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
27 assert(im); in db_SetupImageReferences_f()
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
41 assert(im); in db_SetupImageReferences_u()
46 img[i]=im+w*i; in db_SetupImageReferences_u()
52 float **img,*im; in db_AllocImage_f() local
54 im=new float [w*h+over_allocation]; in db_AllocImage_f()
55 img=db_SetupImageReferences_f(im,w,h); in db_AllocImage_f()
62 unsigned char **img,*im; in db_AllocImage_u() local
[all …]
Ddb_metrics.h324 …Homography(const double H[9], double *x_i,double *xp_i, double *wp,double *im, double *im_p, doubl…
347 temp_valueE=db_SquaredInhomogenousHomographyError(im_p+ind3,H,im+ind3);
365 im[k3]=im[ind3];
366 im[k3+1]=im[ind3+1];
367 im[k3+2]=im[ind3+2];
Ddb_utilities.h409 DB_API float** db_SetupImageReferences_f(float *im,int w,int h);
431 DB_API unsigned char** db_SetupImageReferences_u(unsigned char *im,int w,int h);
Ddb_feature_detection.cpp34 float** db_AllocStrengthImage_f(float **im,int w,int h) in db_AllocStrengthImage_f() argument
46 *im=new float [size]; in db_AllocStrengthImage_f()
48 p=(*im); in db_AllocStrengthImage_f()
51 aim=db_AlignPointer_f(*im,16); in db_AllocStrengthImage_f()
63 void db_FreeStrengthImage_f(float *im,float **img,int h) in db_FreeStrengthImage_f() argument
65 delete [] im; in db_FreeStrengthImage_f()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
DPgmImage.cpp51 PgmImage::PgmImage(const PgmImage &im) : in PgmImage() argument
54 DeepCopy(im, *this); in PgmImage()
57 PgmImage& PgmImage::operator= (const PgmImage &im) in operator =() argument
59 if (this == &im) return *this; in operator =()
60 DeepCopy(im, *this); in operator =()
241 std::ostream& operator<< (std::ostream& o, const PgmImage& im) in operator <<() argument
244 o << "Size: " << im.m_w << " x " << im.m_h << "\n"; in operator <<()
245 o << "Comment: " << im.m_comment << "\n"; in operator <<()
246 switch (im.m_format) in operator <<()
DPgmImage.h30 friend std::ostream& operator<< (std::ostream& o, const PgmImage& im);
50 PgmImage(const PgmImage &im);
52 PgmImage& operator= (const PgmImage &im);
95 std::ostream& operator<< (std::ostream& o, const PgmImage& im);
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java162 private static Intent getCustomImIntent(ImDataItem im, int protocol) { in getCustomImIntent() argument
163 String host = im.getCustomProtocol(); in getCustomImIntent()
164 final String data = im.getData(); in getCustomImIntent()
186 public static Pair<Intent, Intent> buildImIntent(Context context, ImDataItem im) { in buildImIntent() argument
189 final boolean isEmail = im.isCreatedFromEmail(); in buildImIntent()
191 if (!isEmail && !im.isProtocolValid()) { in buildImIntent()
195 final String data = im.getData(); in buildImIntent()
200 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : im.getProtocol(); in buildImIntent()
203 final int chatCapability = im.getChatCapability(); in buildImIntent()
221 intent = getCustomImIntent(im, protocol); in buildImIntent()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java87 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentCustom() local
89 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); in testImIntentCustom()
109 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntent() local
111 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); in testImIntent()
128 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithAudio() local
130 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); in testImIntentWithAudio()
150 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithVideo() local
152 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); in testImIntentWithVideo()
174 final ImDataItem im = ImDataItem.createFromEmail( in testImEmailIntent() local
177 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); in testImEmailIntent()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DRegularMaintenanceJobService.java78 final InterruptMaintenance im = new InterruptMaintenance(params.getJobId()); in onStartJob() local
79 sInterruptList.add(im); in onStartJob()
89 sInterruptList.remove(im); in onStartJob()
102 }, im); in onStartJob()
109 for (InterruptMaintenance im : sInterruptList) { in onStopJob()
110 if (im.getJobId() == jobId) { in onStopJob()
111 im.setInterrupted(true); in onStopJob()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.cpp252 int db_FrameToReferenceRegistration::UpdateReference(const unsigned char * const * im, bool subsamp… in UpdateReference() argument
258 const unsigned char * const * imptr = im; in UpdateReference()
262 GenerateQuarterResImage(im); in UpdateReference()
344 int db_FrameToReferenceRegistration::AddFrame(const unsigned char * const * im, double H[9],bool fo… in AddFrame() argument
352 UpdateReference(im,true,true); in AddFrame()
356 const unsigned char * const * imptr = im; in AddFrame()
362 GenerateQuarterResImage(im); in AddFrame()
381 sprintf(str,"[%dx%d] %p\n",m_im_width,m_im_height,im); in AddFrame()
744 void db_FrameToReferenceRegistration::GenerateQuarterResImage(const unsigned char* const* im) in GenerateQuarterResImage() argument
751 const unsigned char* in_row_ptr = im[j]; in GenerateQuarterResImage()
Ddbreg.h189 …int AddFrame(const unsigned char * const * im, double H[9], bool force_reference=false, bool prewa…
259 …int UpdateReference(const unsigned char * const * im, bool subsample = true, bool detect_corners =…
295 void GenerateQuarterResImage(const unsigned char* const * im);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java176 ImDataItem im = (ImDataItem) item; in DataAction() local
177 final boolean isEmail = im.isCreatedFromEmail(); in DataAction()
178 if (isEmail || im.isProtocolValid()) { in DataAction()
179 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : im.getProtocol(); in DataAction()
189 String host = im.getCustomProtocol(); in DataAction()
190 String data = im.getData(); in DataAction()
204 final int chatCapability = im.getChatCapability(); in DataAction()
DQuickContactActivity.java1408 final ImDataItem im = (ImDataItem) dataItem; in dataItemToEntry() local
1409 intent = ContactsUtils.buildImIntent(context, im).first; in dataItemToEntry()
1410 final boolean isEmail = im.isCreatedFromEmail(); in dataItemToEntry()
1412 if (!im.isProtocolValid()) { in dataItemToEntry()
1415 protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : im.getProtocol(); in dataItemToEntry()
1422 im.getCustomProtocol()).toString(); in dataItemToEntry()
1423 text = im.getData(); in dataItemToEntry()
1426 im.getCustomProtocol()).toString(); in dataItemToEntry()
1427 subHeader = im.getData(); in dataItemToEntry()
1429 entryContextMenuInfo = new EntryContextMenuInfo(im.getData(), header, in dataItemToEntry()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java248 @NonNull Context context, @NonNull InputManager im) { in getLayoutLabel() argument
250 im.getCurrentKeyboardLayoutForInputDevice(device.getIdentifier()); in getLayoutLabel()
254 final KeyboardLayout currentLayout = im.getKeyboardLayout(currentLayoutDesc); in getLayoutLabel()
266 final InputManager im = context.getSystemService(InputManager.class); in getHardKeyboards() local
267 if (im == null) { in getHardKeyboards()
276 device.getName(), device.getIdentifier(), getLayoutLabel(device, context, im))); in getHardKeyboards()
DKeyboardLayoutDialogFragment.java310 InputManager im = (InputManager)getContext().getSystemService(Context.INPUT_SERVICE); in loadInBackground() local
311 String[] keyboardLayoutDescriptors = im.getEnabledKeyboardLayoutsForInputDevice( in loadInBackground()
314 KeyboardLayout keyboardLayout = im.getKeyboardLayout(keyboardLayoutDescriptor); in loadInBackground()
322 im.getCurrentKeyboardLayoutForInputDevice(mInputDeviceIdentifier); in loadInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DPhysicalKeyboardFragment.java248 @NonNull Context context, @NonNull InputManager im) { in getLayoutLabel() argument
250 im.getCurrentKeyboardLayoutForInputDevice(device.getIdentifier()); in getLayoutLabel()
254 final KeyboardLayout currentLayout = im.getKeyboardLayout(currentLayoutDesc); in getLayoutLabel()
266 final InputManager im = context.getSystemService(InputManager.class); in getHardKeyboards() local
267 if (im == null) { in getHardKeyboards()
276 device.getName(), device.getIdentifier(), getLayoutLabel(device, context, im))); in getHardKeyboards()
DKeyboardLayoutDialogFragment.java310 InputManager im = (InputManager)getContext().getSystemService(Context.INPUT_SERVICE); in loadInBackground() local
311 String[] keyboardLayoutDescriptors = im.getEnabledKeyboardLayoutsForInputDevice( in loadInBackground()
314 KeyboardLayout keyboardLayout = im.getKeyboardLayout(keyboardLayoutDescriptor); in loadInBackground()
322 im.getCurrentKeyboardLayoutForInputDevice(mInputDeviceIdentifier); in loadInBackground()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java640 final InterruptMaintenance im = new InterruptMaintenance(0/* Fake JobId */);
647 }), im), LONG_TIMEOUT_MS);
657 final InterruptMaintenance im = new InterruptMaintenance(0/* Fake JobId */);
660 im.setInterrupted(true);
666 }), im), LONG_TIMEOUT_MS);
672 im.setInterrupted(false);
679 }), im);
684 im.setInterrupted(true);
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DImDataItem.java45 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true); in createFromEmail() local
46 im.setMimeType(Im.CONTENT_ITEM_TYPE); in createFromEmail()
47 return im; in createFromEmail()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DImDataItem.java43 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true); in createFromEmail() local
44 im.setMimeType(Im.CONTENT_ITEM_TYPE); in createFromEmail()
45 return im; in createFromEmail()
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt544 544 mimetype=vnd.android.cursor.item/im
571 571 mimetype=vnd.android.cursor.item/im
598 598 mimetype=vnd.android.cursor.item/im
625 625 mimetype=vnd.android.cursor.item/im
652 652 mimetype=vnd.android.cursor.item/im
679 679 mimetype=vnd.android.cursor.item/im
706 706 mimetype=vnd.android.cursor.item/im
733 733 mimetype=vnd.android.cursor.item/im
815 815 mimetype=vnd.android.cursor.item/im
/packages/apps/LegacyCamera/jni/
Dfeature_mos_jni.cpp121 void GenerateQuarterResImagePlanar(ImageType im, int input_w, int input_h, in GenerateQuarterResImagePlanar() argument
131 imp = im + j * input_w; in GenerateQuarterResImagePlanar()
143 imp = im + j * input_w; in GenerateQuarterResImagePlanar()
155 imp = im + j * input_w; in GenerateQuarterResImagePlanar()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParserTokenManager.java714 String im = jjstrLiteralImages[jjmatchedKind]; in jjFillToken() local
715 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParserTokenManager.java675 String im = jjstrLiteralImages[jjmatchedKind]; in jjFillToken() local
676 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParserTokenManager.java789 String im = jjstrLiteralImages[jjmatchedKind]; in jjFillToken() local
790 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken()

12