Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Gallery2/jni/filters/
Dhsv.c40 int k2=HSCALE << ABITS; in rgb2hsv() local
70 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); in rgb2hsv()
71 if (rh >= k2) rh -= k2; in rgb2hsv()
73 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); in rgb2hsv()
75 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); in rgb2hsv()
89 int k2=HSCALE<<ABITS; in hsv2rgb() local
111 H = (6*ih)/k2; in hsv2rgb()
112 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; in hsv2rgb()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DDataRepository.kt214 k2: K2 in get()
216 return get(k1 to k2) in get()
223 .get(k1: K1, k2: K2, k3: K3): V { in get()
224 return get(Triple(k1, k2, k3)) in get()
231 .get(k1: K1, k2: K2, deviceId: Int): V { in get()
232 return getWithDeviceId(Triple(k1, k2, deviceId), deviceId) in get()
244 k2: K2, in get()
247 Triple(k1, k2, ContextCompat.DEVICE_ID_DEFAULT), in get()
266 .get(k1: K1, k2: K2, k3: K3, deviceId: Int): V { in get()
267 return getWithDeviceId(KotlinUtils.Quadruple(k1, k2, k3, deviceId), deviceId) in get()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DRouteInfoTest.java363 RouteInfo.RouteKey k1, k2; in testRouteKey() local
366 k2 = new RouteInfo(Prefix("2001:db8::/128"), null).getRouteKey(); in testRouteKey()
367 assertEquals(k1, k2); in testRouteKey()
368 assertEquals(k1.hashCode(), k2.hashCode()); in testRouteKey()
373 k2 = new RouteInfo(Prefix("192.0.2.0/24"), Address("192.0.2.1"), "wlan0", in testRouteKey()
375 assertEquals(k1, k2); in testRouteKey()
376 assertEquals(k1.hashCode(), k2.hashCode()); in testRouteKey()
380 k2 = new RouteInfo(Prefix("2001:db8::/64"), Address("fe80::1%2"), "wlan0").getRouteKey(); in testRouteKey()
381 assertEquals(k1, k2); in testRouteKey()
382 assertEquals(k1.hashCode(), k2.hashCode()); in testRouteKey()
[all …]
/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Daes_cmac.cc124 static void cmac_prepare_last_block(const Octet16& k1, const Octet16& k2) { in cmac_prepare_last_block() argument
137 xor_128((Octet16*)&cmac_cb.text[0], k2); in cmac_prepare_last_block()
148 Octet16 k1, k2; in cmac_generate_subkey() local
162 leftshift_onebit(k1.data(), k2.data()); in cmac_generate_subkey()
163 xor_128(&k2, const_Rb); in cmac_generate_subkey()
166 leftshift_onebit(k1.data(), k2.data()); in cmac_generate_subkey()
169 cmac_prepare_last_block(k1, k2); in cmac_generate_subkey()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_metrics.h329 int k2=0; variable
389 wp[k2]=wp[ind2];
390 wp[k2+1]=wp[ind2+1];
391 wp[k2+2]=wp[ind2+2];
392 wp[k2+3]=wp[ind2+3];
394 k2=k2+4;
Ddb_utilities_camera.h174 double k1,k2; in db_FocalFromCamRotFocalHomography() local
177 k2=db_sqr(H[6])+db_sqr(H[7]); in db_FocalFromCamRotFocalHomography()
178 if(k1>=k2) in db_FocalFromCamRotFocalHomography()
184 return(db_SafeSqrt(db_SafeDivision(1.0-db_sqr(H[8]),k2))); in db_FocalFromCamRotFocalHomography()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java155 final float k2 = 3.0f - tm2; in interpolate() local
158 mInterpolatedX = (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2; in interpolate()
159 mInterpolatedY = (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2; in interpolate()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DAccessNetworkSelectionPolicyBuilder.java745 AnspKey(int k1, int k2) { in AnspKey() argument
747 this.mKey2 = k2; in AnspKey()
752 AnspKey(int k1, int k2, int k3) { in AnspKey() argument
754 this.mKey2 = k2; in AnspKey()
759 AnspKey(int k1, int k2, int k3, int k4) { in AnspKey() argument
761 this.mKey2 = k2; in AnspKey()
/packages/services/Car/tests/BugReportApp/libs/
Dgrpc-context-1.19.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1038 .keySet().removeIf(k2 -> !isPackageInstalled(k2, userId)); in renewTagAppPrefList()
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar609 …�[9����k3C��߈�<+������_-5?i�Y鑝�ȣ�8����^�4[X,l�dX��A��O�N}��J$�r{�2ij]�4��G|�~k2�O�
657 …��$����>[}sL��<`:L���@�u�������? �뛕d�� ��$�A��_�C�TT�Ϻ�Jt�yt-���յh�k2�@,"_����MEm��5픱�䴤̡…
668 …�D}�JwLWG���Z���K�#l��=Ol��Xj���Y�̲�Yv����ͦ��Q4�-#N� pB�<�s���w���k2^O-����!|I/@r;�BiQͪ�…
935 …zu��S��Dt�U��eC�>������x,|Gw�]��(6�\��:�t�V7�ol��ְ��[���� �����L~k2_?��A��XA����֨Oe$…
2231 ����JS%�`�c?�4�Y��h�z�+�,���8?��[�mM�Yf�u�X�E �3N�j�"�Cm��F�~V�54k2�3>A<4��h�`�zTZ�mmF�…
2802 …�+����W�O���s,+^�Z9��Z�['�8�!���>����{{�����0��]F�����oY�F����O��!1k2�pB�H���\���"�:��0.*…
2862 ���G�^ ����|�����c�VP8��G�5�>��>k2+X��B������Ǟ~Yj����3ۤ�#!<�� ���d?­wNw{[ �|�y�����cY�$�m…
5109 d����p��hK)�u ~�q�S�9�)6)F����� �O�uk�Be�[��G��\m���k2�G�V��]����Gol��ҽ~_��hcv����d3� {�H…
5485 …i� �#���5�h_0{s��c�}k����#���1�b3���Rzn��h{-WVm*��Ap�ZJz��n��_QY7k2���z�H�c�!��� ��ݷj��…
5696 {���4�N��3��֦E�Ļo,g�C�5�b�$nV��ϽF�@�3��k2.w N��T`xa�>�wr���̙
[all …]