Searched refs:rw (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeLlcpServiceSocket.cpp70 static jobject com_NativeLlcpServiceSocket_doAccept(JNIEnv *e, jobject o, jint miu, jint rw, jint linearBufferLength) argument
94 sOptions.rw = rw;
97 sWorkingBuffer.buffer = (uint8_t*)malloc((miu*rw)+miu+linearBufferLength);
98 sWorkingBuffer.length = (miu*rw)+ miu + linearBufferLength;
167 e->SetIntField(clientSocket, f,(jint)rw);
169 TRACE("socket handle 0x%02x: MIU = %d, RW = %d\n",hIncomingSocket, miu, rw);
H A Dcom_android_nfc_NativeNfcManager.cpp2178 static jobject com_android_nfc_NfcManager_doCreateLlcpServiceSocket(JNIEnv *e, jobject o, jint nSap, jstring sn, jint miu, jint rw, jint linearBufferLength) argument
2195 sOptions.rw = rw;
2198 sWorkingBuffer.length = (miu*rw)+ miu + linearBufferLength;
2296 e->SetIntField(serviceSocket, f,(jint)rw);
2297 TRACE("Service socket RW = %d\n",rw);
2307 static jobject com_android_nfc_NfcManager_doCreateLlcpSocket(JNIEnv *e, jobject o, jint nSap, jint miu, jint rw, jint linearBufferLength) argument
2323 sOptions.rw = rw;
2326 sWorkingBuffer.length = (miu*rw)
[all...]
H A Dcom_android_nfc_NativeLlcpSocket.cpp424 return remoteSocketOption.rw;
/packages/apps/Nfc/nci/jni/
H A DNativeLlcpServiceSocket.cpp44 ** rw: Receive window.
50 static jobject nativeLlcpServiceSocket_doAccept(JNIEnv *e, jobject o, jint miu, jint rw, jint /*linearBufferLength*/) argument
63 stat = PeerToPeer::getInstance().accept (serverHandle, connHandle, miu, rw);
97 e->SetIntField (clientSocket, f, (jint)rw);
H A DNativeLlcpSocket.cpp205 jint rw = PeerToPeer::getInstance().getRemoteRecvWindow (jniHandle); local
208 return rw;
H A DNativeNfcManager.cpp1194 ** rw: Receive window size.
1200 static jobject nfcManager_doCreateLlcpServiceSocket (JNIEnv* e, jobject, jint nSap, jstring sn, jint miu, jint rw, jint linearBufferLength) argument
1206 ALOGD ("%s: enter: sap=%i; name=%s; miu=%i; rw=%i; buffLen=%i", __FUNCTION__, nSap, serviceName.c_str(), miu, rw, linearBufferLength);
1250 e->SetIntField(serviceSocket, f,(jint)rw);
1251 ALOGD ("%s: RW = %d", __FUNCTION__, rw);
1345 ** rw: Receive window size.
1351 static jobject nfcManager_doCreateLlcpSocket (JNIEnv* e, jobject, jint nSap, jint miu, jint rw, jint linearBufferLength) argument
1353 ALOGD ("%s: enter; sap=%d; miu=%d; rw=%d; buffer len=%d", __FUNCTION__, nSap, miu, rw, linearBufferLengt
[all...]
H A DPeerToPeer.h188 ** rw: Receive window size.
193 bool createClient (tJNI_HANDLE jniHandle, UINT16 miu, UINT8 rw);
H A DPeerToPeer.cpp511 ** rw: Receive window size.
516 bool PeerToPeer::createClient (tJNI_HANDLE jniHandle, UINT16 miu, UINT8 rw) argument
520 ALOGD ("%s: enter: jni h: %u miu: %u rw: %u", fn, jniHandle, miu, rw);
532 mClients [i]->mClientConn->mRecvWindow = rw;
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeLlcpServiceSocket.java38 private native NativeLlcpSocket doAccept(int miu, int rw, int linearBufferLength); argument
H A DNativeNfcManager.java178 int rw, int linearBufferLength);
181 int rw, int linearBufferLength) throws LlcpException {
182 LlcpServerSocket socket = doCreateLlcpServiceSocket(nSap, sn, miu, rw, linearBufferLength);
201 private native NativeLlcpSocket doCreateLlcpSocket(int sap, int miu, int rw, argument
204 public LlcpSocket createLlcpSocket(int sap, int miu, int rw, argument
206 LlcpSocket socket = doCreateLlcpSocket(sap, miu, rw, linearBufferLength);
177 doCreateLlcpServiceSocket(int nSap, String sn, int miu, int rw, int linearBufferLength) argument
180 createLlcpServerSocket(int nSap, String sn, int miu, int rw, int linearBufferLength) argument
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeLlcpServiceSocket.java38 private native NativeLlcpSocket doAccept(int miu, int rw, int linearBufferLength); argument
H A DNativeNfcManager.java242 int rw, int linearBufferLength);
245 int rw, int linearBufferLength) throws LlcpException {
246 LlcpServerSocket socket = doCreateLlcpServiceSocket(nSap, sn, miu, rw, linearBufferLength);
265 private native NativeLlcpSocket doCreateLlcpSocket(int sap, int miu, int rw, argument
268 public LlcpSocket createLlcpSocket(int sap, int miu, int rw, argument
270 LlcpSocket socket = doCreateLlcpSocket(sap, miu, rw, linearBufferLength);
241 doCreateLlcpServiceSocket(int nSap, String sn, int miu, int rw, int linearBufferLength) argument
244 createLlcpServerSocket(int nSap, String sn, int miu, int rw, int linearBufferLength) argument
/packages/apps/Camera2/src/com/android/camera/ui/
H A DFaceView.java187 int rw, rh;
188 rw = mUncroppedWidth;
191 if (((rh > rw) && ((mDisplayOrientation == 0) || (mDisplayOrientation == 180)))
192 || ((rw > rh) && ((mDisplayOrientation == 90) || (mDisplayOrientation == 270)))) {
193 int temp = rw;
194 rw = rh;
197 CameraUtil.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, rw, rh);
198 int dx = (getWidth() - rw) / 2;
/packages/apps/Gallery2/jni/filters/
H A Dbwfilter.c20 void JNIFUNCF(ImageFilterBwFilter, nativeApplyFilter, jobject bitmap, jint width, jint height, jint rw, jint gw, jint bw) argument
25 float sr = rw;
/packages/apps/Camera/src/com/android/camera/ui/
H A DFaceView.java182 int rw = sn.getUncroppedRenderWidth();
185 if (((rh > rw) && ((mDisplayOrientation == 0) || (mDisplayOrientation == 180)))
186 || ((rw > rh) && ((mDisplayOrientation == 90) || (mDisplayOrientation == 270)))) {
187 int temp = rw;
188 rw = rh;
191 Util.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, rw, rh);
192 int dx = (getWidth() - rw) / 2;
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java222 int rw, int linearBufferLength) throws LlcpException;
224 public LlcpSocket createLlcpSocket(int sap, int miu, int rw, argument
221 createLlcpServerSocket(int nSap, String sn, int miu, int rw, int linearBufferLength) argument
H A DNfcService.java2009 public LlcpSocket createLlcpSocket(int sap, int miu, int rw, int linearBufferLength) argument
2011 return mDeviceHost.createLlcpSocket(sap, miu, rw, linearBufferLength);
2021 public LlcpServerSocket createLlcpServerSocket(int sap, String sn, int miu, int rw, argument
2023 return mDeviceHost.createLlcpServerSocket(sap, sn, miu, rw, linearBufferLength);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageStraighten.java193 double rw = outRect.width();
195 double h1 = rh * rh / (rw * sina + rh * cosa);
196 double h2 = rh * rw / (rw * cosa + rh * sina);
198 double ww = hh * rw / rh;
199 float left = (float) ((rw - ww) * 0.5f);

Completed in 169 milliseconds