Home
last modified time | relevance | path

Searched defs:g (Results 1 – 25 of 86) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java185 public float getRed(int r, int g, int b) { in getRed()
197 public float getGreen(int r, int g, int b) { in getGreen()
209 public float getBlue(int r, int g, int b) { in getBlue()
213 private float getRedf(float r, float g, float b) { in getRedf()
217 private float getGreenf(float r, float g, float b) { in getGreenf()
221 private float getBluef(float r, float g, float b) { in getBluef()
DImageFilterBwFilter.java45 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, int r, int g, int b); in nativeApplyFilter()
59 int g = 0xFF & (rgb >> 8); in apply() local
/packages/modules/Bluetooth/system/embdrv/g722/
Dg722_enc_dec.h54 #define NLDECOMPRESS_APPLY_GAIN(s,g) (((s) * (int32_t)(g)) >> 16) argument
56 #define NLDECOMPRESS_APPLY_GAIN_CONVERTED_DAC(s,g) (uint16_t)((uint16_t)(((s) * (int32_t)(g)) >> 20… argument
58 #define NLDECOMPRESS_APPLY_GAIN(s,g) (((int32_t)(s) * (int32_t)(g)) >> 16) argument
62 #define NLDECOMPRESS_PREPROCESS_PCM_SAMPLE_WITH_GAIN(s,g) NLDECOMPRESS_APPLY_GAIN_CONVERTED_DAC((s)… argument
63 #define NLDECOMPRESS_PREPROCESS_SAMPLE_WITH_GAIN(s,g) ((int16_t)NLDECOMPRESS_APPLY_GAIN((s),(g))) argument
66 #define NLDECOMPRESS_PREPROCESS_SAMPLE_WITH_GAIN(s,g) ((int16_t)(NLDECOMPRESS_APPLY_GAIN((s),(g)))) argument
/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp143 SyncEventGuard g(sReadEvent); in nativeNfcTag_abortWaits() local
149 SyncEventGuard g(sTransceiveEvent); in nativeNfcTag_abortWaits() local
153 SyncEventGuard g(sReconnectEvent); in nativeNfcTag_abortWaits() local
196 SyncEventGuard g(sReadEvent); in nativeNfcTag_doReadCompleted() local
289 SyncEventGuard g(sReadEvent); in nativeNfcTag_doRead() local
467 SyncEventGuard g(sReconnectEvent); in nativeNfcTag_doConnectStatus() local
484 SyncEventGuard g(sReconnectEvent); in nativeNfcTag_doDeactivateStatus() local
612 SyncEventGuard g(sReconnectEvent); in reSelect() local
841 SyncEventGuard g(sTransceiveEvent); in nativeNfcTag_doTransceiveStatus() local
856 SyncEventGuard g(sTransceiveEvent); in nativeNfcTag_notifyRfTimeout() local
[all …]
DNativeWlcManager.cpp116 SyncEventGuard g(sNfaWlcEnableEvent); in initialize() local
241 SyncEventGuard g(sNfaWlcEvent); in com_android_nfc_wlc_startWlcP() local
275 SyncEventGuard g(sNfaWlcEvent); in com_android_nfc_wlc_chargeWlcListener() local
/packages/apps/Gallery2/jni/filters/
DredEyeMath.c22 int value(int r, int g, int b) { in value()
28 int g = src[p + 1]; in isRed() local
46 int g = src[p + 1]; in findPossible() local
106 void stuff(int r, int g, int b, unsigned char *img, int off) { in stuff()
144 int g = src[p + 1]; in filterRedEye() local
Dwbalance.c43 int g = histG[i]; in estmateWhite() local
66 int g = histG[i]; in estmateWhite() local
101 int g = 0; in estmateWhiteBox() local
155 int g = rgb[GREEN]; in JNIFUNCF() local
Dgradient.c46 int g = destination[GREEN]; in JNIFUNCF() local
Dhue.c31 int g = rgb[GREEN]; in JNIFUNCF() local
Dbwfilter.c43 float g = sg *rgb[GREEN]; in JNIFUNCF() local
Dsaturated.c37 int g = destination[GREEN]; in JNIFUNCF() local
Dvibrance.c39 int g = destination[GREEN]; in JNIFUNCF() local
Dfilters.h27 #define SetColor(a, r, g, b) (((a) << 24) | ((b) << 16) | ((g) << 8) | ((r) << 0)); argument
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_linalg.h257 inline int db_ScalarProduct512_s(const short *f,const short *g) in db_ScalarProduct512_s()
270 inline int db_ScalarProduct32_s(const short *f,const short *g) in db_ScalarProduct32_s()
292 inline int db_ScalarProduct128_s(const short *f,const short *g) in db_ScalarProduct128_s()
597 inline float db_ScalarProduct128Aligned16_f(const float *f,const float *g) in db_ScalarProduct128Aligned16_f()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp30 int r,g,b, a; in rgba2yvu() local
75 int r,g,b; in rgb2yvu() local
118 int r,g,b, nr, ng, nb, val; in rgb2gray() local
148 int r,g,b, nr, ng, nb, val; in rgb2gray() local
192 int y,v,u, r, g, b; in yvu2rgb() local
237 int y,v,u, r, g, b; in yvu2bgr() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/interface/utils/
DImsMediaTrace.h66 #define IMLOGD_PACKET7(type, format, a, b, c, d, e, f, g) \ argument
69 #define IMLOGD_PACKET8(type, format, a, b, c, d, e, f, g, h) \ argument
94 #define IMLOGI7(format, a, b, c, d, e, f, g) \ argument
97 #define IMLOGI8(format, a, b, c, d, e, f, g, h) \ argument
122 #define IMLOGD7(format, a, b, c, d, e, f, g) \ argument
125 #define IMLOGD8(format, a, b, c, d, e, f, g, h) \ argument
150 #define IMLOGW7(format, a, b, c, d, e, f, g) \ argument
153 #define IMLOGW8(format, a, b, c, d, e, f, g, h) \ argument
178 #define IMLOGE7(format, a, b, c, d, e, f, g) \ argument
181 #define IMLOGE8(format, a, b, c, d, e, f, g, h) \ argument
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_reader.cpp186 int r, g, b, c, m, y, k; in formatPixels() local
226 int r, g, b; in formatPixels() local
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_health_status.cc184 for (const auto& g : group_stats_) { in Dump() local
265 [group_id](const auto& g) { return g.group_id_ == group_id; }); in remove_group()
296 [group_id](const auto& g) { return g.group_id_ == group_id; }); in find_group()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java361 Gap g = mGaps.get(i); in startOpeningAnimationIfNeeded() local
398 Gap g = mGaps.get(i); in updateScaleAndGapLimit() local
453 Gap g = mGaps.get(i); in skipAnimation() local
553 Gap g = mGaps.get(offset); // the gap between the two boxes in startCaptureAnimationSlide() local
906 Gap g = mGaps.get(i - 1); in convertBoxToRect() local
911 Gap g = mGaps.get(i); in convertBoxToRect() local
971 Gap g = mGaps.get(index); in initGap() local
978 Gap g = mGaps.get(index); in initGap() local
1140 int g = b.mAbsoluteX - a.mAbsoluteX - wb / 2 - (wa - wa / 2); in moveBox() local
1154 Gap g = mGaps.get(i); in moveBox() local
[all …]
/packages/services/Car/tools/keventreader/server/
Deventprovider.cpp23 EventProviderImpl::EventProviderImpl(EventGatherer&& g) : mGatherer(std::move(g)) {} in EventProviderImpl()
/packages/apps/Camera2/src/com/android/camera/
DPanoUtil.java62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() local
/packages/modules/ExtServices/native/
DImageHashManager.cpp47 uint8_t g = *(src + 1); in generatePHash() local
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoUtil.java62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() local
/packages/modules/NeuralNetworks/common/cpu_operations/
DGroupedConv2D.cpp68 for (int32_t g = 0; g < numGroups; g++) { in groupedConvFloat32() local
140 for (int32_t g = 0; g < numGroups; g++) { in groupedConvQuant8() local
245 for (int32_t g = 0; g < numGroups; g++) { in groupedConvQuant8PerChannel() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java78 final int g = Color.green(value); in getTitleAt() local

1234