Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Gallery2/jni/filters/
Dedge.c56 int loc = j * row_stride + k * 4; in JNIFUNCF() local
62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF()
63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF()
64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF()
65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF()
66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF()
67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF()
76 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF()
77 tmp -= *(ptr + (loc - row_stride + l)) * 2.0f; in JNIFUNCF()
78 tmp -= *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DMediaSaverImpl.java69 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument
71 addImage(data, title, date, loc, width, height, orientation, exif, l, in addImage()
76 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument
84 (loc == null) ? null : new Location(loc), in addImage()
95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, in addImage() argument
99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, in addImage()
103 public void addImage(final byte[] data, String title, Location loc, int width, int height, in addImage() argument
105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l, in addImage()
141 private final Location loc; field in MediaSaverImpl.ImageSaveTask
149 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask() argument
[all …]
DVideoModule.java416 Location loc = mLocationManager.getCurrentLocation(); in takeASnapshot() local
417 CameraUtil.setGpsParameters(mCameraSettings, loc); in takeASnapshot()
422 null, null, null, new JpegPictureCallback(loc)); in takeASnapshot()
1202 Location loc = mLocationManager.getCurrentLocation(); in setRecordLocation() local
1203 if (loc != null) { in setRecordLocation()
1204 mMediaRecorder.setLocation((float) loc.getLatitude(), in setRecordLocation()
1205 (float) loc.getLongitude()); in setRecordLocation()
1240 Location loc = mLocationManager.getCurrentLocation(); in generateVideoFilename() local
1241 if (loc != null) { in generateVideoFilename()
1242 mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude()); in generateVideoFilename()
[all …]
DPhotoModule.java861 public JpegPictureCallback(Location loc) { in JpegPictureCallback() argument
862 mLocation = loc; in JpegPictureCallback()
1134 Location loc = mActivity.getLocationManager().getCurrentLocation(); in capture() local
1135 CameraUtil.setGpsParameters(mCameraSettings, loc); in capture()
1153 new JpegPictureCallback(loc)); in capture()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBaseDragLayer.java350 public float getLocationInDragLayer(View child, int[] loc) { in getLocationInDragLayer() argument
351 loc[0] = 0; in getLocationInDragLayer()
352 loc[1] = 0; in getLocationInDragLayer()
353 return getDescendantCoordRelativeToSelf(child, loc); in getLocationInDragLayer()
404 int[] loc = new int[2]; in getViewRectRelativeToSelf() local
405 getLocationInWindow(loc); in getViewRectRelativeToSelf()
406 int x = loc[0]; in getViewRectRelativeToSelf()
407 int y = loc[1]; in getViewRectRelativeToSelf()
409 v.getLocationInWindow(loc); in getViewRectRelativeToSelf()
410 int vX = loc[0]; in getViewRectRelativeToSelf()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DAppToOverviewAnimationProvider.java130 int loc[] = new int[2]; in createWindowAnimation() local
132 rootView.getLocationOnScreen(loc); in createWindowAnimation()
133 Rect homeBounds = new Rect(loc[0], loc[1], in createWindowAnimation()
134 loc[0] + rootView.getWidth(), loc[1] + rootView.getHeight()); in createWindowAnimation()
DWindowTransformSwipeHandler.java782 int loc[] = new int[2]; in onRecentsAnimationStart() local
784 rootView.getLocationOnScreen(loc); in onRecentsAnimationStart()
785 overviewStackBounds = new Rect(loc[0], loc[1], loc[0] + rootView.getWidth(), in onRecentsAnimationStart()
786 loc[1] + rootView.getHeight()); in onRecentsAnimationStart()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java633 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters() argument
641 if (loc != null) { in setGpsParameters()
642 double lat = loc.getLatitude(); in setGpsParameters()
643 double lon = loc.getLongitude(); in setGpsParameters()
650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
651 if (loc.hasAltitude()) { in setGpsParameters()
652 parameters.setGpsAltitude(loc.getAltitude()); in setGpsParameters()
659 if (loc.getTime() != 0) { in setGpsParameters()
662 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters()
666 loc = null; in setGpsParameters()
DVideoCamera.java1209 Location loc = mLocationManager.getCurrentLocation(); in initializeRecorder() local
1210 if (loc != null) { in initializeRecorder()
1211 mMediaRecorder.setLocation((float) loc.getLatitude(), in initializeRecorder()
1212 (float) loc.getLongitude()); in initializeRecorder()
1407 Location loc = mLocationManager.getCurrentLocation(); in generateVideoFilename() local
1408 if (loc != null) { in generateVideoFilename()
1409 mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude()); in generateVideoFilename()
1410 mCurrentVideoValues.put(Video.Media.LONGITUDE, loc.getLongitude()); in generateVideoFilename()
2381 Location loc = mLocationManager.getCurrentLocation(); in onTouch() local
2382 Util.setGpsParameters(mParameters, loc); in onTouch()
[all …]
DCamera.java747 public JpegPictureCallback(Location loc) { in JpegPictureCallback() argument
748 mLocation = loc; in JpegPictureCallback()
848 Location loc; field in Camera.SaveRequest
887 public void addImage(final byte[] data, Location loc, int width, in addImage() argument
891 r.loc = (loc == null) ? null : new Location(loc); // make a copy in addImage()
935 storeImage(r.data, r.loc, r.width, r.height, r.dateTaken, in run()
991 private void storeImage(final byte[] data, Location loc, int width, in storeImage() argument
996 loc, orientation, data, width, height); in storeImage()
1051 Location loc = mLocationManager.getCurrentLocation(); in capture() local
1052 Util.setGpsParameters(mParameters, loc); in capture()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DMediaSaver.java86 void addImage(byte[] data, String title, long date, Location loc, int width, int height, in addImage() argument
108 void addImage(byte[] data, String title, long date, Location loc, int width, int height, in addImage() argument
126 void addImage(byte[] data, String title, long date, Location loc, int orientation, in addImage() argument
146 void addImage(byte[] data, String title, Location loc, int width, int height, int orientation, in addImage() argument
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTextToSpeech.java67 protected int setLanguage(final Locale loc) { in setLanguage() argument
68 return sInstance.setLanguage(loc); in setLanguage()
92 protected int isLanguageAvailable(final Locale loc) { in isLanguageAvailable() argument
93 return sInstance.isLanguageAvailable(loc); in isLanguageAvailable()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeSelectorItem.java239 public void getIconCenterLocationInWindow(int[] loc) { in getIconCenterLocationInWindow() argument
240 mIcon.getLocationInWindow(loc); in getIconCenterLocationInWindow()
241 loc[0] += mMinVisibleWidth / 2; in getIconCenterLocationInWindow()
242 loc[1] += mMinVisibleWidth / 2; in getIconCenterLocationInWindow()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java351 int[] loc = new int[2]; in handleAccessibleDrop() local
353 loc[0] = clickedTarget.getWidth() / 2; in handleAccessibleDrop()
354 loc[1] = clickedTarget.getHeight() / 2; in handleAccessibleDrop()
356 loc[0] = dropLocation.centerX(); in handleAccessibleDrop()
357 loc[1] = dropLocation.centerY(); in handleAccessibleDrop()
360 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(clickedTarget, loc); in handleAccessibleDrop()
361 mLauncher.getDragController().completeAccessibleDrag(loc); in handleAccessibleDrop()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java765 public static void setGpsParameters(CameraSettings settings, Location loc) { in setGpsParameters() argument
773 if (loc != null) { in setGpsParameters()
774 lat = loc.getLatitude(); in setGpsParameters()
775 lon = loc.getLongitude(); in setGpsParameters()
792 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters()
793 settings.setGpsData(new CameraSettings.GpsData(loc.getLatitude(), loc.getLongitude(), in setGpsParameters()
794 (loc.hasAltitude() ? loc.getAltitude() : 0), in setGpsParameters()
796 loc.getProvider().toUpperCase())); in setGpsParameters()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DBaseWidgetSheet.java121 int[] loc = new int[2]; in beginDraggingWidget() local
122 getPopupContainer().getLocationInDragLayer(image, loc); in beginDraggingWidget()
126 new Point(loc[0], loc[1]), this, new DragOptions()); in beginDraggingWidget()
/packages/services/Car/evs/app/
DRenderDirectView.cpp85 GLint loc = glGetUniformLocation(mShaderProgram, "cameraMat"); in drawFrame() local
86 if (loc < 0) { in drawFrame()
91 glUniformMatrix4fv(loc, 1, false, identityMatrix.asArray()); in drawFrame()
DRenderTopView.cpp268 GLint loc = glGetUniformLocation(mPgmAssets.simpleTexture, "cameraMat"); in renderCarTopView() local
269 glUniformMatrix4fv(loc, 1, false, orthoMatrix.asArray()); in renderCarTopView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRadioInfo.java704 GsmCellLocation loc = (GsmCellLocation)location; in updateLocation() local
705 int lac = loc.getLac(); in updateLocation()
706 int cid = loc.getCid(); in updateLocation()
713 CdmaCellLocation loc = (CdmaCellLocation)location; in updateLocation() local
714 int bid = loc.getBaseStationId(); in updateLocation()
715 int sid = loc.getSystemId(); in updateLocation()
716 int nid = loc.getNetworkId(); in updateLocation()
717 int lat = loc.getBaseStationLatitude(); in updateLocation()
718 int lon = loc.getBaseStationLongitude(); in updateLocation()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java797 GsmCellLocation loc = (GsmCellLocation)location; in updateLocation() local
798 int lac = loc.getLac(); in updateLocation()
799 int cid = loc.getCid(); in updateLocation()
806 CdmaCellLocation loc = (CdmaCellLocation)location; in updateLocation() local
807 int bid = loc.getBaseStationId(); in updateLocation()
808 int sid = loc.getSystemId(); in updateLocation()
809 int nid = loc.getNetworkId(); in updateLocation()
810 int lat = loc.getBaseStationLatitude(); in updateLocation()
811 int lon = loc.getBaseStationLongitude(); in updateLocation()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2608 private void getFinalPositionForDropAnimation(int[] loc, float[] scaleXY,
2627 Utilities.roundArray(mTempFXY, loc);
2635 loc[0] -= (dragView.getMeasuredWidth() - cellLayoutScale * r.width()) / 2
2637 loc[1] -= (dragView.getMeasuredHeight() - cellLayoutScale * r.height()) / 2;
2644 loc[0] += (dragScale - 1) * dragView.getWidth() / 2;
2645 loc[1] += (dragScale - 1) * dragView.getHeight() / 2;
2651 loc[0] += cellLayoutScale * dragRegion.left;
2652 loc[1] += cellLayoutScale * dragRegion.top;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java304 for (String loc : mAvailableStrLocals) { in evaluateDefaultLocale()
305 if (loc.equalsIgnoreCase(defaultLocaleStr)) { in evaluateDefaultLocale()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java419 for (String loc : mAvailableStrLocals) { in evaluateDefaultLocale()
420 if (loc.equalsIgnoreCase(defaultLocaleStr)) { in evaluateDefaultLocale()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java419 for (String loc : mAvailableStrLocals) { in evaluateDefaultLocale()
420 if (loc.equalsIgnoreCase(defaultLocaleStr)) { in evaluateDefaultLocale()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz

12